[Insight-developers] fltk frustrations
Lorensen, William E (Research)
lorensen at crd . ge . com
Fri, 2 Aug 2002 16:52:34 -0400
Seems like that was the problem. We'll see tonight.
Thanks,
Bill
-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
Sent: Friday, August 02, 2002 1:04 PM
To: Lorensen, William E (Research)
Cc: 'insight-developers@public.kitware.com'
Subject: Re: [Insight-developers] fltk frustrations
Hi Bill,
There seem to be a conflicting entry in the cache file.
The main difference between the FLTK version 1.0.11 and
FLTK version 1.1 is the addition of two libraries.
For FLTK 1.0.11 there is only:
- libfltk.a
while for FLTK 1.1 there is:
- libfltk.a
- libfltk_gl.a
- libfltk_forms.a
Originaly FindFLTK.cmake only had a "FLTK_LIBRARY" variable
but in order to adapt to the 1.1 version, this was expanded
to three variables, one for each library:
FLTK_BASE_LIBRARY = libfltk.a
FLTK_GL_LIBRARY = libfltk_gl.a
FLTK_FORMS_LIBRARY = libfltk_forms.a
which are then concatenated in the original FLTK_LIBRARY
variable using the following CMake line:
SET( FLTK_LIBRARY ${FLTK_BASE_LIBRARY} ${FLTK_GL_LIBRARY}
${FLTK_FORMS_LIBRARY} )
The CMakeCache.txt file in pragmatic has the following value
for FLTK_BASE_LIBRARY:
FLTK_BASE_LIBRARY:FILEPATH=/usr/local/lib/libfltk.a
Which is inconsistent with the configuration for the values
of FLTK_INCLUDE_PATH and FLTK_FLUID_EXE:
FLTK_FLUID_EXE:FILEPATH=/projects/quality/itkQuality/fltk-linux/fluid/fluid
FLTK_INCLUDE_PATH:PATH=/projects/quality/itkQuality/fltk-linux
FLTK_BASE_LIBRARY should probably point to:
FLTK_BASE_LIBRARY:FILEPATH=/projects/quality/itkQuality/fltk-linux/lib/libfltk.a
Luis