compiling revision

  • Hervé Cauwelier


    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?


    • Hervé Cauwelier

      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[1]: Entering directory `/home/dl/builds/openil/trunk/DevIL/examples'
      /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 ../lib/  -o IL_override iotest.o  -lm -lz
      libtool: link: gcc -g -O2 -o .libs/IL_override iotest.o  ../lib/.libs/ /home/dl/builds/openil/trunk/DevIL/lib/.libs/ -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/ undefined reference to `max'
      collect2: ld returned 1 exit status

      I'm quite puzzled, there is no "max" in the examples.

      • Denton Woods

        Denton Woods - 2009-02-09

        I just fixed the SVN so that you will not have a problem with max.

    • Hervé Cauwelier

      My mistake, it has nothing to do with examples. The whole is compiled and linked with this unknow symbol, making it unusable.

      • Matěj Týč

        Matěj Týč - 2009-02-09

        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...

    • Hervé Cauwelier

      Actually I wanted to try the new bilinear rezise algorithm.

      I'll just wait, thanks.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks