From: Michal T. <mic...@ya...> - 2008-08-17 10:10:33
|
Hi All, I ve a compilation issue with the DevIL lib. Maybe this problem has been just discussed before, so I am sorry for placing it here one more time. Floating on the web I have found this guy having the same problem so I am posting its question: --- start I am trying to compile DevIL (openil.sourceforge.net) from sources. The first hurdle was finding working libpng and libjpeg binaries. Now that I have those, compilation fails at the last step. For those not familiar with DevIL, it has 3 parts: libIL, libILU and libILUT. It's a bit in the same vein as OpenGL, GLU and GLUT... Well, compilation fails when linking libILUT, which needs to link with libIL and libILU. I get the following message: ------------------------------------------------------------------------------- [...snip...] make[2]: Entering directory `/home/guayj/DevIL-1.6.8/src-ILUT/src' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -msse -msse2 -Wall -g -O0 -mno-cygwin -g -O2 -g -O2 -Wall -g -O0 -o libILUT.la -rpath /home/guayj/local_apps/lib -no-undefined ../../src-IL/src/libIL.la ../../src-ILU/src/libILU.la ilut_allegro.lo ilut_main.lo ilut_sdlsurface.lo ilut_states.lo ilut_internal.lo ilut_opengl.lo ilut_win32.lo ilut_directx.lo ilut_directx9.lo -lopengl32 -lglu32 -lgdi32 *** Warning: This system can not link to static lib archive ../../src-IL/src/libIL.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: `/mingw/lib//libiconv.la' seems to be moved *** Warning: This system can not link to static lib archive ../../src-ILU/src/libILU.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: `/mingw/lib//libiconv.la' seems to be moved --- end Many thanks. |