[Insight-users] build example using fltk

Ting Chen chenting at graphics . cis . upenn . edu
Sat, 10 Aug 2002 19:40:00 -0500


Hi! Luis, I just tried cmake 1.4.3, but only to get the same result. I think
it must because some of my settings are not correct, if you do not mind, I
would like to send you the cmakecahe file I created. Is that ok?

thanks!

ting



-----Original Message-----
From: Luis Ibanez <luis.ibanez@kitware.com>
To: Ting Chen <chenting@graphics.cis.upenn.edu>
Cc: insight-users@public.kitware.com <insight-users@public.kitware.com>
Date: Friday, August 09, 2002 6:59 AM
Subject: Re: [Insight-users] build example using fltk


>
>Hi Ting,
>
>Something strange seems to be happening there, the
>.fl file should not be passed to the preprocessor.
>
>It should be passed to "fluid" with a command line
>similar to :
>
>    fluid  -c  itkRawImageReaderViewerGUI.fl
>
>with this, fluid should generate .h and .cxx file
>on your binary directory.
>
>I will suggest to clean your binary directory
>and reconfigure with CMake.
>
>I will also suggest you to upgrade your version
>of CMake. the latest release of CMake is 1.4.3
>http://www.cmake.org/HTML/Download.html
>
>
>Please let us know if you continue experiencing
>problems with the configuration.
>
>
>   Thanks
>
>     Luis
>
>=====================================================
>
>Ting Chen wrote:
>> HI! Luis, thanks for the help. I found that "FLTK_FLUID_EXE" was
mispointed.
>> Now the problem has been solved, however,
>> I encounter the following error message afterwards:
>>
>> C:\..\My
>>
Insightpath\Insight\Examples\RawImageReaderViewer\itkRawImageReaderViewerGUI
>> .FL(1) : fatal error C1021: invalid preprocessor command 'data'
>>
>> it seems the compiler cannot correctly handle the .fl file. What
parameters
>> should I set to overcome the problem?
>> by the way, my cmake is version 1.2 patch 2
>>
>> thanks!
>>
>> ting
>>
>>
>