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

[Help] Problems building cimg-dev Debian package



Hi,

I have some trouble with updating cimg-dev.  Upstream has given some
hint but this did not really helped here.  Any libtiff* expert could
help out to build

   svn://anonscm.debian.org/debian-science/packages/cimg/trunk/

??

Thanks in advance for any help

       Andreas.

----- Forwarded message from David Tschumperlé <David.Tschumperle@ensicaen.fr> -----

Date: Wed, 15 Jan 2014 17:43:35 +0100
From: David Tschumperlé <David.Tschumperle@ensicaen.fr>
To: Andreas Tille <andreas@an3as.eu>
Subject: Re: Problems building cimg-dev Debian package

Hi Andreas,

CImg now uses some functions of the libtiffxx, like TIFFStreamOpen(char
const*, std::istream*), so there is probably one dependency missing.
Have you package 'libtiffxx' installed on your system ? (apt-get install
libtiffxx5)

David.


2014/1/15 Andreas Tille <andreas@an3as.eu>

> Hi David,
>
> I tried to update the cimg-dev Debian package but was running into:
>
> ...
>
> ** Compiling 'use_tiff_stream (1.5.7)' with 'gcc version 4.8.2 (Debian
> 4.8.2-13) '
>
> g++ -o use_tiff_stream use_tiff_stream.cpp -I.. -Wall -W -O3 -fno-tree-pre
> -Dcimg_use_vt100 -I/usr/X11R6/include  -Dcimg_use_xrandr -Dcimg_use_tiff
>  -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png -Dcimg_use_jpeg
> -Dcimg_use_zlib -Dcimg_use_opencv -I/usr/include/opencv -Dcimg_use_magick
> -fopenmp -I/usr/include/ImageMagick   -fopenmp -I/usr/include/ImageMagick
> -Dcimg_use_fftw3 -lm -lpthread -lHalf -L/usr/X11R6/lib -lpthread -lX11
>  -lXrandr -ltiff  -lIlmImf -lHalf -lpng -lz -ljpeg -lz -lopencv_core
> -lopencv_highgui -lMagick++ -lMagickCore   -lMagick++ -lMagickCore
> -lfftw3 -lfftw3_threads
> /tmp/ccAdAtJd.o: In function `cimg_library::CImg<unsigned
> short>::save_tiff(std::ostream*, unsigned int) const':
> use_tiff_stream.cpp:(.text._ZNK12cimg_library4CImgItE9save_tiffEPSoj[_ZNK12cimg_library4CImgItE9save_tiffEPSoj]+0x48):
> undefined reference to `TIFFStreamOpen(char const*, std::ostream*)'
> /tmp/ccAdAtJd.o: In function `cimg_library::CImg<unsigned
> short>::load_tiff(std::istream*, unsigned int, unsigned int, unsigned int)':
> use_tiff_stream.cpp:(.text._ZN12cimg_library4CImgItE9load_tiffEPSijjj[_ZN12cimg_library4CImgItE9load_tiffEPSijjj]+0x3d):
> undefined reference to `TIFFStreamOpen(char const*, std::istream*)'
> collect2: error: ld returned 1 exit status
> make[3]: *** [use_tiff_stream] Error 1
>
> Any idea?
>
> Kind regards
>
>        Andreas.
>
> --
> http://fam-tille.de
>

----- End forwarded message -----

-- 
http://fam-tille.de


Reply to: