Gallaecio Posted August 19, 2012 Report Share Posted August 19, 2012 This is what I get now when I run the game:[gallaecio@afonsox ~]$ 0adPaths.cpp(169): Function call failed: return value was -110301 (No such file or directory)Function call failed: return value was -110301 (No such file or directory)Location: Paths.cpp:169 (Root)Call stack:(0x79a48a) pyrogenesis() [0x79a48a](0x7415a1) pyrogenesis() [0x7415a1](0x74179d) pyrogenesis() [0x74179d](0x74215b) pyrogenesis() [0x74215b](0x5624a3) pyrogenesis() [0x5624a3](0x563cf1) pyrogenesis() [0x563cf1](0x56bbba) pyrogenesis() [0x56bbba](0x4237f7) pyrogenesis() [0x4237f7](0x41a527) pyrogenesis() [0x41a527](0x7f0e0f5e0455) /lib/libc.so.6(__libc_start_main+0xf5) [0x7f0e0f5e0455](0x422d85) pyrogenesis() [0x422d85]errno = 0 (No such file or directory)OS error = ?ERROR: Cannot find executable (expected at '')Paths.cpp(176): Function call failed: return value was -110301 (No such file or directory)Function call failed: return value was -110301 (No such file or directory)Location: Paths.cpp:176 (Root)Call stack:(0x79a48a) pyrogenesis() [0x79a48a](0x7415a1) pyrogenesis() [0x7415a1](0x74179d) pyrogenesis() [0x74179d](0x74215b) pyrogenesis() [0x74215b](0x56242f) pyrogenesis() [0x56242f](0x563cf1) pyrogenesis() [0x563cf1](0x56bbba) pyrogenesis() [0x56bbba](0x4237f7) pyrogenesis() [0x4237f7](0x41a527) pyrogenesis() [0x41a527](0x7f0e0f5e0455) /lib/libc.so.6(__libc_start_main+0xf5) [0x7f0e0f5e0455](0x422d85) pyrogenesis() [0x422d85]errno = 0 (No such file or directory)OS error = ?Cache: 500 (total: 5964) MiBTIMER| InitVfs: 4.82767 sTIMER| InitScripting: 5.94966 msTIMER| CONFIG_Init: 92.0816 msTIMER| RunHardwareDetection: 22.9395 msTIMER| write_sys_info: 18.2523 msTIMER| InitRenderer: 21.4522 msTIMER| ps_console: 1.25317 msTIMER| ps_lang_hotkeys: 726.613 usTIMER| common/setup.xml: 3.18571 msTIMER| common/styles.xml: 82.731 usTIMER| common/sprite1.xml: 2.69691 msTIMER| common/init.xml: 1.77658 msTIMER| common/common_sprites.xml: 1.68826 msTIMER| common/common_styles.xml: 230.677 usTIMER| pregame/sprites.xml: 392.448 usTIMER| pregame/styles.xml: 42.545 usTIMER| pregame/mainmenu.xml: 6.11 msTIMER| common/global.xml: 344.567 usSND| alc_init: success, using OpenAL SoftUsing Xcursor to sys_cursor_create 32 x 32 cursorTIMER| common/setup.xml: 567.952 usTIMER| common/styles.xml: 26.107 usTIMER| common/sprite1.xml: 1.46382 msTIMER| common/common_sprites.xml: 1.69895 msTIMER| common/common_styles.xml: 205.99 usTIMER| msgbox/msgbox.xml: 620.737 usTIMER| shutdown TexMan: 5.253 usTIMER| shutdown Renderer: 362.493 usTIMER| shutdown SDL: 54.2438 msTIMER| shutdown UserReporter: 252.068 usTIMER| shutdown ScriptingHost: 2.4632 msTIMER| shutdown ConfigDB: 0.178 usSDL_GetWMInfo is not implemented on this platformTIMER| resource modules: 11.1128 msTIMER TOTALS (9 clients)----------------------------------------------------- tc_pool_alloc: 1489.45 kc (122x) tc_dds_transform: 48.459 kc (10x) tc_png_decode: 28.8005 Mc (8x) tc_transform: 87.708 kc (4x) tc_plain_transform: 25.356 kc (4x) tc_ShaderValidation: 1326.77 kc (1x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) xml_validation: 1170.63 kc (1x)-----------------------------------------------------TIMER| shutdown misc: 259.587 us[gallaecio@afonsox ~]$ I get two error windows, but clicking continue, the game starts and apparently runs just fine.Any idea what it might be? I recently changed the way the game gets installed to the Arch Linux approach, the result being this:To build the game:./update-workspaces.sh \ --disable-atlas \ --with-system-enet \ --with-system-nvtt \ --bindir=/usr/bin \ --libdir=/usr/lib \ --datadir=/usr/share/0ad/datacd gccmake config=releaseTo install, I just move pyrogenesis to /usr/bin and the libraries (.so) to /usr/lib. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted August 19, 2012 Report Share Posted August 19, 2012 It may be caused by using a script to launch the game instead of running it directly, though that should work and seems to work for other distros. Does the error not occur if you run /usr/bin/pyrogenesis directly? Any chance you could use gdb and inspect some of the variables in e.g. Paths::Root() and sys_ExecutablePathname() (especially path)? It's harder to know what might be happening without any more data. Quote Link to comment Share on other sites More sharing options...
Gallaecio Posted April 7, 2013 Author Report Share Posted April 7, 2013 First: I’m sorry for not answering sooner.Second: You are right in that it has to do with the way I call it. Calling “/usr/bin/pyrogenesis” works like a charm, while calling “pyrogenesis” (be it from a terminal or a script) throws those error dialogs.So, thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.