WG: AW: AW: AW: [Insight-users] FLTK???????

William A. Hoffman billlist at nycap.rr.com
Fri Jul 9 13:53:21 EDT 2004


This is a bug in CMake 2.0.2.  It will be fixed in CMake 2.0.3, for
now just set the advanced variable: FLTK_WRAP_UI to true and it should work.

-Bill



At 01:15 AM 2/18/2003, Luis Ibanez wrote:

>Hi Waltraut,
>
>When and error is reported in "FLTK_WRAP_UI"
>this means that some of the FLTK components
>have not been found.
>
>You may have to enable the "Advanced" options
>in CMake and verify that the four FLTK libraries
>are specified, the fluid executable and the path
>to the FLTK headers.
>
>A simple verification may be for you to
>open the CMakeCache.txt file, take all the
>FLTK_ related lines and post them to the list.
>(only those lines...).  One or several of them
>might not be defined correctly in your
>configuration.
>
>
>  Luis
>
>
>-----------------------------
>Waltraud Henrich wrote:
>>Hello,
>>
>>I tried build it in
>>D:\Programme\Development\Insight\Applications\FastMarchingLevelSet
>>but I get the same error with FLTK_WRAP_UI.
>>I work with CMakeSetupDialog .I can't Set USE_FLTK_VERSION_1.0.11 = OFF
>>Set USE_FLTK_VERSION_1.1      = ON
>>Provide  FLTK_INCLUDE_PATH
>>Provide  FLTK_FLUID_EXE
>>Provide  ITK_BINARY_PATH.
>>Where I must turn the parameters to ON ? In which file ?
>>and who provide the path to VTK and FLTK?
>>Thanks
>>Waltraut
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Mathieu Malaterre [mailto:malat at free.fr]
>>Gesendet: Montag, 17. Februar 2003 17:48
>>An: Waltraud Henrich
>>Cc: ITK Users
>>Betreff: Re: AW: AW: AW: [Insight-users] FLTK???????
>>
>>Waltraud,
>>  I tried buildind FastMarchingLevelSet outside of ITK build tree but it is too much a trouble.
>>  So I recommend you to build it in the 'Build tree' (remove the line you added in Application/FastMarchingLevelSet/CMakeLists.txt)
>>And then go back to main build dir ccmake the main tree and turn to ON:
>>HAS_FLTK
>>HAS_FLTKIMAGEVIEWER
>>HAS_VTK
>>You'll be done then (you'll have to provide path to VTK and FLTK but that's all).
>>cheers,
>>mathieu
>>
>>Waltraud Henrich wrote:
>>
>>>Hello,
>>>
>>>
>>>You mean the file in Insight? I missing all the three term. I send the CMakeCache.txt too.
>>>
>>>
>>>Thanks Waltraut
>>>
>>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: Mathieu Malaterre [mailto:malat at free.fr]
>>>Gesendet: Montag, 17. Februar 2003 17:22
>>>An: Waltraud Henrich
>>>Betreff: Re: AW: AW: [Insight-users] FLTK???????
>>>
>>>
>>>Sorry Waltraud
>>>
>>>I forgot to ask you for your InsightBin/CMakeCache.txt
>>>Or If you prefer you can answer me directly
>>>
>>>What is the value of
>>>
>>>HAS_FLTK
>>>HAS_FLTKIMAGEVIEWER
>>>
>>>HAS_VTK
>>>
>>>
>>>If one of them is missing (i.e. is OFF) then you can't build FastMarchingLevelSet
>>>
>>>mathieu
>>>
>>>
>>>Waltraud Henrich wrote:
>>>
>>>
>>>
>>>>Hello,
>>>>
>>>>1)Application/CMakeLists1.txt
>>>>here I renamed the file in CMakeLists1.txt
>>>>
>>>>2)Application/FastMarchingLevelSet/CMakeLists.txt
>>>>
>>>>In CMakeLists.txt I add
>>>>INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake) 
>>>>3)Application/FastMarchingLevelSet/CMakeCache.txt
>>>>
>>>>thanks
>>>>
>>>>Waltraut
>>>>
>>>>
>>>>-----Ursprüngliche Nachricht-----
>>>>Von: Mathieu Malaterre [mailto:malat at free.fr]
>>>>Gesendet: Montag, 17. Februar 2003 16:59
>>>>An: Waltraud Henrich
>>>>Betreff: Re: AW: [Insight-users] FLTK???????
>>>>
>>>>
>>>>Waltraud,
>>>>
>>>>Could you send me your:
>>>>
>>>>Application/CMakeLists.txt
>>>>
>>>>and
>>>>
>>>>Application/FastMarchingLevelSet/CMakeLists.txt
>>>>
>>>>and
>>>>
>>>>Application/FastMarchingLevelSet/CMakeCache.txt
>>>>
>>>>thanks
>>>>
>>>>mathieu
>>>>
>>>>Waltraud Henrich wrote:
>>>>
>>>>
>>>>
>>>>  
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>I enable BUILD_APPLICATIONS:BOOL=ON but I don't get
>>>>> 
>>>>>
>>>>>    
>>>>
>>>>FastMarchingLevelSet.dsw
>>>>
>>>>
>>>>  
>>>>
>>>>
>>>>>so I must build FastMarching.
>>>>>Why?
>>>>>
>>>>>Thanks in advance.
>>>>>
>>>>>Waltraut
>>>>>
>>>>>
>>>>>-----Ursprüngliche Nachricht-----
>>>>>Von: Mathieu Malaterre [mailto:malat at free.fr]
>>>>>Gesendet: Montag, 17. Februar 2003 16:18
>>>>>An: Waltraud Henrich
>>>>>Cc: ITK Users
>>>>>Betreff: Re: [Insight-users] FLTK???????
>>>>>
>>>>>
>>>>>Waltraud,
>>>>>Did you enable :
>>>>>
>>>>>BUILD_APPLICATIONS:BOOL=ON
>>>>>
>>>>>in your CMakeCache.txt ? (or by ccmake ../Insight) ?
>>>>>If so everything should be ok.
>>>>>
>>>>>If you prefer to build FastMarching outside of ITK Binary dir you can access options by pressing the key 't' (advanced mode)
>>>>>
>>>>>HTH
>>>>>mathieu
>>>>>
>>>>>Waltraud Henrich wrote:
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>
>>>>>    
>>>>>
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>
>>>>>>I will run the FastMarchingLevelSet demo application. I try to compile
>>>>>>      
>>>the
>>>
>>>
>>>>>>ITK examples with CMakeSetup.exe.(Visual Studio 6) I read the
>>>>>>Getting-Started-4.pdf how I can Running CMake.
>>>>>>When I run CMake then I get the following error:
>>>>>>CMake Error:FLTK_WRAP_UI: Error:
>>>>>>FLTK_WRAP_UI called whith FLTK_WRAP_UI undefined  from CMakeLists.txt
>>>>>>      
>>>file
>>>
>>>
>>>>>>in directory:
>>>>>>D:/user/henrich/FastMarchingFLTK/FastMarchingLevelSet
>>>>>>
>>>>>>I read in the mailingList from Mon, 23 Dec 2002 12:11:49 -0500  that I
>>>>>>   
>>>>>>
>>>>>>      
>>>>have
>>>>
>>>>
>>>>  
>>>>
>>>>
>>>>>>to add the following line to their CMakeLists.txt file: 
>>>>>>INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake) 
>>>>>>I add the following line and I receive the error message  this time but
>>>>>>      
>>>if
>>>
>>>>>I
>>> 
>>>
>>>>>>click on configure button, I  get ahead . I can Set USE_FLTK_VERSION_1.0.11 = OFF
>>>>>>Set USE_FLTK_VERSION_1.1      = ON
>>>>>>Provide  FLTK_INCLUDE_PATH
>>>>>>Provide  FLTK_FLUID_EXE
>>>>>>but I can't Provide  ITK_BINARY_PATH
>>>>>>When I click on configure button and then on OK button. I open the
>>>>>>FastMarchingLevelSet.dsw and built the project.
>>>>>>I get the FastMarchingLevelSetGUI.h and the FastMarchingLevelSetGUI.cxx
>>>>>
>>>>>from
>>>>>
>>>>>
>>>>>>the FastMarchingLevelSetGUI.fl and I get the following error:
>>>>>>
>>>>>>D:\user\henrich\FastMarchingFLTK\FastMarchingLevelSet\FastMarchingLevelS
>>e
>>
>>>>>>      
>>>>>
>>>>>>se.h(20) : fatal error C1083: Include-Datei kann nicht geoeffnet werden:
>>>>>>'itkImageFileReader.h': No such file or directory
>>>>>>FastMarchingLevelSetBase.cxx
>>>>>>D:\user\henrich\FastMarchingFLTK\FastMarchingLevelSet\FastMarchingLevelS
>>e
>>
>>>>>>      
>>>>>
>>>>>>se.h(20) : fatal error C1083: Include-Datei kann nicht geoeffnet werden:
>>>>>>'itkImageFileReader.h': No such file or directory
>>>>>>FastMarchingLevelSetGUI.cxx
>>>>>>D:\user\henrich\FastMarchingFLTK\FastMarchingLevelSet\FastMarchingLevelS
>>e
>>
>>>>>>      
>>>t
>>
>>>>>>se.h(20) : fatal error C1083: Include-Datei kann nicht geoeffnet werden:
>>>>>>'itkImageFileReader.h': No such file or directory
>>>>>>Generieren von Code...
>>>>>>Fehler beim Ausführen von cl.exe.
>>>>>>
>>>>>>ALL_BUILD - 3 Fehler, 0 Warnung(en)
>>>>>>
>>>>>>The Include file cannot be opened I think that the error cams because I can't provide ITK_BINARY_PATH.
>>>>>>
>>>>>>What can I do?
>>>>>>
>>>>>>Thanks in advance.
>>>>>>
>>>>>>Waltraut
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Insight-users mailing list
>>>>>>Insight-users at public.kitware.com
>>>>>>http://public.kitware.com/mailman/listinfo/insight-users
>>>>>>
>>>>>>
>>>>>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users



More information about the Insight-users mailing list