Jump to content

arn34

Community Members
  • Posts

    69
  • Joined

  • Last visited

Recent Profile Visitors

803 profile views

arn34's Achievements

Discens

Discens (2/14)

0

Reputation

  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
×
×
  • Create New...