[Insight-users] 1. Re: ITK-FLTK problems (Luis Ibanez)

Luis Ibanez luis.ibanez at kitware.com
Tue Aug 3 22:43:57 EDT 2004


Hi Dhanesh,

You have not read the Tutorial with the apropriate
level of attention, and have not paid attention to
the help that CMake gives you regarding the expected
values for every CMake variable.

When CMake request you to specify libraries, those
libraries should be provided in a full path, including
the library name itself.

This is clearly illustrated in both the
tutorial and the FAQ entry in the Wiki pages
http://www.itk.org/Wiki/ITK_FAQ#FLTK_WRAP_UI_called_with_FLTK_WARP_UI_undefined

You probably missed the explicit example:
 
FLTK_BASE_LIBRARY:FILEPATH=E:/cygwin/home/ibanez/src/fltk-1.1.3/lib/fltkd.lib
FLTK_FLUID_EXECUTABLE:FILEPATH=E:/cygwin/home/ibanez/src/fltk-1.1.3/fluid/fluidd.exe 
FLTK_FORMS_LIBRARY:FILEPATH=E:/cygwin/home/ibanez/src/fltk-1.1.3/lib/fltkformsd.lib
FLTK_GL_LIBRARY:FILEPATH=E:/cygwin/home/ibanez/src/fltk-1.1.3/lib/fltkgld.lib 
FLTK_IMAGES_LIBRARY:FILEPATH=E:/cygwin/home/ibanez/src/fltk-1.1.3/lib/fltkimagesd.lib
FLTK_INCLUDE_DIR:PATH=E:/cygwin/home/ibanez/src/fltk-1.1.3

given in the Wiki page above.


  Regards,


    Luis


----------------------------------
Dhanesh Ramachandram wrote:

> Hi Luis,
> 
> Thanks for your guidance, but there seems to be yet some problems
> although I corrected the directory for FLUID to/usr/local/bin/fluid  the
> CMakeLists.txt file as per your instructions. I can't seem to find
> answers in the Wiki or the GettingStartedIV.pdf files. So I'm back here.
> These are the errors associated with the DistanceMap Filter example:
> ---------------------------------------------------------------------------------------------
> 
> Building executable
> /home/dhanesh/ITK/InsightApplications-1.6.0/DistanceMapFilter/DistanceMapFilter...
> /usr/local/lib: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> make[3]: ***
> [/home/dhanesh/ITK/InsightApplications-1.6.0/DistanceMapFilter/DistanceMapFilter] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_DistanceMapFilter] Error 2
> make: *** [default_target] Error 2
> 
> ____________________________________________________________________________________
> 
> 
> 
>>Message: 1
>>Date: Tue, 03 Aug 2004 09:20:53 -0400
>>From: Luis Ibanez <luis.ibanez at kitware.com>
>>Subject: Re: [Insight-users] ITK-FLTK problems
>>To: dhaneshr at cs.usm.my
>>Cc: insight-users at itk.org
>>Message-ID: <410F9135.4070307 at kitware.com>
>>Content-Type: text/plain; charset=us-ascii; format=flowed
>>
>>
>>Hi Dhanesh,
>>
>>The problem seems to be here:
>>
>> > 
>>/home/dhanesh/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...
>> > make[5]: execvp: /usr/local/bin: Permission denied
>>
>>
>>It is likely related to the FLUID_EXECUTABLE CMake entry
>>that you specified when you ran CMake.
>>
>>You probably wrote :
>>
>>           /usr/local/bin
>>
>>instead of the full
>>
>>           /usr/local/bin/fluid
>>
>>
>>Please read the tutorial on the use of ITK+FLTK
>>
>>    http://www.itk.org/HTML/Tutorials.htm
>>http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf	
>>
>>and look at FAQ entry on the same topic.
>>
>>    http://www.itk.org/Wiki
>>http://www.itk.org/Wiki/ITK_FAQ#FLTK_WRAP_UI_called_with_FLTK_WARP_UI_undefined
>>
>>
>>That will show you how to configure FLTK entries
>>correctly.
>>
>>
>>
>>Regards,
>>
>>
>>   Luis
>>
>>
>>-------------------------------
>>Dhanesh Ramachandram wrote:
>>
>>
>>>Hi,
>>>
>>>I've been trying to use ITK with FLTK-1.1.4 on a Fedora Core 2 machine.
>>>I compiled ITK-1.6.0, VTK 4.2.2 and FLTK-1.1.4 successfully. I use CMake
>>>2.0.2 However, when I try to compile the  InsightApplications, I get the
>>>follwoing errors :
>>>
>>>Building dependencies. cmake.depends...
>>>-- Loading VTK CMake commands
>>>-- Loading VTK CMake commands - done
>>>cmake.depends is up-to-date
>>>/home/dhanesh/ITK/InsightApplications-1.6.0/Auxiliary: building
>>>default_target
>>>Building dependencies. cmake.depends...
>>>cmake.depends is up-to-date
>>>/home/dhanesh/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer:
>>>building default_target
>>>Building dependencies. cmake.depends...
>>>Building Custom command
>>>/home/dhanesh/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...
>>>make[5]: execvp: /usr/local/bin: Permission denied
>>>make[5]: ***
>>>[/home/dhanesh/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx] Error 127
>>>make[4]: *** [default_target] Error 2
>>>make[3]: *** [default_target_FltkImageViewer] Error 2
>>>make[2]: *** [default_target] Error 2
>>>make[1]: *** [default_target_Auxiliary] Error 2
>>>make: *** [default_target] Error 2
>>>
>>>
>>>I'm dumbfounded. Can anyone possible help me out ? Thanks a lot
>>>
>>>
>>>
>>
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 






More information about the Insight-users mailing list