[CMake] FLTK issue with cmake

moon light moon_light3838 at yahoo.com
Sat Jul 6 07:49:02 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130706/42dd64a1/attachment.htm>


More information about the CMake mailing list