hausundboot Posted January 2, 2012 Report Share Posted January 2, 2012 (edited) I do this:svn co http://svn.wildfireg...ublic/ps/trunk/ 0adcd 0ad/build/workspaces./update-workspaces.shcd gccmake config=releaseResult:==== Building mocks_real (release) ====Creating obj/mocks_real_Releasemocks_real.cppLinking mocks_real==== Building network (release) ====Creating obj/network_Releaseprecompiled.hNetSession.cppNetHost.cppNetMessageSim.cppNetFileTransfer.cppNetTurnManager.cppNetServer.cppNetMessage.cppfsm.cpp NetStats.cpp NetClient.cpp precompiled.cpp Linking network ==== Building simulation2 (release) ==== Creating obj/simulation2_Release precompiled.h Simulation2.cppIn file included from ../../../source/lib/file/io/io.h:39:0, from ../../../source/ps/Filesystem.h:22, from ../../../source/ps/FileIo.h:35, from ../../../source/graphics/MapReader.h:25, from ../../../source/simulation2/Simulation2.cpp:30: ../../../source/lib/allocators/unique_range.h:46:9: Fehler: »NOTHROW_DECL ARE« bezeichnet keinen Typ ../../../source/lib/allocators/unique_range.h: In Elementfunktion »void U niqueRange::Delete()«: ../../../source/lib/allocators/unique_range.h:166:54: Fehler: »CallUnique RangeDeleter« wurde in diesem Gültigkeitsbereich nicht definiert make[1]: *** [obj/simulation2_Release/Simulation2.o] Fehler 1 make: *** [simulation2] Fehler 2I cleaned up and do it again, the same result.Iam on 64bit Mashine using Gentoo.System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.0.3 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26sys-apps/baselayout: 2.0.3sys-apps/openrc: 0.9.4sys-apps/sandbox: 2.5sys-devel/autoconf: 2.13, 2.68sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1sys-devel/binutils: 2.21.1-r1sys-devel/gcc: 4.5.3-r1sys-devel/gcc-config: 1.4.1-r1sys-devel/libtool: 2.4-r1sys-devel/make: 3.82-r1sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)sys-libs/glibc: 2.13-r4Repositories: gentooACCEPT_KEYWORDS="amd64"ACCEPT_LICENSE="*"CBUILD="x86_64-pc-linux-gnu"CFLAGS="-O2 -pipe"CHOST="x86_64-pc-linux-gnu"$svn infoPfad: .URL: http://svn.wildfireg...public/ps/trunkBasis des Projektarchivs: http://svn.wildfiregames.com/publicUUID des Projektarchivs: 3db68df2-c116-0410-a063-a993310a9797Revision: 10850Knotentyp: VerzeichnisPlan: normalLetzter Autor: michaelLetzte geänderte Rev: 10850Letztes Änderungsdatum: 2012-01-02 02:22:43 +0100 (Mo, 02. Jan 2012)First i compiled it with -j5 but at the end i didnt find the test and pyrogenesis executable, so next time didnt used the -j5 and see clearly the error.Thank you. Edited January 2, 2012 by hausundboot Quote Link to comment Share on other sites More sharing options...
k776 Posted January 2, 2012 Report Share Posted January 2, 2012 Keep running 'svn up' until is says "Already at revision XXXXX" (where XXXXX is the revision number).When you clone the SVN repo for the first time, it might errors out. When I initially clones the repo, it took 4 hours and 7 retries to get it all. Quote Link to comment Share on other sites More sharing options...
hausundboot Posted January 2, 2012 Author Report Share Posted January 2, 2012 i think i checked all out:$ svn co http://svn.wildfireg...ublic/ps/trunk/ 0adAusgecheckt, Revision 10850.$ cd 0ad$ svn upRevision 10850.Wath about this:http://www.wildfireg...showtopic=15232 Quote Link to comment Share on other sites More sharing options...
hausundboot Posted January 2, 2012 Author Report Share Posted January 2, 2012 I changed in "lib/code_annotation.h"#if GCC_VERSION >= 303 to #if GCC_VERSION <= 303This makes non-true then the defines would not set from the Precompiler.The Result is its compiling. But i think its not good to do that. Please Fix this Problem.The Game starts and is playable, no crash. In Map Editor i have some little slow down speed in some case.One time i must send a SIGKILL to the editor while hanging. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 2, 2012 Report Share Posted January 2, 2012 Hmm, so GCC_VERSION has an incorrect value? That seems weird... Could you add a line likeprintf("### major=%d minor=%d\n", __GNUC__ + 0, __GNUC_MINOR__ + 0);to source/main.cpp line 514 (just before the "EarlyInit();" line), then compile and run the game and see what message it prints out? Quote Link to comment Share on other sites More sharing options...
hausundboot Posted January 2, 2012 Author Report Share Posted January 2, 2012 ...int main(int argc, char* argv[]){ printf("### major=%d minor=%d\n", __GNUC__ + 0, __GNUC_MINOR__ + 0); EarlyInit(); // must come at beginning of main RunGameOrAtlas(argc, const_cast<const char**>(argv)); // Shut down profiler initialised by EarlyInit g_Profiler2.Shutdown(); return EXIT_SUCCESS;}....$ make config=release==== Building mocks_real (release) ======== Building network (release) ======== Building simulation2 (release) ======== Building scriptinterface (release) ======== Building engine (release) ======== Building graphics (release) ======== Building atlas (release) ======== Building gui (release) ======== Building lowlevel (release) ======== Building mongoose (release) ======== Building pyrogenesis (release) ====main.cppLinking pyrogenesis==== Building mocks_test (release) ======== Building AtlasObject (release) ======== Building AtlasScript (release) ======== Building AtlasUI (release) ======== Building ActorEditor (release) ======== Building Collada (release) ======== Building test (release) ====$ ../../../binaries/system/test Running 255 tests...............................................................................................................................................................................................................................................................OK!$ ../../../binaries/system/pyrogenesis### major=4 minor=5Cache: 500 (total: 3939) MiBTIMER| InitVfs: 27.0326 msTIMER| InitScripting: 1.28702 msTIMER| CONFIG_Init: 26.5266 msTIMER| RunHardwareDetection: 41.8641 msTIMER| write_sys_info: 16.4792 msTIMER| InitRenderer: 11.5044 msTIMER| ps_console: 22.1736 msTIMER| ps_lang_hotkeys: 1.12226 msTIMER| common/setup.xml: 8.9549 msTIMER| common/styles.xml: 238.24 usTIMER| common/sprite1.xml: 10.3608 msTIMER| common/init.xml: 23.2629 msTIMER| common/common_sprites.xml: 2.09208 msTIMER| common/common_styles.xml: 440.703 usTIMER| pregame/sprites.xml: 927.312 usTIMER| pregame/styles.xml: 192.917 usTIMER| pregame/mainmenu.xml: 15.1219 msTIMER| common/global.xml: 571.183 usSND| alc_init: success, using ALSA DefaultTIMER| common/setup.xml: 638.184 usTIMER| common/styles.xml: 41.942 usTIMER| common/sprite1.xml: 1.43243 msTIMER| common/common_sprites.xml: 1.65162 msTIMER| common/common_styles.xml: 211.593 usTIMER| msgbox/msgbox.xml: 8.59055 msTIMER| shutdown actor stuff: 1.448 usTIMER| shutdown TexMan: 1.328 usTIMER| shutdown Renderer: 2.10235 msTIMER| shutdown SDL: 39.8054 msTIMER| shutdown UserReporter: 288.363 usTIMER| shutdown ScriptingHost: 2.09395 msTIMER| shutdown ConfigDB: 0.399 usTIMER| resource modules: 26.6373 msTIMER TOTALS (9 clients)----------------------------------------------------- xml_validation: 2853.42 kc (12x) tc_ShaderValidation: 5829.96 kc (12x) tc_linkProgram: 0 c (0x) tc_compileShader: 0 c (0x) tc_transform: 96.981 kc (3x) tc_plain_transform: 30.167 kc (3x) tc_pool_alloc: 1637.45 kc (249x) tc_dds_transform: 52.645 kc (9x) tc_png_decode: 25.1594 Mc (8x)-----------------------------------------------------TIMER| shutdown misc: 160.584 usThank you. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 2, 2012 Report Share Posted January 2, 2012 Hmm, so it should be computing GCC_VERSION normally and defining NOTHROW_DECLARE normally. (It works fine for me with GCC 4.5 on Gentoo). I have no idea what's going on Quote Link to comment Share on other sites More sharing options...
hausundboot Posted January 2, 2012 Author Report Share Posted January 2, 2012 Hmm, so it should be computing GCC_VERSION normally and defining NOTHROW_DECLARE normally. (It works fine for me with GCC 4.5 on Gentoo). I have no idea what's going on My gcc is sys-devel/gcc-4.5.3-r1And yours? 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.