Jump to content

arn34

Community Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by arn34

  1. I forgot to mention it (you already asked for that file in last post), but yes it exists : ordinateur-de-arnaud:~/Desktop/0adtest/binaries/system arnaud$ ls ActorEditor.exe libatlas_dbg.a ActorEditor_dbg.app libengine_dbg.a ActorViewer.bat libgraphics_dbg.a Atlas.bat libgui_dbg.a AtlasUI.dll libi18n_dbg.a AtlasUI.dll.2.config liblowlevel_dbg.a Collada.dll libmocks_real_dbg.a ColourTester.exe libmocks_test_dbg.a FCollada.dll libnetwork_dbg.a FColladaD.dll libnspr4.dll FontBuilder.exe libpng13.dll Microsoft.VC80.CRT.manifest libpng13d.dll Microsoft.VC80.DebugCRT.manifest libwxJS_dbg.a Microsoft.VC90.CRT.manifest libxml2.dll Microsoft.VC90.OpenMP.manifest msvcm80.dll OpenAL32.dll msvcp71.dll Quickstart.bat msvcp80.dll RebuildRandomMaps.bat msvcp80d.dll SDL.dll msvcp90.dll aken.pdb msvcr71.dll aken.sys msvcr71d.dll aken64.pdb msvcr80.dll aken64.sys msvcr80d.dll aken64d.pdb msvcr90.dll aken64d.sys msvcrt.dll akend.pdb msvcrtd.dll akend.sys ogg.dll ape ogg_d.dll avcodec-51.dll perl58.dll avformat-51.dll pyrogenesis.exe avutil-49.dll pyrogenesis.pdb cryptopp.dll pyrogenesis_dbg cryptoppd.dll pyrogenesis_dbg.app dbghelp.dll readme.txt freetypea.dll rmgen.exe freetypeb.dll rmgen.pdb icons.dll swscale-0.dll iconv.dll textureconv jpeg-6b.dll vcomp90.dll jpeg-6bd.dll vorbis.dll js32.dll vorbis_d.dll js32d.dll vorbisfile.dll js32d.pdb vorbisfile_d.dll libAtlasObject_dbg.a wrap_oal.dll libAtlasScript_dbg.a zlib1.dll libAtlasUI_dbg.so zlib1d.dll (see just above) Here they are : ordinateur-de-arnaud:~/Desktop/0adtest/binaries/system arnaud$ pkg-config libxml-2.0 --libs -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm ordinateur-de-arnaud:~/Desktop/0adtest/binaries/system arnaud$ pkg-config nspr --libs -L/opt/local/lib/nspr -L/opt/local/lib -lplds4 -lplc4 -lnspr4 ordinateur-de-arnaud:~/Desktop/0adtest/binaries/system arnaud$ wx-config --unicode=yes --libs std,gl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macu_gl-2.8 -lwx_macu-2.8 Any idea ?
  2. Here is the output of a make (without -j3), after an ./update-workspace.sh --verbose, on the latest svn revision (7104) : g++ -MD -I "../../../source/tools/atlas/AtlasFrontends/.." -g -Wall -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fpch-preprocess -msse -ffast-math -fvisibility=hidden -MF obj/ActorEditor_Debug/ActorEditor.d -o obj/ActorEditor_Debug/ActorEditor.o -c ../../../source/tools/atlas/AtlasFrontends/ActorEditor.cpp mkdir -p ../../../binaries/system mkdir -p ../../../binaries/system mkdir -p ../../../binaries/system if [ ! -d ../../../binaries/system/ActorEditor_dbg.app/Contents/MacOS ]; then mkdir -p ../../../binaries/system/ActorEditor_dbg.app/Contents/MacOS; fi g++ -o ../../../binaries/system/ActorEditor_dbg -L../../../binaries/system -L../../../binaries/system -L"/opt/local/lib" obj/ActorEditor_Debug/ActorEditor.o ../../../binaries/system/libAtlasObject_dbg.a ../../../binaries/system/libAtlasUI_dbg.so -lAtlasUI_dbg /usr/bin/ld: can't locate file for: -lAtlasUI_dbg collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/ActorEditor_dbg.app/Contents/MacOS/ActorEditor_dbg] Error 1 make: *** [ActorEditor] Error 2 The whole outputs are available here : - ./update-workspace.sh -- verbose : http://pastebin.com/m160b3e8f - make : http://pastebin.com/m4fb1cbd4 I thought the parallel builds could lead to the error message, but now that I tried a simple make, I don't understand why it fails ...
  3. I'll try this on monday (have to leave for the week-end now) : I'll tell you about the result.
  4. Did you see the whole output, Jan ? What could point to these errors otherwise ? I can't see anything else for my part ...
  5. Well, Philip, I can't see any other errors in this compilation (the complete gcc output is available here : http://pastebin.com/m465e7f34). If I launch make AtlasUI (without make clean), I get : ==== Building AtlasObject ==== make[1]: `../../../binaries/system/libAtlasObject_dbg.a' is up to date. ==== Building AtlasScript ==== make[1]: `../../../binaries/system/libAtlasScript_dbg.a' is up to date. ==== Building wxJS ==== make[1]: `../../../binaries/system/libwxJS_dbg.a' is up to date. ==== Building AtlasUI ==== make[1]: `../../../binaries/system/libAtlasUI_dbg.so' is up to date. All I can see in my compilation that could tell us something are warnings like that : ld: warning -L: directory name (../../../libraries/dl/lib) does not exist ... ld: warning -L: directory name (../../../libraries/comsuppw/lib) does not exist ld: warning -L: directory name (../../../libraries/x11/lib) does not exist How are those directories created (cause they're not present in sources) ? edit : creating these directories from scratch suppresses the warnings, but I get the same error at last. ==== Building ActorEditor ==== ==== Building ColourTester ==== ActorEditor.cpp ColourTester.cpp Linking ColourTester Linking ActorEditor /usr/bin/ld: can't locate file for: -lAtlasUI_dbg /collect2: usr/bin/ld: can'tld returned 1 exit status locate file for: -lAtlasUI_dbg collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/ActorEditor_dbg.app/Contents/MacOS/ActorEditor_dbg] Error 1 make[1]: *** [../../../binaries/system/ColourTester_dbg.app/Contents/MacOS/ColourTester_dbg] Error 1 make: *** [ActorEditor] Error 2 make: *** Waiting for unfinished jobs.... make: *** [ColourTester] Error 2
  6. I tried patching build/premake/extern_libs.lua in another way, like suggested by espes : So I removed your changes made in rev 7078 : -- libxml2 needs _REENTRANT or __MT__ for thread support; -- OS X doesn't get either set by default, so do it manually if OS == "osx" then tinsert(package.defines, "_REENTRANT") end and replaced them by the patch suggested by espes : if OS == "macosx" then tinsert(package.buildoptions, "-D_REENTRANT") end Don't know what's the deep difference (all I can see are the obvious "macosx" vs "osx" and "package.buildoptions, "-D_REENTRANT"" vs "package.defines, "_REENTRANT""), but it worked : ... DLLInterface.cpp ScenarioEditor.cpp In file included from ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:32: ../../../source/tools/atlas/AtlasUI/ErrorReporter/ErrorReporter.h:1:20: warning: no newline at end of file SectionLayout.cpp ... But now I get this error later (wouldn't be funny otherwise ) : Linking ColourTester /usr/bin/ld: can't locate file for: -lAtlasUI_dbg /collect2: ld returned 1 exit status usr/bin/ld: can't locate file for: -lAtlasUI_dbg collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/ActorEditor_dbg.app/Contents/MacOS/ActorEditor_dbg] Error 1 make[1]: *** [../../../binaries/system/ColourTester_dbg.app/Contents/MacOS/ColourTester_dbg] Error 1 make: *** [ColourTester] Error 2 make: *** Waiting for unfinished jobs.... make: *** [ActorEditor] Error 2
  7. Well, the problem persists (svn rev. 7078) : In file included from ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:32: ../../../source/tools/atlas/AtlasUI/ErrorReporter/ErrorReporter.h:1:20: warning: no newline at end of file ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:48:2: error: #error libxml2 must have threading support enabled SectionLayout.cpp make[1]: *** [obj/AtlasUI_Debug/DLLInterface.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [AtlasUI] Error 2
  8. in xmlversion.h, I have : /** * LIBXML_THREAD_ENABLED: * * Whether the thread support is configured in */ #if 1 #if defined(_REENTRANT) || defined(__MT__) || \ (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) #define LIBXML_THREAD_ENABLED #endif #endif edit: oups, sorry, I did not see that espes had already replied ...
  9. Well, after reading the man pages, it seems to me that thread support is enabled by default. Can someone confirm that ? Anyway, I modified the portfile, passing the --with-threads option to ./configure and it does not seem to do much more : I still get the error, so I believe that DLLInterface.cpp just can't check correctly that LIBXML_THREAD_ENABLED is set on my system. Don't know why ... How could I verify that LIBXML_THREAD_ENABLED is set ? And is this option mandatory finally ?
  10. Checked out last svn revision and modified il.h and ilu.h (I replaced all ILvoid by void, execpt typedef) to solve ILvoid problems (this worked perfectly), but I now get a new error in Atlas compilation : In file included from ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:32: ../../../source/tools/atlas/AtlasUI/ErrorReporter/ErrorReporter.h:1:20: warning: no newline at end of file ../../../source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp:48:2: error: #error libxml2 must have threading support enabled SectionLayout.cpp make[1]: *** [obj/AtlasUI_Debug/DLLInterface.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [AtlasUI] Error 2 About my installed libxml2 (through macports) : ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces/gcc arnaud$ port info libxml2 libxml2 @2.7.3 (textproc) Variants: debug, universal Libxml is the XML C library developed for the Gnome project. XML itself is a metalanguage to design markup languages. Though the library is written in C, a variety of language bindings make it available in other environments. Homepage: http://xmlsoft.org/ Library Dependencies: libiconv, zlib Platforms: darwin Maintainers: cedric.luthi@gmail.com The error message is pretty clear, so I'll try to compile libxml2 with thread support. The one provided by macports doesn't fit obviously ...
  11. Yes, I don't worry about that, I know the game runs OK. Anyway, I'd like to help fixing Atlas not running on OS X, so it would be great if I could at least compile it That's possible, but I thought we'd concluded that GCC > 4.2 causes the error. Here it's the opposite. I'll do it tomorrow and post you all that in PM
  12. Well, I apologize, I realize now an installer is probably not a good thing for developper's health at the moment Don't blame me
  13. Obviously (note that I made so much compilations with gcc 4.0 to 4.3 that I did not remember exactly which one failed on Atlas, but now I'm sure it is the one I'm using at the moment).
  14. Right, I managed to get the game compile once again, so I'll update the wiki to recommend getting libdevil from macports, using gcc4.2, which is compatible with devIL 1.6.8 AFAIK, and commenting the two lines here above. I suggest that you handle it in the build system. I just get a last error, but that doesn't prevent the launching of the game : ColourTesterImageCtrl.cpp In file included from ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:34: /opt/local/include/IL/il.h:448: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:448: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:449: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:449: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:456: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:456: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:467: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:467: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:469: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:469: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:472: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:472: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:473: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:473: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:476: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:476: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:492: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:492: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:504: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:504: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:505: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:505: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:506: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:506: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h:521: error: '<anonymous>' has incomplete type /opt/local/include/IL/il.h:521: error: invalid use of 'ILvoid' In file included from ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:35: /opt/local/include/IL/ilu.h:125: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:125: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:128: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:128: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:129: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:129: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:134: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:134: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:135: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:135: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:136: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:136: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:137: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:137: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:140: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:140: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:143: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:143: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:145: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:145: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:151: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:151: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:152: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:152: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:154: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:154: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:155: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:155: error: invalid use of 'ILvoid' /opt/local/include/IL/ilu.h:169: error: '<anonymous>' has incomplete type /opt/local/include/IL/ilu.h:169: error: invalid use of 'ILvoid' /opt/local/include/IL/il.h: In constructor 'ColourTesterImageCtrl::ColourTesterImageCtrl(wxWindow*)': /opt/local/include/IL/il.h:476: error: too few arguments to function 'ILvoid ilInit(<type error>)' ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:48: error: at this point in file /opt/local/include/IL/il.h: In member function 'void ColourTesterImageCtrl::CalculateImage()': /opt/local/include/IL/il.h:467: error: too few arguments to function 'ILubyte* ilGetData(<type error>)' ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:128: error: at this point in file make[1]: *** [obj/AtlasUI_Debug/ColourTesterImageCtrl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [AtlasUI] Error 2 strange isn't it, as ColourTesterImageCtrl.cpp compiled with gcc 4.3 (see code snippet here above) ? Another ALCvoid-like issue ?
  15. Right, glibc is 2.m4 I am running Tiger, so I guess other mac users will encounter this. About devIL, it is installed (I did compile last version of 0ad). But I don't know what's wrong with my system today, it doesn't find anything (I've had to reinstall libenet through macports cause it wasn't able to find it anymore ?). I'll make some tests with macports devIL, althought it seems to me the 1.6.8 version provided by macports is not compatible with gcc 4.3 => I'll switch back to gcc 4.2
  16. Fine Jan, I'll test it as soon as possible (but for now, I've only a mac computer, as long as my sons aren't back from holidays, so it may take one more week to know if it works). Thanks anyway for the quick fix !
  17. Worked for me too, execpt that I get a new error : ==== Building pyrogenesis ==== main.cpp Linking pyrogenesis /usr/bin/ld: warning -L: directory name (../../../libraries/dl/lib) does not exist /usr/bin/ld: Undefined symbols: ___stack_chk_fail ___stack_chk_guard collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/libCollada_dbg.so] Error 1 make: *** [Collada] Error 2 make: *** Waiting for unfinished jobs.... /usr/bin/ld: warning -L: directory name (../../../libraries/comsuppw/lib) does not exist /usr/bin/ld: Undefined symbols: ___stack_chk_fail ___stack_chk_guard collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/pyrogenesis_dbg.app/Contents/MacOS/pyrogenesis_dbg] Error 1 make: *** [pyrogenesis] Error 2 ActorEditorListCtrl.cpp AnimListEditor.cpp ActorEditor.cpp PropListEditor.cpp ActorViewer.cpp ColourTester.cpp ColourTesterColourCtrl.cpp ColourTesterFileCtrl.cpp ColourTesterImageCtrl.cpp ActionButton.cpp ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:34:19: error: IL/il.h: No such file or directory ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:35:20: error: IL/ilu.h: No such file or directory ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp: In constructor 'ColourTesterImageCtrl::ColourTesterImageCtrl(wxWindow*)': ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:48: error: 'ilInit' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:49: error: 'ILuint' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:49: error: expected primary-expression before ')' token ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:49: error: 'ilGenImages' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:50: error: 'IL_KEEP_DXTC_DATA' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:50: error: 'IL_TRUE' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:50: error: 'ilSetInteger' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp: In member function 'void ColourTesterImageCtrl::SetImageFile(const wxFileName&)': ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:55: error: 'ilBindImage' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:57: error: 'IL_ORIGIN_UPPER_LEFT' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:57: error: 'ilOriginFunc' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:58: error: 'IL_ORIGIN_SET' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:58: error: 'ilEnable' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:59: error: 'ilLoadImage' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:67: error: 'IL_DXTC_DATA_FORMAT' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:67: error: 'ilGetInteger' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:69: error: 'IL_RGBA' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:69: error: 'IL_UNSIGNED_BYTE' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:69: error: 'ilConvertImage' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:75: error: 'ILinfo' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:75: error: expected `;' before 'info' ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:76: error: 'info' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:76: error: 'iluGetImageInfo' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp: In member function 'wxString ColourTesterImageCtrl::GetImageFiletype()': ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:96: error: 'IL_DXTC_DATA_FORMAT' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:96: error: 'ilGetInteger' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:97: error: 'IL_DXT1' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:98: error: 'IL_DXT2' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:99: error: 'IL_DXT3' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:100: error: 'IL_DXT4' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:101: error: 'IL_DXT5' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:103: error: 'IL_IMAGE_WIDTH' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:103: error: 'ilGetInteger' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:103: error: 'IL_IMAGE_HEIGHT' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp: In member function 'void ColourTesterImageCtrl::CalculateImage()': ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:126: error: 'ilBindImage' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:128: error: 'ILubyte' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:128: error: 'data' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:128: error: 'ilGetData' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:129: error: 'ILinfo' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:129: error: expected `;' before 'info' ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:130: error: 'info' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:130: error: 'iluGetImageInfo' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:137: error: 'p0' was not declared in this scope ../../../source/tools/atlas/AtlasUI/ColourTester/ColourTesterImageCtrl.cpp:137: error: 'p1' was not declared in this scope make[1]: *** [obj/AtlasUI_Debug/ColourTesterImageCtrl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [AtlasUI] Error 2 Note that I did not compiled again fcollada after new svn release, I just ran once again ./update-workspace.sh and make -j3. Maybe should I have ? I'll try immediately !
  18. Well, I installed libenet from macports and it is OK. Strange, but my computer seems strange anyway ... Now I've got the 'vswprintf_s' was not declared in this scope error, see http://www.wildfiregames.com/forum/index.p...23entry200723
  19. Same error here, on Mac OsX, rev 7057 : debug.cpp ../../../source/lib/debug.cpp: In member function 'bool PrintfWriter::operator()(const wchar_t*, ...)': ../../../source/lib/debug.cpp:279: error: 'vswprintf_s' was not declared in this scope make[1]: *** [obj/lowlevel_Debug/debug.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... Note that I compiled with gcc 4.3 Edit : switched to gcc 4.2 and finally gcc 4.1, but got other various errors plus the one above : ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces arnaud$ sudo gcc_select mp-gcc41 Selecting version "mp-gcc41" for gcc ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces arnaud$ ./update-workspaces.sh ==== Building Premake ==== make[1]: `../bin/premake' is up to date. WARNING: Detected GCC <4.2 -- disabling PCH for Atlas (will increase build times) Generating GNU makefiles: ...pyrogenesis ...network ...engine ...graphics ...i18n ...atlas ...gui ...lowlevel ...AtlasObject ...AtlasScript ...wxJS ...AtlasUI ...ActorEditor ...ColourTester ...Collada ...test_gen ...test ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces arnaud$ cd gcc ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces/gcc arnaud$ make -j3 ==== Building network ==== ==== Building graphics ==== ==== Building engine ==== make[1]: `../../../binaries/system/libnetwork_dbg.a' is up to date. ==== Building i18n ==== make[1]: `../../../binaries/system/libi18n_dbg.a' is up to date. ==== Building atlas ==== make[1]: `../../../binaries/system/libgraphics_dbg.a' is up to date. ==== Building gui ==== make[1]: `../../../binaries/system/libatlas_dbg.a' is up to date. ==== Building lowlevel ==== debug.cpp make[1]: `../../../binaries/system/libgui_dbg.a' is up to date. debug_stl.cpp make[1]: `../../../binaries/system/libengine_dbg.a' is up to date. ==== Building AtlasObject ==== make[1]: `../../../binaries/system/libAtlasObject_dbg.a' is up to date. ==== Building AtlasScript ==== cc1plus: make[1]: `../../../binaries/system/libAtlasScript_dbg.a' is up to date. error: obj/lowlevel_Debug/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/lowlevel_Debug/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 ==== Building wxJS ==== precompiled.cpp Linking wxJS ../../../source/lib/debug.cpp: In member function 'bool PrintfWriter::operator()(const wchar_t*, ...)': ../../../source/lib/debug.cpp:279: error: 'vswprintf_s' was not declared in this scope ../../../source/lib/debug.cpp: At global scope: ../../../source/lib/debug.cpp:41: warning: 'LINE_41_2' defined but not used ../../../source/lib/debug.cpp:42: warning: 'LINE_42_2' defined but not used ../../../source/lib/debug.cpp:43: warning: 'LINE_43_2' defined but not used ../../../source/lib/debug.cpp:44: warning: 'LINE_44_2' defined but not used ../../../source/lib/debug.cpp:45: warning: 'LINE_45_2' defined but not used ../../../source/lib/debug.cpp:46: warning: 'LINE_46_2' defined but not used ../../../source/lib/debug.cpp:47: warning: 'LINE_47_2' defined but not used ../../../source/lib/debug.cpp:48: warning: 'LINE_48_2' defined but not used ../../../source/lib/debug.cpp:49: warning: 'LINE_49_2' defined but not used ../../../source/lib/debug.cpp:50: warning: 'LINE_50_2' defined but not used make[1]: *** [obj/lowlevel_Debug/debug.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ==== Building Collada ==== precompiled.cpp make[1]: *** [obj/lowlevel_Debug/debug_stl.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: '__m128i' does not name a type /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:256: error: '__m128d' does not name a type make[1]: *** [obj/Collada_Debug/precompiled.h.gch] Error 1 make: *** [Collada] Error 2
  20. What I don't understand is that previous svn release compiled fine (except one Atlas error now that I remember). Don't know why enet is not detected anymore ... I tried reinstalling enet, but there's still the problem. Hmmm, how does include path work in c++ ? I've seen there are relative path (include "blabla/blibli") and some magically resolved (include <enet/enet.h>).
  21. I am running from the right directory. But now I remember that something went wrong with Atlas compilation (not a big error, but it might be that that blocks the editor), so I'll try when I'll be able to compile the whole project (game + Atlas).
  22. Updated today my 0ad directory. Can't get it to compile on Mac OsX. Collada compiles OK and update-workspace gives no error. Note that libdevIL is 1.7.8 and enet is 1.2, both compiled from sources (enet is in /usr/local/include/enet/). I previously managed to get 0ad compiled at revision 7000 or something near, with gcc 4.3 (modifying /System/Libraries/Framework/OpenAL.framework/alc.h). Errors occur in game build itself. With gcc-4.0.1 (and alc.h not modified) : ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces/gcc arnaud$ make -j3 ==== Building network ==== ==== Building graphics ==== ==== Building engine ==== precompiled.cpp precompiled.cpp precompiled.cpp cc1plus: error: unrecognized command line option "-fstack-protector-all" cc1plus: error: unrecognized command line option "-fstack-protector-all" cc1plus: error: unrecognized command line option "-fstack-protector-all" make[1]: *** [obj/network_Debug/precompiled.h.gch] Error 1 make: *** [network] Error 2 make: *** Waiting for unfinished jobs.... make[1]: *** [obj/graphics_Debug/precompiled.h.gch] Error 1make[1]: *** [obj/engine_Debug/precompiled.h.gch] Error 1 make: *** [engine] Error 2 make: *** [graphics] Error 2 With gcc-4.3 (running once again update-workspace.sh and with alc.h modified or not) : ordinateur-de-arnaud:~/Desktop/0ad/build/workspaces/gcc arnaud$ make -j3 ==== Building engine ==== ==== Building network ==== ==== Building graphics ==== precompiled.cpp precompiled.cpp precompiled.cpp fsm.cpp CConsole.cpp In file included from ../../../source/network/NetClient.h:30, from ../../../source/ps/CConsole.cpp:31: ../../../source/network/NetSession.h:35:23: error: enet/enet.h: No such file or directory Camera.cpp NetClient.cpp In file included from ../../../source/network/NetClient.h:30, from ../../../source/ps/CConsole.cpp:31: ../../../source/network/NetSession.h:48: error: ISO C++ forbids declaration of 'ENetPeer' with no type ../../../source/network/NetSession.h:48: error: expected ';' before '*' token ../../../source/network/NetSession.h:189: error: ISO C++ forbids declaration of 'ENetHost' with no type ../../../source/network/NetSession.h:189: error: expected ';' before '*' token ../../../source/network/NetSession.h:290: error: 'ENetPeer' has not been declared ../../../source/network/NetSession.h:298: error: ISO C++ forbids declaration of 'ENetPeer' with no type ../../../source/network/NetSession.h:298: error: expected ';' before '*' token In file included from ../../../source/network/NetClient.h:30, from ../../../source/network/NetClient.cpp:28: ../../../source/network/NetSession.h:35:23: error: enet/enet.h: No such file or directory In file included from ../../../source/network/NetClient.h:30, from ../../../source/network/NetClient.cpp:28: ../../../source/network/NetSession.h:48: error: ISO C++ forbids declaration of 'ENetPeer' with no type ../../../source/network/NetSession.h:48: error: expected ';' before '*' token ../../../source/network/NetSession.h:189: error: ISO C++ forbids declaration of 'ENetHost' with no type ../../../source/network/NetSession.h:189: error: expected ';' before '*' token ../../../source/network/NetSession.h:290: error: 'ENetPeer' has not been declared ../../../source/network/NetSession.h:298: error: ISO C++ forbids declaration of 'ENetPeer' with no type ../../../source/network/NetSession.h:298: error: expected ';' before '*' token CinemaTrack.cpp make[1]: *** [obj/engine_Debug/CConsole.o] Error 1 make: *** [engine] Error 2 make: *** Waiting for unfinished jobs.... NetLog.cpp make[1]: *** [obj/network_Debug/NetClient.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ColladaManager.cpp Color.cpp DefaultEmitter.cpp make: *** [network] Error 2 Frustum.cpp GameView.cpp HFTracer.cpp LightEnv.cpp MapReader.cpp MapWriter.cpp Material.cpp MaterialManager.cpp MeshManager.cpp MiniPatch.cpp Model.cpp ModelDef.cpp ObjectBase.cpp ObjectEntry.cpp ObjectManager.cpp ParticleEmitter.cpp ParticleEngine.cpp Patch.cpp SkeletonAnimDef.cpp SkeletonAnimManager.cpp Sprite.cpp Terrain.cpp TerrainProperties.cpp TextureEntry.cpp TextureManager.cpp Unit.cpp UnitAnimation.cpp UnitManager.cpp JSInterface_Camera.cpp ../../../source/graphics/scripting/JSInterface_Camera.cpp: In function 'JSBool JSI_Camera::construct(JSContext*, JSObject*, uintN, jsval*, jsval*)': ../../../source/graphics/scripting/JSInterface_Camera.cpp:280: warning: comparison of unsigned expression >= 0 is always true JSInterface_LightEnv.cpp AlphaMapCalculator.cpp FixedFunctionModelRenderer.cpp HWLightingModelRenderer.cpp InstancingModelRenderer.cpp ModelRenderer.cpp PatchRData.cpp PlayerRenderer.cpp Renderer.cpp RenderModifiers.cpp RenderPathVertexShader.cpp Scene.cpp ShadowMap.cpp SkyManager.cpp TerrainOverlay.cpp TerrainRenderer.cpp TransparencyRenderer.cpp VertexArray.cpp VertexBuffer.cpp VertexBufferManager.cpp WaterManager.cpp Linking graphics Any idea ?
  23. You should be able to work around the problem by passing -wNoMahaf on the command line. See related topic : http://www.wildfiregames.com/forum/index.php?showtopic=12491
  24. well, I did only use the debugger and here is the result. Don't know if this can help (./editor.sh is a little script that call ./pyrogenesis_dbg -editor) : ordinateur-de-arnaud:~/Desktop arnaud$ ./editor.sh ERROR: dlopen error: dlopen(./libAtlasUI_dbg.so, 6): image not found Atlas.cpp(46): The Atlas UI was not successfully loaded and therefore cannot be started as requested. exe name before realpath: /Users/arnaud/Desktop/0ad/binaries/system/./pyrogenesis_dbg exe name after realpath: /Users/arnaud/Desktop/0ad/binaries/system/./pyrogenesis_dbg returning exe name: /Users/arnaud/Desktop/0ad/binaries/system/pyrogenesis_dbg The Atlas UI was not successfully loaded and therefore cannot be started as requested. Location: Atlas.cpp:46 (ATLAS_Run) Call stack: (error while dumping stack: Feature currently not implemented) errno = 0 (?) OS error = ? (C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit? d Sleeping until debugger attaches. Please wait. GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:16:54 GMT 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin". warning: --arch option not supported in this gdb. /Users/arnaud/Desktop/0ad/binaries/system/888: No such file or directory. Attaching to process 888. Reading symbols for shared libraries . done Reading symbols for shared libraries .................................................................................................. warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/signals/build/darwin-4.0.1/release/threading-multi/trackable.o" - no debug information available for "libs/signals/src/trackable.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/signals/build/darwin-4.0.1/release/threading-multi/connection.o" - no debug information available for "libs/signals/src/connection.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/signals/build/darwin-4.0.1/release/threading-multi/named_slot_map.o" - no debug information available for "libs/signals/src/named_slot_map.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/signals/build/darwin-4.0.1/release/threading-multi/signal_base.o" - no debug information available for "libs/signals/src/signal_base.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/signals/build/darwin-4.0.1/release/threading-multi/slot.o" - no debug information available for "libs/signals/src/slot.cpp". . warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/system/build/darwin-4.0.1/release/threading-multi/error_code.o" - no debug information available for "libs/system/src/error_code.cpp". . warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/filesystem/build/darwin-4.0.1/release/threading-multi/operations.o" - no debug information available for "libs/filesystem/src/operations.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/filesystem/build/darwin-4.0.1/release/threading-multi/path.o" - no debug information available for "libs/filesystem/src/path.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/filesystem/build/darwin-4.0.1/release/threading-multi/portability.o" - no debug information available for "libs/filesystem/src/portability.cpp". warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_39_0/bin.v2/libs/filesystem/build/darwin-4.0.1/release/threading-multi/utf8_codecvt_facet.o" - no debug information available for "libs/filesystem/src/utf8_codecvt_facet.cpp". ...... done 0x90037b57 in mach_wait_until () (gdb) Don't seems to be usefull ... I'll try to compile last svn revision with gcc 4.0.1 to see ...
  25. Well, for the moment it seems that you can walk on or through everything (I tryed with large desert rock and the unit went through, then climbed the vertical cliff). Anyway, if you tell me this will be implemented, that's fine and it fits me. I'll polish the details of the map till the game engine can handle terrain limits, no problem.
×
×
  • Create New...