[GEM-dev] ARToolkit issue on 10.4/Intel

Hans-Christoph Steiner hans at at.or.at
Fri Dec 4 18:24:56 CET 2009


So I installed artoolkit from Fink, and Gem gives this build error,  
which is new to me.  Is it worth trying to get artoolkit support into  
the 0.92 build in the current Pd-extended builds?

g++ -o Gem.pd_darwin    -dynamiclib -mmacosx-version-min=10.3 - 
undefined dynamic_lookup -framework QuickTime -framework Carbon - 
framework AGL -framework OpenGL   ./Objects/*.o -lAR -L/sw/lib -L/sw/ 
lib -lstdc++ -ldl -lz -lm   -lpthread -L/Users/pd/auto-build/pd- 
extended/pd/bin -L/sw/lib -Wl,-framework,OpenGL -Wl,- 
framework,CoreServices -Wl,-framework,ApplicationServices -lobjc - 
lfreetype -lz -lftgl -L/sw/lib -lgmerlin_avdec -lgavl
ld: common symbols not allowed with MH_DYLIB output format with the - 
multi_module option
/sw/lib/libAR.a(arUtil.o) definition of common _arParam (size 144)
/sw/lib/libAR.a(arUtil.o) definition of common _arImXsize (size 16)
/sw/lib/libAR.a(arUtil.o) definition of common _arImYsize (size 16)
/sw/lib/libAR.a(arUtil.o) definition of common _arsMatR2L (size 96)
/sw/lib/libAR.a(arUtil.o) definition of common _arsParam (size 368)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit  
command failed
make[2]: *** [Gem.pd_darwin] Error 1

An Apple person recommends adding -fno-common to the build:
http://gcc.gnu.org/ml/gcc/2005-06/msg00378.html

Others recommend not using multi_module mode, and sending - 
single_module:
http://lists.apple.com/archives/Unix-porting/2006/Aug/msg00024.html
http://doc.trolltech.com/qt3/platforms/osx.html

.hc



----------------------------------------------------------------------------

"[T]he greatest purveyor of violence in the world today [is] my own  
government." - Martin Luther King, Jr.







More information about the GEM-dev mailing list