<DIV>Hi Luis,</DIV>
<DIV>&nbsp;</DIV>
<DIV>To compile ThinPlateSplines I&nbsp;have modified CMakeLists.txt as follows:&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>PROJECT( ThinPlateSplines )</DIV>
<DIV>&nbsp;</DIV>
<DIV>#<BR>#&nbsp; FIND ITK<BR>#<BR>FIND_PACKAGE(ITK)<BR>IF (USE_ITK_FILE)<BR>&nbsp; INCLUDE (${USE_ITK_FILE})<BR>ELSE (USE_ITK_FILE)<BR>&nbsp; MESSAGE( FATAL_ERROR "This application requires ITK. One of these<BR>components is missing. Please verify configuration")<BR>ENDIF (USE_ITK_FILE)</DIV>
<DIV><BR>#<BR># FIND VTK<BR>#<BR>FIND_PACKAGE(VTK)<BR>IF (USE_VTK_FILE)<BR>&nbsp; INCLUDE (${USE_VTK_FILE})<BR>ELSE (USE_VTK_FILE)<BR>&nbsp; MESSAGE( FATAL_ERROR "This application requires VTK. One of these<BR>components is missing. Please verify configuration")<BR>ENDIF (USE_VTK_FILE)</DIV>
<DIV>&nbsp;</DIV>
<DIV>#<BR># FIND FLTK<BR>#<BR>FIND_PACKAGE(FLTK)<BR>IF (FLTK_FOUND)<BR>&nbsp; INCLUDE_DIRECTORIES (${FLTK_INCLUDE_DIR})<BR>ELSE (FLTK_FOUND)<BR>&nbsp; MESSAGE( FATAL_ERROR "This application requires FLTK. One of these<BR>components is missing. Please verify configuration")<BR>ENDIF (FLTK_FOUND)</DIV>
<DIV><BR>INCLUDE_DIRECTORIES(<BR>&nbsp; ${ThinPlateSplines_SOURCE_DIR}<BR>&nbsp; )</DIV>
<DIV>#<BR>#&nbsp; Define the list of source files<BR>#<BR>SET(APPLICATION_SOURCES<BR>&nbsp; ThinPlateSplinesApplicationBase.cxx<BR>&nbsp; ThinPlateSplinesApplication.cxx <BR>&nbsp; main.cxx<BR>&nbsp; )</DIV>
<DIV><BR>ADD_EXECUTABLE( ThinPlateSplines ${APPLICATION_SOURCES})</DIV>
<DIV>FLTK_WRAP_UI(ThinPlateSplines ThinPlateSplinesApplicationGUI.fl)<BR>#ITK_DISABLE_FLTK_GENERATED_WARNINGS(ThinPlateSplinesApplicationGUI.fl)<BR>#TARGET_LINK_LIBRARIES(ThinPlateSplines ITKBasicFilters ITKIO<BR># ITKFltkImageViewer ITKVtkFltk vtkHybrid)<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Hans</DIV>
<DIV><BR><B><I>Luis Ibanez &lt;luis.ibanez@kitware.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Hans,<BR><BR>The Applications are configured to be build from the top<BR>directory of InsightApplications.<BR><BR>If you want to build a single one, the easy way is to still<BR>configure all of them from the top directory, then open the<BR>InsightApplications.dsw workspace and selecting the project<BR>of the single application that you want to build.<BR><BR>If you want to separate one of the applications, there is a<BR>good number of modifications that you will have to make on<BR>the configuration, because some of the GUI applications share<BR>resources such as the FLTK viewers and the VTK helper classes.<BR><BR><BR>Regards,<BR><BR><BR>Luis<BR><BR><BR><BR><BR>-------------------<BR>Hans Wolf wrote:<BR><BR>&gt; Hello Luis,<BR>&gt; <BR>&gt; I post my CMakeCache.txt file.<BR>&gt; <BR>&gt; Just one thing, I'm just trying to compile ThinPlateSpines, I haven't <BR>&gt; compiled the
 other Applications.<BR>&gt; <BR>&gt; Thanks,<BR>&gt; Hans<BR>&gt; <BR>&gt; ////////////////////////////////////////////<BR>&gt; # This is the CMakeCache file.<BR>&gt; # For build in directory: <BR>&gt; c:/itk_160/InsightApplications-1.6.0-BIN/ThinPlateSpines<BR>&gt; # You can edit this file to change values found and used by cmake.<BR>&gt; # If you do not want to change any of the values, simply exit the editor.<BR>&gt; # If you do want to change a value, simply edit, save, and exit the editor.<BR>&gt; # The syntax for the file is as follows:<BR>&gt; # KEY:TYPE=VALUE<BR>&gt; # KEY is the name of a variable in the cache.<BR>&gt; # TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.<BR>&gt; # VALUE is the current value for the KEY.<BR>&gt; ########################<BR>&gt; # EXTERNAL cache entries<BR>&gt; ########################<BR>&gt; //Path to a program.<BR>&gt; CMAKE_AR:FILEPATH=CMAKE_AR-NOTFOUND<BR>&gt; //For backwards compatibility, what version of CMake commands
 and<BR>&gt; // syntax should this version of CMake allow.<BR>&gt; CMAKE_BACKWARDS_COMPATIBILITY:STRING=1.8<BR>&gt; //Semicolon separated list of supported configuration types, only<BR>&gt; // supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything<BR>&gt; // else will be ignored.<BR>&gt; CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release<BR>&gt; //C++ compiler<BR>&gt; CMAKE_CXX_COMPILER:STRING=cl<BR>&gt; //Flags used by the compiler during all build types.<BR>&gt; CMAKE_CXX_FLAGS:STRING= /W3 /Zm1000 /GX /GR<BR>&gt; //Size of stack for programs.<BR>&gt; CMAKE_CXX_STACK_SIZE:STRING=10000000<BR>&gt; //Size of stack for programs.<BR>&gt; CMAKE_CXX_WARNING_LEVEL:STRING=3<BR>&gt; //C compiler<BR>&gt; CMAKE_C_COMPILER:STRING=cl<BR>&gt; //Flags for C compiler.<BR>&gt; CMAKE_C_FLAGS:STRING= /W3 /Zm1000<BR>&gt; //Flags used by the linker.<BR>&gt; CMAKE_EXE_LINKER_FLAGS:STRING=/STACK:10000000 /machine:I386 /INCREMENTAL:YES<BR>&gt; //Install path prefix, prepended onto install
 directories.<BR>&gt; CMAKE_INSTALL_PREFIX:PATH=/usr/local<BR>&gt; //make program<BR>&gt; CMAKE_MAKE_PROGRAM:FILEPATH=C:/PROGRA~1/MICROS~1.NET/Common7/IDE/devenv.com<BR>&gt; //Flags used by the linker during the creation of modules.<BR>&gt; CMAKE_MODULE_LINKER_FLAGS:STRING=<BR>&gt; //Flags used by the linker during the creation of dll's.<BR>&gt; CMAKE_SHARED_LINKER_FLAGS:STRING=/STACK:10000000 /machine:I386 <BR>&gt; /INCREMENTAL:YES<BR>&gt; //If set, runtime paths are not added when using shared libraries.<BR>&gt; //<BR>&gt; CMAKE_SKIP_RPATH:BOOL=OFF<BR>&gt; //Libraries linked by defalut with all applications.<BR>&gt; CMAKE_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib <BR>&gt; winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib <BR>&gt; oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib <BR>&gt; gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib <BR>&gt; oleaut32.lib uuid.lib odbc32.lib odbccp32.lib<BR>&gt; //If this
 value is on, makefiles will be generated without the<BR>&gt; // .SILENT directive, and all commands will be echoed to the console<BR>&gt; // during the make. This is useful for debugging only.<BR>&gt; CMAKE_VERBOSE_MAKEFILE:BOOL=OFF<BR>&gt; //Single output directory for building all executables.<BR>&gt; EXECUTABLE_OUTPUT_PATH:PATH=<BR>&gt; //Where can one of the fltk or fltkd libraries be found<BR>&gt; FLTK_BASE_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkd.lib<BR>&gt; //Path to a program.<BR>&gt; FLTK_FLUID_EXECUTABLE:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/fluid/fluidd.exe<BR>&gt; //Where can one of the fltkforms, fltkformsd or fltk_forms libraries<BR>&gt; // be found<BR>&gt; FLTK_FORMS_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkformsd.lib<BR>&gt; //Where can one of the fltkgl, fltkgld or fltk_gl libraries be<BR>&gt; // found<BR>&gt; FLTK_GL_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkgld.lib<BR>&gt; //Where can one
 of the fltkimages, fltkimagesd or fltk_images libraries<BR>&gt; // be found<BR>&gt; FLTK_IMAGES_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkimagesd.lib<BR>&gt; //What is the path where the file FL/Fl.h can be found<BR>&gt; FLTK_INCLUDE_DIR:PATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1<BR>&gt; //Use FLTK version 1.0.11<BR>&gt; FLTK_VERSION_1.0.11:BOOL=OFF<BR>&gt; //Use FLTK version 1.1<BR>&gt; FLTK_VERSION_1.1:BOOL=ON<BR>&gt; //The directory containing ITKConfig.cmake. This is either the<BR>&gt; // root of the build tree, or PREFIX/lib/InsightToolkit for an<BR>&gt; // installation.<BR>&gt; ITK_DIR:PATH=C:/itk_160/InsightToolkit-1.6.0-BIN<BR>&gt; //Single output directory for building all libraries.<BR>&gt; LIBRARY_OUTPUT_PATH:PATH=<BR>&gt; //Value Computed by CMake<BR>&gt; Project_BINARY_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0-BIN/ThinPlateSpines<BR>&gt; //Value Computed by CMake<BR>&gt;
 Project_SOURCE_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0/ThinPlateSplines<BR>&gt; //Location of Tcl library imported from VTK. This may mean your<BR>&gt; // project is depending on VTK to get this setting. Consider using<BR>&gt; // FindTCL.cmake.<BR>&gt; TCL_LIBRARY:FILEPATH=<BR>&gt; //Location of Tk library imported from VTK. This may mean your<BR>&gt; // project is depending on VTK to get this setting. Consider using<BR>&gt; // FindTCL.cmake.<BR>&gt; TK_LIBRARY:FILEPATH=<BR>&gt; //Value Computed by CMake<BR>&gt; ThinPlateSplines_BINARY_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0-BIN/ThinPlateSpines<BR>&gt; //Value Computed by CMake<BR>&gt; ThinPlateSplines_SOURCE_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0/ThinPlateSplines<BR>&gt; //The directory containing VTKConfig.cmake. This is either the<BR>&gt; // root of the build tree, or PREFIX/lib/vtk for an installation.<BR>&gt; // For VTK 4.0, this is the location of UseVTK.cmake. This is<BR>&gt; // either the root of the
 build tree or PREFIX/include/vtk for<BR>&gt; // an installation.<BR>&gt; VTK_DIR:PATH=C:/vtk_42/VTKBIN<BR>&gt; <BR>&gt; ########################<BR>&gt; # INTERNAL cache entries<BR>&gt; ########################<BR>&gt; //Advanced flag for variable: CMAKE_AR<BR>&gt; CMAKE_AR-ADVANCED:INTERNAL=1<BR>&gt; //What is the target build tool cmake is generating for.<BR>&gt; CMAKE_BUILD_TOOL:INTERNAL=C:/PROGRA~1/MICROS~1.NET/Common7/IDE/devenv.com<BR>&gt; //This is the directory where this CMakeCahe.txt was created<BR>&gt; CMAKE_CACHEFILE_DIR:INTERNAL=c:/itk_160/InsightApplications-1.6.0-BIN/ThinPlateSpines<BR>&gt; //Major version of cmake used to create the current loaded cache<BR>&gt; //<BR>&gt; CMAKE_CACHE_MAJOR_VERSION:INTERNAL=1<BR>&gt; //Minor version of cmake used to create the current loaded cache<BR>&gt; //<BR>&gt; CMAKE_CACHE_MINOR_VERSION:INTERNAL=8<BR>&gt; //Major version of cmake used to create the current loaded cache<BR>&gt; //<BR>&gt; CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch
 1<BR>&gt; //Path to CMake executable.<BR>&gt; CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe<BR>&gt; //Advanced flag for variable: CMAKE_CONFIGURATION_TYPES<BR>&gt; CMAKE_CONFIGURATION_TYPES-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_CXX_COMPILER<BR>&gt; CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1<BR>&gt; //Result of TRY_COMPILE<BR>&gt; CMAKE_CXX_COMPILER_WORKS:INTERNAL=TRUE<BR>&gt; //Advanced flag for variable: CMAKE_CXX_FLAGS<BR>&gt; CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_CXX_STACK_SIZE<BR>&gt; CMAKE_CXX_STACK_SIZE-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_CXX_WARNING_LEVEL<BR>&gt; CMAKE_CXX_WARNING_LEVEL-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_C_COMPILER<BR>&gt; CMAKE_C_COMPILER-ADVANCED:INTERNAL=1<BR>&gt; //Result of TRY_COMPILE<BR>&gt; CMAKE_C_COMPILER_WORKS:INTERNAL=TRUE<BR>&gt; //Advanced flag for variable: CMAKE_C_FLAGS<BR>&gt;
 CMAKE_C_FLAGS-ADVANCED:INTERNAL=1<BR>&gt; //Path to cache edit program executable.<BR>&gt; CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/CMakeSetup.exe<BR>&gt; //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS<BR>&gt; CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1<BR>&gt; //Name of generator.<BR>&gt; CMAKE_GENERATOR:INTERNAL=Visual Studio 7 .NET 2003<BR>&gt; //Start directory with the t op level CMakeLists.txt file for this<BR>&gt; // project<BR>&gt; CMAKE_HOME_DIRECTORY:INTERNAL=C:/itk_160/InsightApplications-1.6.0/ThinPlateSplines<BR>&gt; //Advanced flag for variable: CMAKE_INSTALL_PREFIX<BR>&gt; CMAKE_INSTALL_PREFIX-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_MAKE_PROGRAM<BR>&gt; CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS<BR>&gt; CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1<BR>&gt; //noop for ranlib<BR>&gt; CMAKE_RANLIB:INTERNAL=:<BR>&gt; //Path to CMake installation.<BR>&gt;
 CMAKE_ROOT:INTERNAL=C:/Program Files/CMake<BR>&gt; //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS<BR>&gt; CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_SKIP_RPATH<BR>&gt; CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_STANDARD_LIBRARIES<BR>&gt; CMAKE_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE<BR>&gt; CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1<BR>&gt; //FLTK library, headers and Fluid are available<BR>&gt; FLTK_FOUND:INTERNAL=1<BR>&gt; //Advanced flag for variable: FLTK_VERSION_1.0.11<BR>&gt; FLTK_VERSION_1.0.11-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable: FLTK_VERSION_1.1<BR>&gt; FLTK_VERSION_1.1-ADVANCED:INTERNAL=1<BR>&gt; //Can we honour the FLTK_WRAP_UI command<BR>&gt; FLTK_WRAP_UI:INTERNAL=1<BR>&gt; //Advanced flag for variable: TCL_LIBRARY<BR>&gt; TCL_LIBRARY-ADVANCED:INTERNAL=1<BR>&gt; //Advanced flag for variable:
 TK_LIBRARY<BR>&gt; TK_LIBRARY-ADVANCED:INTERNAL=1<BR>&gt; //Path to an executable<BR>&gt; ThinPlateSplines_CMAKE_PATH:INTERNAL=C:/itk_160/InsightApplications-1.6.0-BIN/ThinPlateSpines<BR>&gt; <BR>&gt; <BR>&gt; */Luis Ibanez <LUIS.IBANEZ@KITWARE.COM>/* wrote:<BR>&gt; <BR>&gt; <BR>&gt; Hi Hans,<BR>&gt; <BR>&gt; The file:<BR>&gt; <BR>&gt; fltkTimeProbesCollectorGUI.h<BR>&gt; <BR>&gt; should be generated by FLTK fluid during the build<BR>&gt; process of the directory:<BR>&gt; <BR>&gt; InsightApplications/Auxiliary/FltkImageViewer<BR>&gt; <BR>&gt; <BR>&gt; The file should appear in the Binary directory where<BR>&gt; you are attempting to build InsightApplications, and<BR>&gt; it should be in the subdirectory<BR>&gt; <BR>&gt; Auxiliary/FltkImageViewer<BR>&gt; <BR>&gt; <BR>&gt; If the file is not there, then it is very likely<BR>&gt; that you have not specified correctly the location<BR>&gt; of fluid.exe.<BR>&gt; <BR>&gt; Please verify this by running CMake and checking on<BR>&gt; the
 advanced values.<BR>&gt; <BR>&gt; If you continue experiencing any problems, then please<BR>&gt; post the CMakeCache.txt file to the users-list. This<BR>&gt; file is generated by CMake in the binary directory of<BR>&gt; InsightApplications.<BR>&gt; <BR>&gt; <BR>&gt; Thanks<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Luis<BR>&gt; <BR>&gt; <BR>&gt; -----------------<BR>&gt; Hans Wolf wrote:<BR>&gt; &gt;<BR>&gt; &gt; Hello,<BR>&gt; &gt;<BR>&gt; &gt; I've installed ITK+VTK+FLTK, configured de advanced values of<BR>&gt; FLTK in<BR>&gt; &gt; Cmake but I still get this error:<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; C:\itk_160\InsightApplications-1.6.0\Auxiliary\FltkImageViewer\fltkTimeProbesCollector.h(21):<BR>&gt; <BR>&gt; &gt; fatal error C1083: Cannot open include file:<BR>&gt; &gt; 'fltkTimeProbesCollectorGUI.h': No such file or directory<BR>&gt; &gt; and I don't find this file anywhere....<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt; &gt; Hans<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;
 _______________________________________________<BR>&gt; &gt; Insight-users mailing list<BR>&gt; &gt; Insight-users@itk.org<BR>&gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Bestellen Sie Y! DSL und erhalten Sie die *AVM "FritzBox SL" für 0€. Sie <BR>&gt; sparen 119€ und bekommen 2 Monate Grundgebührbefreiung.*<BR>&gt; http://de.adsl.yahoo.com <BR>&gt; <HTTP: de.adsl.yahoo.com *http: taglines mail de.rd.yahoo.com><BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Insight-users mailing list<BR>&gt; Insight-users@itk.org<BR>&gt; http://www.itk.org/mailman/listinfo/insight-users<BR><BR><BR><BR></BLOCKQUOTE><p>
                <hr size=1>Bestellen Sie Y! DSL und erhalten Sie die <b>AVM "FritzBox SL" für 0€.  Sie sparen 119€ und bekommen 2 Monate Grundgebührbefreiung.</b><br><a href="http://de.rd.yahoo.com/mail/taglines/*http://de.adsl.yahoo.com">http://de.adsl.yahoo.com</a>