[Insight-users] ERROR when compile InsightApplications-1.60/SNAP

Luis Ibanez luis.ibanez at kitware.com
Wed Jun 16 10:03:16 EDT 2004


Hi diaoxianfen,

It seems that you are running CMake directly in the subdirectory SNAP.

That will not work. You must run CMake on the top directory of
InsightApplications in order to configure all of them.   Once you
are done with the configuration, you must open the top .dsw workspace
file and if you want to build only SNAP then you can select it as
the default project.

If you really want to separate SNAP from the source tree of
InsightApplications, then you must read the Tutorial sessions

        http://www.itk.org/HTML/Tutorials.htm

In particular

   - GettingStarted I
   - GettingStarted II
   - GettingStarted V



   Regards,


     Luis


--------------------
diaoxianfen wrote:

> I try to compile InsightApplications-1.6.0\SNAP with CMake.When I set 
> the directory of source and object directory,after that click the 
> Configure Button.A ERROR dialog appears.The content as follows.
> CMake Error:Error in cmake code of 
> "E:/ITK/InsightApplications-1.6.0/InsightApplications-1.6.0/SNAP/CMakeLists.txt:367;Unknown 
> CMake command "ADD GUI EXECUTABLE".
> Whether I need to correct somewhere of the CMakeLists.txt about SNAP?Or 
> other reason leads to that?
> How to correct?
> Any help will be appreciated!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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