Hi Julien,<br> <br> I was using shared libraries. I will recompile ITK once again then :-)<br> <br> For FLTK, in the readme of InsightApplications, the following is written:<br> <br> Some important configuration details:<br> <br> * VTK requires VTK version 4.4 and must be built ANSI_STDLIB<br> (the ANSI_STDLIB flag is only a concern with VisualStudio 6.0).<br> <br> * CMake version 2.0.3 or later should be used.<br> <br> * FLTK version 1.1.4 is required<br> <br> * Qt version 2.3 is required (if you select to build Qt examples)<br><br> <br> That's why I was using an older version of FLTK. You may want to change this note then :). All right, so I will compile FLTK too. <br> <br> Thanks a lot!<br> Esen<br><b><i><br> Julien Jomier <julien.jomier@kitware.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid
rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Esen,<br><br>Happy to see that we are making some progress :)<br><br>The error looks like a mis-compilation of ITK or something like that. <br>Did you try to recompile ITK?<br>Are you compiling ITK using shared libraries? Can you try using static <br>libraries? (there is an option in CMake)<br><br>For the information FLTK 1.1.6 comes with a CMakeLists.txt and you <br>should be able to run CMake on it. Then when you configure <br>InsightApplications with CMake the FLTK_DIR is the FLTK binary directory <br>generated by CMake and CMake should magically find all the FLTK related <br>libraries and includes.<br><br>Julien<br><br>Seniha Esen Yuksel wrote:<br>> Oh, sorry. I didn't compile FLTK with cmake, since it does not have a <br>> cmakelists.txt file. I just did make in its own directory. With the <br>> new settings, I am getting the error below now. The CmakeCache is in <br>>
http://www.cise.ufl.edu/~seyuksel/CMakeCache.txt.<br>> I cannot thank you enough for your help!<br>> Esen<br>> <br>> plum:62% make<br>> Generating ImageViewerGUI.cxx<br>> Scanning dependencies of target ImageViewer<br>> Building CXX object ImageViewer/CMakeFiles/ImageViewer.dir/ImageViewer.o<br>> Building CXX object ImageViewer/CMakeFiles/ImageViewer.dir/ImageViewerGUI.o<br>> Linking CXX executable ImageViewer<br>> /usr/local/lib/libITKFltkImageViewer.so: undefined reference to <br>> `itk::TimeProbesCollectorBase::Report() const'<br>> collect2: ld returned 1 exit status<br>> make[2]: *** [ImageViewer/ImageViewer] Error 1<br>> make[1]: *** [ImageViewer/CMakeFiles/ImageViewer.dir/all] Error 2<br>> make: *** [all] Error 2<br>> <br>> <br>> */Julien Jomier <julien.jomier @kitware.com="">/* wrote:<br>> <br>> Hi Esen,<br>> <br>> When you ran CMake on FLTK I assume you specified where to build the<br>>
binaries (this is the binary directory I'm talking about).<br>> <br>> The main problem you have is that the FLTK_INCLUDE_DIR is defined as:<br>> <br>> FLTK_INCLUDE_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4/FL<br>> <br>> and should actually be:<br>> <br>> FLTK_INCLUDE_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4<br>> <br>> Also the FLTK_DIR directory should point to the binary directory<br>> defined<br>> when running CMake. It looks like your binary and source directories<br>> are the same...<br>> <br>> FLTK_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4<br>> <br>> Let us know if that helps,<br>> <br>> Julien<br>> <br>> Seniha Esen Yuksel wrote:<br>> > Hi Julien,<br>> ><br>> > At the expense of sounding stupid, I don't see a bin directory in<br>>
Fltk.<br>> > However, FLTK survived the Cmake flawlessly and I have<br>> executables in<br>> > the test directory and they are working great. Below is the<br>> > CMakeCache.txt. Thanks a lot for your help.<br>> > Esen<br>> ><br>> <br>> <br>> <br>> <br>> Seniha Esen Yuksel<br>> University of Florida<br>> <br>> ------------------------------------------------------------------------<br>> Do you Yahoo!?<br>> Everyone is raving about the all-new Yahoo! Mail Beta. <br>> <http: //us.rd.yahoo.com/evt="40791/*http://advision.webevents.yahoo.com/handraisers"> <br>> <br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Insight-users mailing list<br>> Insight-users@itk.org<br>>
http://www.itk.org/mailman/listinfo/insight-users<br><br></http:></julien.jomier></blockquote><br><p> 
                <hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>