AW: AW: AW: [Insight-users] FLTK???????
Mathieu Malaterre
malat@free.fr
Mon, 17 Feb 2003 18:01:54 +0100
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@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@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@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\FastMarchingLevelSe
>>>>
>>>>
>t
>
>
>>>>
>>>>
>>>>
>>>>
>>B
>>
>>
>>
>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>a
>>>
>>>
>>>
>>>
>>>
>>>
>>>>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\FastMarchingLevelSe
>>>>
>>>>
>t
>
>
>>>>
>>>>
>>>>
>>>>
>>B
>>
>>
>>
>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>a
>>>
>>>
>>>
>>>
>>>
>>>
>>>>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\FastMarchingLevelSe
>>>>
>>>>
>t
>
>
>>>>
>>>>
>>>>
>>>>
>>B
>>
>>
>>
>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>a
>>>
>>>
>>>
>>>
>>>
>>>
>>>>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@public.kitware.com
>>>>http://public.kitware.com/mailman/listinfo/insight-users