skela
Community Members-
Posts
22 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
skela's Achievements
Discens (2/14)
0
Reputation
-
but i thought the system folder was inside the binaries folder. anyway, its working ok for me
-
ok ill try and get on irc later ;D #0ad-dev
-
sorry, forget Xcode first, just do something like: ./clean-workspaces.sh ./update-workspaces-new.sh -j3 --without-pch cd gcc make CONFIG=Debug -j3 in particular, look at what comes out from make CONFIG=Debug -j3
-
but surely, if you can't find the binary, that means its not being built. i had pyrogensis compiling and building ok, but it wouldn't run until i made sure all the projects it depended on were building ok too. best test was to build via command line, once i got no errors in there, it all started working in Xcode.
-
to me it sounds like its not building it, mainly because one or more of the projects pyrogenesis require is not being built, perhaps due to some libraries missing. When you build it, make sure there are no errors in any of the other projects. Can you see anything wrong in engine , etc?
-
what happens when u hit build and run ?
-
I can't get it running in the newest commit unless i run it through Xcode build and run in the pyrogenesis.xcodeproj seems to work ok. oh, and when i run the binary in the system folder, it does this: ./system/pyrogenesis dyld: Library not loaded: libnvcore.dylib Referenced from: /Users/skela/Desktop/0ad/git/0ad/binaries/./system/pyrogenesis Reason: image not found
-
open up the pyrogenesis Xcode project, then hit build and run, it started up alright with no issues, in both debug and release mode. i was using xcode4 though, but not sure if that makes a difference. if its not managing to get to pyrogenesis, that means its bailing before that, did u run: sh update-workspaces-new.sh --without-pch
-
ok that did it, now i can run it from Xcode, but not seeing it freeze at all anymore, i can actually play the game now! thx btw, ;D
-
still haven't managed to get it running or building from Xcode :/ sorry for example if i try to build and run pyrogenesis.xcodeproj, it gives me 8 errors (about pch for network, simulation2, scriptinterface, engine,graphics,atlas,gui and lowlevel), the errors all complain about similar things: i686-apple-darwin10-gcc-4.2.1: /Users/skela/Desktop/0ad/git/0ad/build/workspaces/xcode3/../../source/pch/network/precompiled.h: No such file or directory i686-apple-darwin10-gcc-4.2.1: warning: '-x c++-header' after last input file has no effect i686-apple-darwin10-gcc-4.2.1: no input files Command /Developer-old/usr/bin/gcc-4.2 failed with exit code 1
-
Brilliant, thx! you mean the 10 second app crash bug? and that it won't happen in alpha5?
-
skelmac:workspaces skela$ uname -v Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 btw i tried make clean again, then re-ran it, now it compiled ok, weird thing is, when i ran the clean script it didn't work? :/ I'm confused. so anyways, it seems to be compiling again ok. But it still freezes 10 seconds or so into any game, is there any way for me to run this in Xcode with the debugger and everything? have u guys managed to do that on yer mac test box?
-
Thanks Ykkrosh, I tried cleaning it by running sh clean-workspaces.sh then i got this error after rebuilding again: Linking pyrogenesis ld: warning: directory not found for option '-L../../../libraries/cxxtest/lib' ld: warning: directory not found for option '-L../../../libraries/valgrind/lib' ld: in ../../../binaries/system/libnetwork.a, malformed archive TOC entry for CBinarySerializer<CLengthBinarySerializerImpl>::PutNumber(char const*, unsigned char), offset 1868707150 is beyond end of file 3635216 for architecture x86_64 collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/pyrogenesis.app/Contents/MacOS/pyrogenesis] Error 1 make: *** [pyrogenesis] Error 2 make: *** Waiting for unfinished jobs....
-
i did give it a go, not building anymore in most recent commit. git-svn-id: http://svn.wildfireg.../ps/trunk@10020 3db68df2-c116-0410-a063-a993310a9797 ==== Building scriptinterface (release) ==== AutoRooters.cpp NetClient.cpp cc1plus: error: obj/scriptinterface_Release/precompiled.h: No such file or directory cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: error: use -Winvalid-pch for more information cc1plus: error: obj/network_Release/precompiled.h: No such file or directory cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: error: use -Winvalid-pch for more information Simulation2.cpp cc1plus: error: obj/simulation2_Release/precompiled.h: No such file or directory cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: error: use -Winvalid-pch for more information In file included from ../../../source/lib/precompiled.h:73, from ../../../source/pch/scriptinterface/precompiled.h:19, from ../../../source/scriptinterface/AutoRooters.cpp:18: ../../../source/lib/secure_crt.h:55: warning: redundant redeclaration of 'size_t strnlen(const char*, size_t)' in same scope /usr/include/string.h:143: warning: previous declaration of 'size_t strnlen(const char*, size_t)' ../../../source/lib/secure_crt.h:56: warning: redundant redeclaration of 'size_t wcsnlen(const wchar_t*, size_t)' in same scope /usr/include/wchar.h:227: warning: previous declaration of 'size_t wcsnlen(const wchar_t*, size_t)' In file included from ../../../source/lib/precompiled.h:89, from ../../../source/pch/scriptinterface/precompiled.h:19, from ../../../source/scriptinterface/AutoRooters.cpp:18: ../../../source/lib/posix/posix.h:111: warning: redundant redeclaration of 'wchar_t* wcsdup(const wchar_t*)' in same scope /usr/include/wchar.h:224: warning: previous declaration of 'wchar_t* wcsdup(const wchar_t*)' ../../../source/lib/posix/posix.h:115: warning: redundant redeclaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' in same scope /usr/include/wchar.h:225: warning: previous declaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' In file included from ../../../source/lib/precompiled.h:73, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/Simulation2.cpp:18: ../../../source/lib/secure_crt.h:55: warning: redundant redeclaration of 'size_t strnlen(const char*, size_t)' in same scope /usr/include/string.h:143: warning: previous declaration of 'size_t strnlen(const char*, size_t)' ../../../source/lib/secure_crt.h:56: warning: redundant redeclaration of 'size_t wcsnlen(const wchar_t*, size_t)' in same scope /usr/include/wchar.h:227: warning: previous declaration of 'size_t wcsnlen(const wchar_t*, size_t)' In file included from ../../../source/lib/precompiled.h:73, from ../../../source/pch/network/precompiled.h:19, from ../../../source/network/NetClient.cpp:18: ../../../source/lib/secure_crt.h:55: warning: redundant redeclaration of 'size_t strnlen(const char*, size_t)' in same scope /usr/include/string.h:143: warning: previous declaration of 'size_t strnlen(const char*, size_t)' ../../../source/lib/secure_crt.h:56: warning: redundant redeclaration of 'size_t wcsnlen(const wchar_t*, size_t)' in same scope /usr/include/wchar.h:227: warning: previous declaration of 'size_t wcsnlen(const wchar_t*, size_t)' In file included from ../../../source/lib/precompiled.h:89, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/Simulation2.cpp:18: ../../../source/lib/posix/posix.h:111: warning: redundant redeclaration of 'wchar_t* wcsdup(const wchar_t*)' in same scope /usr/include/wchar.h:224: warning: previous declaration of 'wchar_t* wcsdup(const wchar_t*)' ../../../source/lib/posix/posix.h:115: warning: redundant redeclaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' in same scope /usr/include/wchar.h:225: warning: previous declaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' make[1]: *** [obj/scriptinterface_Release/AutoRooters.o] Error 1 make: *** [scriptinterface] Error 2 make: *** Waiting for unfinished jobs.... CCmpAIManager.cpp cc1plus: error: obj/simulation2_Release/precompiled.h: No such file or directory cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: error: use -Winvalid-pch for more information In file included from ../../../source/lib/precompiled.h:89, from ../../../source/pch/network/precompiled.h:19, from ../../../source/network/NetClient.cpp:18: ../../../source/lib/posix/posix.h:111: warning: redundant redeclaration of 'wchar_t* wcsdup(const wchar_t*)' in same scope /usr/include/wchar.h:224: warning: previous declaration of 'wchar_t* wcsdup(const wchar_t*)' ../../../source/lib/posix/posix.h:115: warning: redundant redeclaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' in same scope /usr/include/wchar.h:225: warning: previous declaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' In file included from ../../../source/lib/precompiled.h:73, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/components/CCmpAIManager.cpp:18: ../../../source/lib/secure_crt.h:55: warning: redundant redeclaration of 'size_t strnlen(const char*, size_t)' in same scope /usr/include/string.h:143: warning: previous declaration of 'size_t strnlen(const char*, size_t)' ../../../source/lib/secure_crt.h:56: warning: redundant redeclaration of 'size_t wcsnlen(const wchar_t*, size_t)' in same scope /usr/include/wchar.h:227: warning: previous declaration of 'size_t wcsnlen(const wchar_t*, size_t)' In file included from ../../../source/lib/precompiled.h:89, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/components/CCmpAIManager.cpp:18: ../../../source/lib/posix/posix.h:111: warning: redundant redeclaration of 'wchar_t* wcsdup(const wchar_t*)' in same scope /usr/include/wchar.h:224: warning: previous declaration of 'wchar_t* wcsdup(const wchar_t*)' ../../../source/lib/posix/posix.h:115: warning: redundant redeclaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' in same scope /usr/include/wchar.h:225: warning: previous declaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' make[1]: *** [obj/network_Release/NetClient.o] Error 1 make: *** [network] Error 2 CCmpCommandQueue.cpp make[1]: *** [obj/simulation2_Release/Simulation2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1plus: error: obj/simulation2_Release/precompiled.h: No such file or directory cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: error: use -Winvalid-pch for more information In file included from ../../../source/lib/precompiled.h:73, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/components/CCmpCommandQueue.cpp:18: ../../../source/lib/secure_crt.h:55: warning: redundant redeclaration of 'size_t strnlen(const char*, size_t)' in same scope /usr/include/string.h:143: warning: previous declaration of 'size_t strnlen(const char*, size_t)' ../../../source/lib/secure_crt.h:56: warning: redundant redeclaration of 'size_t wcsnlen(const wchar_t*, size_t)' in same scope /usr/include/wchar.h:227: warning: previous declaration of 'size_t wcsnlen(const wchar_t*, size_t)' In file included from ../../../source/lib/precompiled.h:89, from ../../../source/pch/simulation2/precompiled.h:19, from ../../../source/simulation2/components/CCmpCommandQueue.cpp:18: ../../../source/lib/posix/posix.h:111: warning: redundant redeclaration of 'wchar_t* wcsdup(const wchar_t*)' in same scope /usr/include/wchar.h:224: warning: previous declaration of 'wchar_t* wcsdup(const wchar_t*)' ../../../source/lib/posix/posix.h:115: warning: redundant redeclaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' in same scope /usr/include/wchar.h:225: warning: previous declaration of 'int wcscasecmp(const wchar_t*, const wchar_t*)' make[1]: *** [obj/simulation2_Release/CCmpCommandQueue.o] Error 1 make[1]: *** [obj/simulation2_Release/CCmpAIManager.o] Error 1 make: *** [simulation2] Error 2
-
brilliant, ill give it a go asap