|
Hi, Second problem, change the last part of the “iup/srclua5/iupim.mak” to: ifneq ($(findstring MacOS, $(TEC_UNAME)), ) USE_IUPLUA:= USE_IMLUA:= USE_IM = Yes endif First problem, change the last part of the “iup/srclua5/iupim.mak” to: ifneq ($(findstring MacOS, $(TEC_UNAME)), ) LIBS:= ifdef USE_MACOS_OPENGL LFLAGS = -framework OpenGL USE_OPENGL := endif endif And define USE_MACOS_OPENGL on your environment before compiling the code. These changes are done in the CVS version of IUP, CD and IM. Best, Scuri From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of roman.maire@besonet.ch Hello Tecmake: linking libiupluagl51.so ... gcc -bundle -undefined dynamic_lookup -o ../lib/MacOS106/libiupluagl51.so ../obj/iupluagl51/MacOS106/iuplua_glcanvas.o ../obj/iupluagl51/MacOS106/il_glcanvas.o -L../lib/MacOS106 -liupgl -liup -lGLU -lGL -lm ld: library not found for -lGLU collect2: ld returned 1 exit status make[2]: *** [../lib/MacOS106/libiupluagl51.so] Error 1 make[1]: *** [iupluagl] Error 2 make: *** [iuplua5] Error 2 Tecmake: linking libiupluaim51.so ... gcc -bundle -undefined dynamic_lookup -o ../lib/MacOS106/libiupluaim51.so ../obj/iupluaim51/MacOS106/iuplua_im.o -L../lib/MacOS106 -L../lib/MacOS106 -L../../im/lib/MacOS106 -liupim -limlua51 -liup -lim -lm ld: in ../../im/lib/MacOS106/libimlua51.so, can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) collect2: ld returned 1 exit status make[2]: *** [../lib/MacOS106/libiupluaim51.so] Error 1 make[1]: *** [iupluaim] Error 2 make: *** [iuplua5] Error 2 |