Menu

Error building libtiff

Help
Taj Morton
2007-04-05
2012-07-26
  • Taj Morton

    Taj Morton - 2007-04-05

    Hello,
    I'm trying to compile libtiff (from your sources), but for some reason I'm getting a make error. The reason I'm compiling is because I want a libtiff without of the optional external deps (jpeg, zip, etc). I'm using mingw, and have msys installed. The error I get is:

    libtool: compile: gcc -DINSTALLDIR=\"c:/projects/tiff-bin\" -DENABLE_RELOCATABL
    E -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -W -MT tif_zip.lo -MD -MP -MF .de
    ps/tif_zip.Tpo -c tif_zip.c -DDLL_EXPORT -DPIC -o .libs/tif_zip.o
    libtool: compile: gcc -DINSTALLDIR=\"c:/projects/tiff-bin\" -DENABLE_RELOCATABL
    E -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -W -MT tif_zip.lo -MD -MP -MF .de
    ps/tif_zip.Tpo -c tif_zip.c -o tif_zip.o >/dev/null 2>&1
    make[2]: *** No rule to make target libtiff-dllversion.lo', needed bylibtiff.
    la'. Stop.
    make[2]: Leaving directory /c/Projects/GnuWin32/src/tiff/3.8.2/tiff-3.8.2-src/libtiff' make[1]: *** [all] Error 2 make[1]: Leaving directory/c/Projects/GnuWin32/src/tiff/3.8.2/tiff-3.8.2-src/libtiff'
    make: *** [all-recursive] Error 1

    Any ideas why?
    Thanks!

    • Taj
     
    • GnuWin

      GnuWin - 2007-04-06

      Apparently make cannot find libtiff-dllversion.c, which is in the subdirectory res. Either move it to the libtiff directory or add res to VPATH in Makefile.in.

       
MongoDB Logo MongoDB