[Insight-users] build example using fltk

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


Hi! Lius, I tried your method by deleteing the binary dir and reconfiguring
using cmake, however, the problem still exists.
i set fltk_include_path to the directory I put fltk, I set fltk_library to
fltkd.lib, I set fluid_exe to fluidd.exe, are they correct?

although I did not update cmake, I cannot see an updated cmake can make any
difference. I will try it tonight and report you the process.

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
>>
>>
>