package cmake
reassign 437967 libfltk1.1-dev 1.1.8~rc2-2
retitle 437967 libfltk1.1-dev: installs 
thanks

On Tuesday 14 August 2007 23:21:50 you wrote:
> 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.

The problem is that the FLTKConfig.cmake and FLTKUse.cmake are installed 
into /usr/share/CMake/Modules instead of /usr/share/cmake-2.4, which is the 
correct CMake root in Debian.



-- 
Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to