lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello
 
Now that CD compiles, I'm fiddling with IUP. If I try to make from the iup directory, I get the following error message:
 

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
 
It seems that the flag -framework OpenGL is missing. Adding it in the toplevel tecmake.mak didn't work.
 
Out of curiosity I was then trying to uncomment the target for iupluagl in the Makefile in iup/srclua5. I got the following error message:
 

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
 
 
Some ideas?
 
Kind regards,
 
Roman Maire