Package: cmake
Version: 2.4.7-1
Severity: normal

FLTK is not found although libfltk1.1-dev is installed:

== CMakeLists.txt ==
# set( FLTK_INCLUDE_DIR /usr/include )
find_package( FLTK REQUIRED )

if( FLTK_FOUND )
        include_directories( ${FLTK_INCLUDE_DIR} )
        add_executable( cseditor cseditor.cxx )
        target_link_libraries( cseditor ${FLTK_LIBRARIES} )
else( FLTK_FOUND )
        message(FATAL_ERROR "Could not find FLTK")
endif( FLTK_FOUND )
==

$ cmake .
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
CMake Error: Could not find FLTK
-- Configuring done


Uncommenting the first line in CMakeLists.txt finds FLTK, though. I see
that FindFLTK.cmake searches in that directory, so I don't know what is going
on.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-felipe (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cmake depends on:
ii  libc6                     2.6.1-1        GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-2      GCC support library
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  libstdc++6                4.2.1-2        The GNU Standard C++ Library v3

cmake recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to