cmake error Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)

5,254 views
Skip to first unread message

fester

unread,
Jul 1, 2010, 8:39:00 PM7/1/10
to OpenJPEG
Hi I am trying to compile version 606, on fedora 13.
gcc-c++-4.4.4-2.fc13.x86_64
libgcc-4.4.4-2.fc13.x86_64
gcc-4.4.4-2.fc13.x86_64

My steps are:

svn checkout http://openjpeg.googlecode.com/svn/trunk/ openjpeg-read-
only
cd trunk
mkdir bin
cd bin
cmake .. -DBUILD_EXAMPLES:BOOL=ON

I get the following error:


[root@dcptest bin]# cmake .. -DBUILD_EXAMPLES:BOOL=ON
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of void*
-- Check size of void* - done
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files CMAKE_HAVE_SYS_PRCTL_H
-- Looking for include files CMAKE_HAVE_SYS_PRCTL_H - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for getopt.h
-- Looking for getopt.h - found
CMake Error at /usr/share/cmake/Modules/
FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindTIFF.cmake:31
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
codec/CMakeLists.txt:40 (FIND_PACKAGE)

Thanks
Simon

szuk...@arcor.de

unread,
Jul 2, 2010, 8:19:22 AM7/2/10
to open...@googlegroups.com
On 02.07.2010 02:39, fester <syhe...@gmail.com> wrote:

> Hi I am trying to compile version 606, on fedora 13.
> gcc-c++-4.4.4-2.fc13.x86_64
> libgcc-4.4.4-2.fc13.x86_64
> gcc-4.4.4-2.fc13.x86_64
>
> My steps are:
>
> svn checkout http://openjpeg.googlecode.com/svn/trunk/ openjpeg-read-
> only
> cd trunk
> mkdir bin
> cd bin
> cmake .. -DBUILD_EXAMPLES:BOOL=ON
>
> I get the following error:
>

(...)


> -- Found Threads: TRUE
> -- Looking for getopt.h
> -- Looking for getopt.h - found
> CMake Error at /usr/share/cmake/Modules/
> FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
> Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)

I have fetched the same revision 606:

szukw000: mkdir BUILD
szukw000: cd BUILD
szukw000: cmake -DBUILD_EXAMPLES:BOOL=ON ..


-- The C compiler identification is GNU

-- Check for working C compiler: /usr/local/gcc-4.4.0/bin/gcc
-- Check for working C compiler: /usr/local/gcc-4.4.0/bin/gcc -- works


-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

(...)


-- Looking for getopt.h - found

-- Found TIFF: /usr/lib/libtiff.so
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Configuring done
-- Generating done

Could you please check whether you have libtiff installed? I doubt.

winfried


--
Hotelbewertung: Bloß nicht die Katze im Sack kaufen bzw. den Floh auf der Matratze buchen -
ob geschäftlich oder privat - erst das Hotel im Reise-Channel auf arcor.de checken!
http://www.arcor.de/rd/footer.hotel

Mathieu Malaterre

unread,
Jul 12, 2010, 5:05:18 AM7/12/10
to open...@googlegroups.com
fester,

On Fri, Jul 2, 2010 at 2:19 PM, <szuk...@arcor.de> wrote:
...


> Could you please check whether you have libtiff installed? I doubt.

Pay attention that on most linux distro you will need the
*develepmoent* package not just the runtime binary (libtiff4-dev on
debian)

HTH
--
Mathieu

Reply all
Reply to author
Forward
0 new messages