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