Fwd: Re: [Insight-users] CMake error when using FLTK

Luis Ibanez luis . ibanez at kitware . com
Mon, 26 May 2003 22:05:58 -0400


Hi Helder,

The situation is about the same with ImageViewerGUI.fld
in the directory

           InsightApplications/ImageViewer

The .fld file is intended to be used by 'fluid' to generate
.cxx and .h files.  The ImageViewerGUI.h and ImageViewerGUI.cxx
files should appear in the binary directory where you built
InsightApplications. CMake will invoke 'fluid' at configuration
time for creating these two files.



Regards,


    Luis



---------------------------
Helder Carvalho wrote:
> Hi again,
> 
> I've got both the  fltkImageViewerGUI.h and the  fltkImageViewerGUI.cxx, 
> what i don't seem to have is the  ImageViewerGUI.h included in the 
> ImageViewer.cxx file. So the problem is with the  ImageViewerGUI.h not 
> the fltkImageViewerGUI.h
> 
> Regards,
> Helder Carvalho
> 
> 
>> From: Luis Ibanez <luis . ibanez at kitware . com>
>> To: Helder Carvalho <hel_carvalho at hotmail . com>
>> CC: "'Insight-users at public . kitware . com'" 
>> <Insight-users at public . kitware . com>
>> Subject: Re: Fwd: Re: [Insight-users] CMake error when using FLTK
>> Date: Mon, 26 May 2003 11:17:39 -0400
>>
>> Hi Helder,
>>
>> The files
>>
>>       fltkImageViewerGUI.h
>>       fltkImageViewerGUI.cxx
>>
>> are generated by fluid at configuration time.
>>
>> They are not in the repositoy since that will
>> be redundant with the file
>>
>>        fltkImageViewerGUI.fl
>>
>> These .h and .cxx files should appear in your
>> binary directory under the subdirectory:
>>
>>        Auxiliary/FltkImageViewer
>>
>> CMake will take care of invoking fluid in
>> order to generate these files.  If those
>> files are not produced, this may indicate
>> that there are still a problem with your
>> FLTK configuration.
>>
>> Note for example that the content of
>> FLUID_EXECUTABLE should be the full path
>> (including fluid.exe) to the executable.
>> It is not just the directory where the
>> executable is.
>>
>>
>> Please check the content of this variable.
>>
>>
>>
>>   Regards,
>>
>>
>>     Luis
>>
>>
>>
>> -----------------------------
>>
>> Helder Carvalho wrote:
>>
>>> hi Luis,
>>>
>>> I found my mistake,i wasn't providing any  FLUID_EXECUTABLE, but the 
>>> rest was OK.
>>>
>>>  So i runned CMake again and all went fine, the project file came out 
>>> ok, but when i compiled it i got an error on the ImageViewer.cxx it 
>>> seems i dont have the file ImageViewerGUI.h.  I searched the 
>>> InsightApplications  folder and the nearest thing i got was the 
>>> fltkImageViewerGUI.h so i went to the 
>>> http://www . itk . org/cgi-bin/cvsweb . cgi/InsightApplications/ImageViewer/?cvsroot=Insight&hideattic=0#dirlist 
>>>
>>>
>>> but theres no file called  ImageViewerGUI.h just the ImageViewerGUI.fld.
>>>
>>> So where can i find the ImageViewerGUI.h???
>>>
>>> Regards,
>>> Helder Carvalho
>>>
>>
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join . msn . com/?page=features/virus
> 
>