[CMake] FLTK issue with cmake
John Drescher
drescherjm at gmail.com
Sun Jul 14 22:49:14 EDT 2013
On Sun, Jul 14, 2013 at 10:47 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Sat, Jul 6, 2013 at 7:49 AM, moon light <moon_light3838 at yahoo.com> wrote:
>> Hi All,
>>
>> I'm facing a problem with FLTK and cmake and i found a previous post
>> discusses the same problem but i'm not fully understand how it was solved.
>> what i'm trying to do is to build itk applications so i have to build itk,
>> vtk and fltk first but during itk applications configuration using cmake it
>> gave me the following error below.
>>
>> ITK VERSION: 4.3.1
>> VTK VERSION: 5.10.1
>> CMake Error at CMakeLists.txt:134 (FIND_PACKAGE):
>> Could not find a package configuration file provided by "FLTK" with any of
>> the following names:
>> FLTKConfig.cmake
>> fltk-config.cmake
>> Add the installation prefix of "FLTK" to CMAKE_PREFIX_PATH or set
>> "FLTK_DIR" to a directory containing one of the above files. If "FLTK"
>> provides a separate development package or SDK, be sure it has been
>> installed.
>> Configuring incomplete, errors occurred!
>>
>
> I just built ITK-4.3.1 + VTK-5.10.0 + FLTK-1.1.10. Then I tried to
> configure FLTK (which I built with cmake).
I meant I tried to configure ITKApps-3.4 to use fltk
>For me there was no issue
> with finding FLTK. I believe that is because the FindFLTK.cmake on
> windows looks for FLTK in the recent cmake builds you have done that
> are listed in a registry key. Anyways I did not have the above issue
> however still I got the following fatal errors when configuring
> ITKApps--4.3.0:
>
> CMake Error at CMakeLists.txt:137 (INCLUDE):
> include called with wrong number of arguments. Include only takes one
> file.
>
>
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> FLTK_FLUID_EXECUTABLE
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> FLTK_FLUID_EXECUTABLE
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> FLTK_FLUID_EXECUTABLE
>
> I am not exactly why this is happening since there is a fluid.exe.
> Maybe the finder requires that I install FLUID for a configuration. I
> did not do that. I will have to look at this later.
>
> John
--
John M. Drescher
More information about the CMake
mailing list