Hi All,

I'm facing a problem with FLTK and cmake and i found a previous post discusses 
the same problem but i'm not fully understand how it was solved. what i'm 
trying to do is to build itk applications so i have to build itk, vtk and fltk 
first but during itk applications configuration using cmake it gave me the 
following error below. 

ITK VERSION: 4.3.1
VTK VERSION: 5.10.1
CMake Error at
CMakeLists.txt:134 (FIND_PACKAGE):
Could not find a package
configuration file provided by "FLTK" with any of
the following names:
FLTKConfig.cmake
fltk-config.cmake
Add the installation
prefix of "FLTK" to CMAKE_PREFIX_PATH or set
"FLTK_DIR" to a
directory containing one of the above files. If "FLTK"
provides a separate
development package or SDK, be sure it has been
installed.
Configuring incomplete, errors
occurred!


The link to the post is 
(http://www.cmake.org/pipermail/cmake/2010-December/041626.html), but i want to 
know in which cmake file and which part in the code should i edit or put the 
following part.
>SET(FLTK_DIR "C:/Program Files/fltk-1.1.9/") >SET(FLTK_BASE_LIBRARY 
>"C:/Program Files/fltk-1.1.9/lib/") >SET(FLTK_FORMS_LIBRARY "C:/Program 
>Files/fltk-1.1.9/lib/") >SET(FLTK_GL_LIBRARY "C:/Program 
>Files/fltk-1.1.9/lib/") >SET(FLTK_IMAGES_LIBRARY "C:/Program 
>Files/fltk-1.1.9/lib/") >SET(FLTK_INCLUDE_DIR "C:/Program 
>Files/fltk-1.1.9/include/") >SET(FLTK_SKIP_FLUID TRUE) >FIND_PACKAGE(FLTK 
>REQUIRED)

Looking forward for your replies..

Mai
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to