I've just checked out revision 1406 from SVN and trying to compile on Linux:
./../src-IL/src/il_wdp.c:19:21: error: WMPGlue.h: No such file or directory
./../src-IL/src/il_wdp.c: In function 'iLoadWdpInternal':
./../src-IL/src/il_wdp.c:36: error: 'PKFactory' undeclared (first use in this function)
I guess it's related to revision 1406 itself:
* Restored original WDP code.
Do I need another library, or the configure script didn't check for WDP availability? Maybe it's a Windows-specific code?
I've been able to disable WDP at all:
./configure --enable-ILU --with-examples --enable-wdp=no
It compiles fine but fails at linking the library:
make: Entering directory `/home/dl/builds/openil/trunk/DevIL/examples'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 ../lib/libILU.la -o IL_override iotest.o -lm -lz
libtool: link: gcc -g -O2 -o .libs/IL_override iotest.o ../lib/.libs/libILU.so /home/dl/builds/openil/trunk/DevIL/lib/.libs/libIL.so -ltiff -lpng12 -lmng -llcms -ljasper -ljpeg -lIlmImf -lImath -lHalf -lIex -lIlmThread -lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib
/home/dl/builds/openil/trunk/DevIL/lib/.libs/libIL.so: undefined reference to `max'
collect2: ld returned 1 exit status
I'm quite puzzled, there is no "max" in the examples.
I just fixed the SVN so that you will not have a problem with max.
My mistake, it has nothing to do with examples. The whole libIL.so is compiled and linked with this unknow symbol, making it unusable.
Indeed, but we have released a new version recently, so you can try out the tarball...
The SVN is going to be fixed quite soon, I think...
Actually I wanted to try the new bilinear rezise algorithm.
I'll just wait, thanks.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.