[Insight-developers] ITKApps Superbuild

Bill Hoffman bill.hoffman at kitware.com
Wed Jan 25 11:39:03 EST 2012


On 1/24/2012 10:01 PM, Rupert Brooks wrote:
> Yes, and the compile line does have -ldl, but its the first thing on
> the line i.e.
>
> /usr/bin/c++     -ldl CMakeFiles/fluid.dir/CodeEditor.cxx.o
> CMakeFiles/fluid.dir/Fl_Function_Type.cxx.o
> CMakeFiles/fluid.dir/Fl_Group_Type.cxx.o CMakeFiles/flu....
>
> if i manually run the command, and add -ldl at the end, it links ok.
>
> I guess it needs to be added to CMake such that it shows up at the
> end.  Any CMake gurus want to comment?
> --------------------------------------------------------------
> Rupert Brooks
> rupert.brooks at gmail.com
>
This is something that really needs to be in the fltk CMakeLists.txt 
files. There is not a clean way to just add libraries to the link line. 
  You could use the patch process of exteranl_project_add to add a fix.

-Bill


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the Insight-developers mailing list