yanlsino Posted August 21, 2009 Report Share Posted August 21, 2009 hi all, I got this error for build the valgrind have any suggestionmake all-recursiveMaking all in includemake[2]: Nothing to be done for `all'.Making all in VEXmake all-amgcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -Ipriv -arch i386 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -mmacosx-version-min=10.5 -fno-stack-protector -mdynamic-no-pic -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT libvex_x86_darwin_a-main_globals.o -MD -MP -MF .deps/libvex_x86_darwin_a-main_globals.Tpo -c -o libvex_x86_darwin_a-main_globals.o `test -f 'priv/main_globals.c' || echo './'`priv/main_globals.ccc1: error: unrecognized command line option "-mdynamic-no-pic"cc1: error: unrecognized command line option "-arch"make[3]: *** [libvex_x86_darwin_a-main_globals.o] Error 1make[2]: *** [all] Error 2make[1]: *** [all-recursive] Error 1make: *** [all] Error 2 Quote Link to comment Share on other sites More sharing options...
yanlsino Posted August 21, 2009 Author Report Share Posted August 21, 2009 and the error of the building AtlasUI ==== Building AtlasUI ====ColourTesterImageCtrl.cppIn 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 filemake[1]: *** [obj/AtlasUI_Debug/ColourTesterImageCtrl.o] Error 1make: *** [AtlasUI] Error 2 Quote Link to comment Share on other sites More sharing options...
espes Posted August 22, 2009 Report Share Posted August 22, 2009 (edited) Take that up with the Valgrind people, it's not yet completely compatible with OS X. You don't need it, anyway.Also,Take care that libdevil 1.6.8-rc2 (the version in macports) is not compatible with GCC 4.3, you'll need to install 1.7.8. Get it from http://openil.sourceforge.net/download.php. Then extract the archive, and run ./configure --enable-ILU --enable-ILUT, make, and sudo make install. Edited August 22, 2009 by espes Quote Link to comment Share on other sites More sharing options...
yanlsino Posted August 22, 2009 Author Report Share Posted August 22, 2009 hello,thanks for reply my questionbut when i build the devil 1,7,8it gives to me this error...... gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../include -g -O2 -MT ilur.o -MD -MP -MF .deps/ilur.Tpo -c -o ilur.o `test -f '../src-ILU/ilur/ilur.c' || echo './'`../src-ILU/ilur/ilur.c../src-ILU/ilur/ilur.c:3:20: error: malloc.h: No such file or directory../src-ILU/ilur/ilur.c: In function 'create_params':../src-ILU/ilur/ilur.c:105: warning: incompatible implicit declaration of built-in function 'malloc'../src-ILU/ilur/ilur.c: In function 'destroy_params':../src-ILU/ilur/ilur.c:121: warning: incompatible implicit declaration of built-in function 'free'../src-ILU/ilur/ilur.c:125: warning: incompatible implicit declaration of built-in function 'free'../src-ILU/ilur/ilur.c: In function 'parse_arguments':../src-ILU/ilur/ilur.c:207: warning: incompatible implicit declaration of built-in function 'malloc'../src-ILU/ilur/ilur.c:274: warning: incompatible implicit declaration of built-in function 'free'make[1]: *** [ilur.o] Error 1make: *** [all-recursive] Error 1 Quote Link to comment Share on other sites More sharing options...
espes Posted August 23, 2009 Report Share Posted August 23, 2009 (edited) Sorry to be condescending, but you're meant to be "good at C++". If you google'd the error, you would find hundreds of posts related to the problem; on OS X, malloc.h in in a different location. Modify ilur.c to include "sys/malloc.h". Edited August 23, 2009 by espes Quote Link to comment Share on other sites More sharing options...
yanlsino Posted August 23, 2009 Author Report Share Posted August 23, 2009 hithanks for u help;Sorry this is my first time to build the program on mac...... Quote Link to comment Share on other sites More sharing options...
yanlsino Posted August 23, 2009 Author Report Share Posted August 23, 2009 hi allIam still on the system mac and compile successfully It was be allright until click the start button, then it jump to the loading interface, there is a error for me, the application ask me to find the file "art/meshes/structural/settlement_1.dae" and thenERROR: dlopen error: dlopen(./libCollada_dbg.so, 6): image not foundERROR: Failed to load COLLADA conversion DLLERROR: Could not load mesh 'art/meshes/structural/settlement_1.dae'ERROR: CObjectEntry::BuildModel(): Model art/meshes/structural/settlement_1.dae failed to loadany idea?please ps:I have researched in this directory ,but there is just a file jav2.dae. Quote Link to comment Share on other sites More sharing options...
espes Posted August 23, 2009 Report Share Posted August 23, 2009 http://trac.wildfiregames.com/browser/ps/t...shes/structuralIt looks like your SVN checkout didn't complete. Quote Link to comment Share on other sites More sharing options...
yanlsino Posted August 24, 2009 Author Report Share Posted August 24, 2009 Great!!!I redownloaded and rebuilded the code ,but unfortunately:/trunk/binaries/system/pyrogenesis_dbg ; exit;li-yandemac-mini:~ liyan$ /trunk/binaries/system/pyrogenesis_dbg ; exit;exe name before realpath: /trunk/binaries/system/pyrogenesis_dbgexe name after realpath: /trunk/binaries/system/pyrogenesis_dbgreturning exe name: /trunk/binaries/system/pyrogenesis_dbgTIMER| InitVfs: 49.2 ms(current document)(0): malformed UTF-8 character sequence at offset 1ERROR: JavaScript Error ((current document), line 0): malformed UTF-8 character sequence at offset 1terminate called after throwing an instance of 'PSERROR_Scripting_SetupFailed' what(): Scripting_SetupFailedAbort traplogoutstrange..maybe it's the problem of different language?I build it on macmini 10.5.8(chinese language)... Quote Link to comment Share on other sites More sharing options...
janwas Posted August 24, 2009 Report Share Posted August 24, 2009 About libCollada_dbg.so: that's probably because it wasn't successfully compiled for some reason. There have been reports that parallel make breaks, running without -j parameter may help.Was it the same for you, that a second build attempt worked?UTF problem: looks like those are coming from a javascript file. The first scripts to be loaded after InitVfs are in binaries\data\mods\public\gui\test. Could you please open all of the .js files there in another application and see if it complains about a byte order marker or similar? 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.