<DIV>Hello Julien,</DIV>
<DIV>&nbsp;</DIV>
<DIV>It still doesn't work. 'fltkTimeProbesCollectorGUI.h' is not generated so I still get this compiling error. C:\itk_160\InsightApplications-1.6.0\Auxiliary\FltkImageViewer\fltkTimeProbesCollector.h(21): fatal error C1083: Cannot open include file: 'fltkTimeProbesCollectorGUI.h': No such file or directory<BR></DIV>
<DIV>How can I generate it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Hans<BR><BR><B><I>Julien Jomier &lt;jjomier@cs.unc.edu&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Hans,<BR><BR>As Luis said, you need to include some files from InsightApplications.<BR>I've attached a FindInsightApplications.cmake file that you can use for your<BR>application.<BR>You need to copy the file in your source directory of your application and<BR>add a line like this one in your CMakeLists.txt:<BR><BR>INCLUDE(${ThinPlateSplines _SOURCE_DIR}/FindInsightApplications.cmake)<BR><BR>Hope this helps,<BR><BR>Julien<BR><BR>-----Original Message-----<BR>From: insight-users-bounces@itk.org [mailto:insight-users-bounces@itk.org]<BR>On Behalf Of Hans Wolf<BR>Sent: Monday, June 21, 2004 1:03 PM<BR>To: Luis Ibanez<BR>Cc: insight-users@itk.org<BR>Subject: Re: [Insight-users] Compilation error<BR>inInsightApplications\ThinPlateSpines<BR><BR><BR>Hi Luis,<BR><BR>To compile ThinPlateSplines I have modified CMakeLists.txt as follows: <BR><BR>PROJECT( ThinPlateSplines )<BR><BR>#<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)<BR><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)<BR><BR>#<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)<BR><BR>INCLUDE_DIRECTORIES(<BR>${ThinPlateSplines_SOURCE_DIR}<BR>)<BR>#<BR># Define the list of source
 files<BR>#<BR>SET(APPLICATION_SOURCES<BR>ThinPlateSplinesApplicationBase.cxx<BR>ThinPlateSplinesApplication.cxx <BR>main.cxx<BR>)<BR><BR>ADD_EXECUTABLE( ThinPlateSplines ${APPLICATION_SOURCES})<BR>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><BR><BR><BR>Thanks,<BR>Hans<BR><BR>Luis Ibanez <LUIS.IBANEZ@KITWARE.COM>wrote:<BR><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; compil ed 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<BR>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 co mmands 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<BR>/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;<BR>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 t his 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;<BR>FLTK_BASE_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkd.l<BR>ib<BR>&gt; //Path to a
 program.<BR>&gt;<BR>FLTK_FLUID_EXECUTABLE:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/fluid/f<BR>luidd.exe<BR>&gt; //Where can one of the fltkforms, fltkformsd or fltk_forms libraries<BR>&gt; // be found<BR>&gt;<BR>FLTK_FORMS_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkfo<BR>rmsd.lib<BR>&gt; //Where can one of the fltkgl, fltkgld or fltk_gl libraries be<BR>&gt; // found<BR>&gt;<BR>FLTK_GL_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltkgld.l<BR>ib<BR>&gt; //Where can one of the fltkimages, fltkimagesd or fltk_images libraries<BR>&gt; // be found<BR>&gt;<BR>FLTK_IMAGES_LIBRARY:FILEPATH=C:/fltk-1.1.5rc1-source/fltk-1.1.5rc1/lib/fltki<BR>magesd.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;<BR>Project_BINARY_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0-BIN/ThinPlate<BR>Spines<BR>&gt; //Value Computed by CMake<BR>&gt;<BR>Project_SOURCE_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0/ThinPlateSpli<BR>nes<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;<BR>ThinPlateSplines_BINARY_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0-BIN/<BR>ThinPlateSpines<BR>&gt; //Value Computed by CMake<BR>&gt;<BR>ThinPlateSplines_SOURCE_DIR:STATIC=C:/itk_160/InsightApplications-1.6.0/Thin<BR>PlateSplines<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 roo t 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;<BR>CMAKE_CACHEFILE_DIR:INTERNAL=c:/itk_160/InsightApplications-1.6.0-BIN/ThinPl<BR>ateSpines<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:INTERN AL=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;<BR>CMAKE_HOME_DIRECTORY:INTERNAL=C:/itk_160/InsightApplications-1.6.0/ThinPlate<BR>Splines<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;<BR>ThinPlateSplines_CMAKE_PATH:INTERNAL=C:/itk_160/InsightApplications-1.6..0-BI<BR>N/ThinPlateSpines<BR>&gt; <BR>&gt; <BR>&gt; */Luis Ibanez /* 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;<BR>C:\itk_160\InsightApplications-1.6.0\Auxiliary\FltkImageViewer\fltkTimeProbe<BR>sCollector.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; <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><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><BR><BR>&gt; ATTACHMENT part 2 application/octet-stream name=FindInsightApplications.cmake<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>