[Insight-users] FLTK problem

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Jun 28 16:32:02 EDT 2006


You need to build InsightApplications from the base directory . My guess 
is your are trying to build the sources in ImageViewer and not the 
directory one level above.

(The macro ADD_GUI_EXECUTABLE is defined in the top level CMakeLists.txt )

HTH
-karthik

Seniha Esen Yuksel wrote:

> Hi all,
>
> I want to use the ImageViewer, but I am getting some errors with the 
> cmake.  I am using Cmake 2.4, and fltk 1.1.6 is already compiled to my 
> machine. (I also compiled fltk 1.1.7 to a seperate directory and still 
> getting the same errors).  As told in the ITK users list, I am 
> entering the FLTK directories manually, but even so I continue to get 
> the error:
>
> Unknown CMake command "ADD_GUI_EXECUTABLE".
>
> Could you please give me any other suggestions?
>
> CMAKE_BACKWARDS_COMPATIBILITY    2.4
>  CMAKE_BUILD_TYPE
>  CMAKE_INSTALL_PREFIX             /usr/local
>  EXECUTABLE_OUTPUT_PATH
>  FLTK_BASE_LIBRARY                /usr/local/lib/libfltk.so
>  FLTK_CONFIG_SCRIPT               /local/bin/fltk-config
>  FLTK_DIR                         /usr/local
>  FLTK_FLUID_EXECUTABLE            /local/bin/fluid
>  FLTK_FORMS_LIBRARY               /usr/local/lib/libfltk_forms.so
>  FLTK_GL_LIBRARY                  /usr/local/lib/libfltk_gl.so
>  FLTK_IMAGES_LIBRARY              /usr/local/lib/libfltk_images.so
>  FLTK_INCLUDE_DIR                 /usr/local/include
>  ITK_DIR                          /usr/local/lib/InsightToolkit
>  LIBRARY_OUTPUT_PATH
>
>
> The files I am trying to compile are directly copy paste form 
> InsightApplications, I am using the same CMakeLists.txt, 
> ImageViewer.cxx and ImageViewerGUI.fl
>
> I would appreciate any ideas on how to make this FLTK work soon.
>
> Thanks a lot,
> Esen
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Get on board. You're invited 
> <http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers> 
> to try the new Yahoo! Mail Beta.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list