M0rF3uS Posted September 30, 2009 Report Share Posted September 30, 2009 As in the subject, i'm trying to compile 0ad on a linux box, debian squeeze, when i launch make after some minutes it blocks saying message:Cannot create output file "../../../source/test_root.cpp"here the final log when the error comes up==== Building test_gen ====test_Bound.htest_Matrix3d.htest_headerless.htest_allocators.htest_lib.htest_lockfree.htest_fnv_hash.htest_secure_crt.htest_byte_order.htest_adts.htest_path_util.htest_bits.htest_regex.htest_base32.htest_cache_adt.htest_rand.htest_tex.htest_topology.htest_printf.htest_sysdep.htest_trace.htest_CmdLineArgs.hstub_impl_hack.htest_CLogger.htest_test.htest_CStr.htest_Parser.htest_XMLWriter.htest_XeroXMB.htest_Xeromyces.htest_Color.htest_MeshManager.htest_AtlasObjectXML.hCannot create output file "../../../source/test_root.cpp"make[1]: *** [all] Error 13make: *** [test_gen] Error 2 Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted September 30, 2009 Report Share Posted September 30, 2009 Hmm, not quite sure what causes that.Could you try changing build/bin/cxxtestgen.pl line 302 from open OUTPUT_FILE,">$output" or die("Cannot create output file \"$output\"\n"); to open OUTPUT_FILE,">$output" or die("Cannot create output file \"$output\": $!\n");and then run it again and see what the error message is? Quote Link to comment Share on other sites More sharing options...
M0rF3uS Posted September 30, 2009 Author Report Share Posted September 30, 2009 (edited) now the error is:Cannot create output file "../../../source/test_root.cpp": Permission deniedi think that's better if you send the error message into the compilation process, like now, it's more debuggable now i changed the permissions to that file i'll update you for further details later.thank you a lot. Edited September 30, 2009 by M0rF3uS Quote Link to comment Share on other sites More sharing options...
M0rF3uS Posted September 30, 2009 Author Report Share Posted September 30, 2009 Ok, now i'm able to compile and to launch the game, i cannot test the gameplay because in this moment i'm at work later i'll do some tests. When i launch pyrogenesys_dbg i receive this backtrack, the game starts but i don't know if this can give some troubles.:~/0ad/trunk/binaries/system$ ./pyrogenesis_dbg TIMER| InitVfs: 346.578 msTIMER| InitScripting: 157.876 msTIMER| CONFIG_Init: 58.6727 msTIMER| write_sys_info: 80.7212 msogl_tex.cpp(699): Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.udbg_bfd_init: loading symbols from /home/morfeus/0ad/trunk/binaries/system/pyrogenesis_dbg.Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.Location: ogl_tex.cpp:699 (detect_gl_upload_caps)Call stack:(0x085bc26a) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)(0x0856c624) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)(0x0856cb1f) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)(0x085a0b38) ogl_tex.cpp:700 detect_gl_upload_caps(0x085a155f) ogl_tex.cpp:824 ogl_tex_upload(long long, unsigned int, int, int)(0x0859a3cb) unifont.cpp:167 UniFont_reload(0x08595644) h_mgr.cpp:506 call_init_and_reload(0x08596cb8) h_mgr.cpp:545 alloc_new_handle(0x08596e3d) h_mgr.cpp:580 h_alloc(H_VTbl*, boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int, ...)(0x08599647) unifont.cpp:210 unifont_load(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int)(0x08395b5a) Font.cpp:46 CFont(0x082b8cf4) GameSetup.cpp:593 InitPs(0x082b988f) GameSetup.cpp:991 Init(CmdLineArgs const&, int)(0x081ede39) main.cpp:395 RunGameOrAtlas(0x081edf04) main.cpp:412 main(0xb76447a5) /lib/i686/cmov/libc.so.6:0 __libc_start_mainerrno = 0 (?)OS error = ?(C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?CTIMER| ps_console: 13.2587 sTIMER| ps_lang_hotkeys: 73.8098 msTIMER| ps_gui_init: 75.568 usTIMER| ps_gui_setup_xml: 41.7671 msTIMER| ps_gui_styles_xml: 19.6715 msTIMER| ps_gui_sprite1_xml: 214.884 msTIMER| ps_gui_1: 293.416 msTIMER| ps_gui_2: 370.196 msTIMER| ps_gui_3: 9.6682 msTIMER| ps_gui_4: 121.402 msTIMER| ps_gui_6: 4.77149 msTIMER| ps_gui_6_1: 11.6979 msTIMER| ps_gui_6_2: 7.04426 msTIMER| ps_gui_7: 4.7821 msTIMER| ps_gui_9: 13.5869 msTIMER| InitRenderer: 17.5704 msTIMER| SimulationInit: 74.3984 msTIMER| Init_miscgamesection: 660.167 msTIMER| Init_guiload: 313.184 msTIMER| shutdown Scheduler: 9.708 usTIMER| shutdown mouse stuff: 82.343 usTIMER| shutdown Pathfinder: 303.53 usTIMER| shutdown game scripting stuff: 2.28297 msTIMER| shutdown actor stuff: 6.216 usTIMER| shutdown TexMan: 11.663 usTIMER| shutdown Renderer: 112.304 usTIMER| shutdown ScriptingHost: 15.6856 msTIMER| shutdown ConfigDB: 3.911 usTIMER| shutdown CSocketBase: 317.569 usTIMER| shutdown CNetLogManager: 8.102 usTIMER| shutdown I18N: 10.825 usTIMER| resource modules: 27.5267 msTIMER TOTALS (5 clients)----------------------------------------------------- tc_2: 0 c (0x) tc_1: 0 c (0x) tc_png_decode: 0 c (0x) tc_transform: 1218 Mc (49x) tc_plain_transform: 2828.59 kc (12x)-----------------------------------------------------TIMER| shutdown misc: 2.75517 ms Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted September 30, 2009 Report Share Posted September 30, 2009 Glad it's working . I've updated cxxtestgen.pl in SVN to include the extra error detail.You get that warning because you don't have S3TC (texture compression) support enabled - the easiest solution is to run 'driconf' and turn on the "Enable S3TC ..." option, which should fix it. (We do need to make this warning message a bit friendlier ) Quote Link to comment Share on other sites More sharing options...
M0rF3uS Posted September 30, 2009 Author Report Share Posted September 30, 2009 i've enabled that feature but i'm still getting that error, probably because the laptop i'm using is made for working not for playing lol this evening i'll compile 0ad on my private ubuntu box that's more performance... 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.