[Insight-users] build example using fltk
Ting Chen
chenting at graphics . cis . upenn . edu
Thu, 8 Aug 2002 12:33:12 -0400
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
----- Original Message -----
From: "Luis Ibanez" <luis.ibanez@kitware.com>
To: "Ting Chen" <chenting@graphics.cis.upenn.edu>
Cc: <insight-users@public.kitware.com>
Sent: Friday, August 02, 2002 3:09 PM
Subject: Re: [Insight-users] build example using fltk
>
> Hi Ting,
>
> How old is your version of CMake ?
>
> It must at least have the support for FLTK_COMMAND_UI...
>
> Could you verify that your CMakeCache.txt file has
> "FLTK_FLUID_EXE" pointing to the right place where the
> executable for "fluid" can be found ?
>
> I would suggest you to update CMake to be in the safe side,
> however is you are in a hurry for seeing this example up and
> running, you can just use fluid to generate the .h and .cxx
> files from the .fd file.
>
> In the command line you can do:
>
> fluid -c myGUI.fld
>
> and that will generate the .h and .cxx files. You will have
> to put them in the binary directory. You can also open the
> .fld file with fluid and then go to "File->Generate Code"
> in the menu bar.
>
> This is just a quick and dirt way of getting the .h and .cxx.
>
>
> You may have a better use of your friday evening if you
> just update CMake and rebuild it, :-)
>
>
> That will be much faster and safer.
>
> Hope that helps,
>
> Luis
>
> =============================================================
>
> Ting Chen wrote:
> > Hi!
> >
> > I am building rawimagereaderviewer using fltk 1.0.11 and an older
version of
> > cmake. I changed the value of some parameters in cmake to enable fltk.
> > however, I found that my compliere (vc6.0 on winxp) cannot create .h and
> > .cxx file from .fld file.
> > does anyone have solutions for the problem?
> >
> > thankis
> >
> > ting
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >
> >
>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>