[Insight-users] RE: FLTK problem -- still struggling [Insight-users
Digest, Vol 26, Issue 75]
Dey, Joyoni
Joyoni.Dey at umassmed.edu
Fri Jun 30 10:14:06 EDT 2006
I went through this recently -- I had problems initially building InsightApplications with FLTK --
the libraries were not all in one dir. But finally I went ahead and actually read the README file, and after a standard make, I did a make install to install the libraries -- which put all the FLTK libraries i one dir /usr/local/lib and /usr/local/include by default (you can specify something else).
then I specified that include lib in the CMake for InsightApplications. And magically it did find everything else.
hope that helps.
cheers,
Joyoni Dey
Message: 3
Date: Thu, 29 Jun 2006 10:16:43 -0700 (PDT)
From: Seniha Esen Yuksel <eseny99 at yahoo.com>
Subject: Re: [Insight-users] FLTK problem -- still struggling
To: Julien Jomier <julien.jomier at kitware.com>
Cc: insight-users at itk.org
Message-ID: <20060629171643.78998.qmail at web54506.mail.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Julien,
I was using shared libraries. I will recompile ITK once again then :-)
For FLTK, in the readme of InsightApplications, the following is written:
Some important configuration details:
* VTK requires VTK version 4.4 and must be built ANSI_STDLIB
(the ANSI_STDLIB flag is only a concern with VisualStudio 6.0).
* CMake version 2.0.3 or later should be used.
* FLTK version 1.1.4 is required
* Qt version 2.3 is required (if you select to build Qt examples)
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.
Thanks a lot!
Esen
Julien Jomier <julien.jomier at kitware.com> wrote: Hi Esen,
Happy to see that we are making some progress :)
The error looks like a mis-compilation of ITK or something like that.
Did you try to recompile ITK?
Are you compiling ITK using shared libraries? Can you try using static
libraries? (there is an option in CMake)
For the information FLTK 1.1.6 comes with a CMakeLists.txt and you
should be able to run CMake on it. Then when you configure
InsightApplications with CMake the FLTK_DIR is the FLTK binary directory
generated by CMake and CMake should magically find all the FLTK related
libraries and includes.
Julien
Seniha Esen Yuksel wrote:
> Oh, sorry. I didn't compile FLTK with cmake, since it does not have a
> cmakelists.txt file. I just did make in its own directory. With the
> new settings, I am getting the error below now. The CmakeCache is in
> http://www.cise.ufl.edu/~seyuksel/CMakeCache.txt.
> I cannot thank you enough for your help!
> Esen
>
> plum:62% make
> Generating ImageViewerGUI.cxx
> Scanning dependencies of target ImageViewer
> Building CXX object ImageViewer/CMakeFiles/ImageViewer.dir/ImageViewer.o
> Building CXX object ImageViewer/CMakeFiles/ImageViewer.dir/ImageViewerGUI.o
> Linking CXX executable ImageViewer
> /usr/local/lib/libITKFltkImageViewer.so: undefined reference to
> `itk::TimeProbesCollectorBase::Report() const'
> collect2: ld returned 1 exit status
> make[2]: *** [ImageViewer/ImageViewer] Error 1
> make[1]: *** [ImageViewer/CMakeFiles/ImageViewer.dir/all] Error 2
> make: *** [all] Error 2
>
>
> */Julien Jomier /* wrote:
>
> Hi Esen,
>
> When you ran CMake on FLTK I assume you specified where to build the
> binaries (this is the binary directory I'm talking about).
>
> The main problem you have is that the FLTK_INCLUDE_DIR is defined as:
>
> FLTK_INCLUDE_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4/FL
>
> and should actually be:
>
> FLTK_INCLUDE_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4
>
> Also the FLTK_DIR directory should point to the binary directory
> defined
> when running CMake. It looks like your binary and source directories
> are the same...
>
> FLTK_DIR:PATH=/cise/research51/cvgmi_04/seyuksel/source/FLTK/fltk-1.1.4
>
> Let us know if that helps,
>
> Julien
>
> Seniha Esen Yuksel wrote:
> > Hi Julien,
> >
> > At the expense of sounding stupid, I don't see a bin directory in
> Fltk.
> > However, FLTK survived the Cmake flawlessly and I have
> executables in
> > the test directory and they are working great. Below is the
> > CMakeCache.txt. Thanks a lot for your help.
> > Esen
> >
>
>
>
>
> Seniha Esen Yuksel
> University of Florida
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail Beta.
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
---------------------------------
Want to be your own boss? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060629/a685b1fc/attachment.html
------------------------------
Message: 4
Date: Thu, 29 Jun 2006 13:54:06 -0700 (PDT)
From: Shlomo Kashani <shlomo_kashani at yahoo.com>
Subject: [Insight-users] Performance of writer->Update()
To: insight-users at itk.org
Message-ID: <5110103.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi,
I am reading a 24Bit PNG file with a resolution of 768x576 and size of
approximately 0.5MB, applying a canny edge detector on it and then writing
the edge mapped image to the file system. The later part consumes on average
1.1 seconds (oevr a sequence of 100 write operations) even tough the
resulting image size is 18KB. Are these the expected writing times on a 2GH
CPU machine?
..\..\release>IrisRecognition.exe 056R_3.png 056R_3_canny.png 50
Canny done; Time = 0.063
Writer done; Time = 1.109
Thank you,
Shlomo.
--
View this message in context: http://www.nabble.com/Performance-of-writer-%3EUpdate%28%29-tf1869765.html#a5110103
Sent from the ITK - Users forum at Nabble.com.
------------------------------
Message: 5
Date: Thu, 29 Jun 2006 15:49:58 -0700 (PDT)
From: schatpun at ucsd.edu
Subject: [Insight-users] Problems with getting start Itk
To: insight-users at itk.org
Message-ID:
<2544.128.54.45.138.1151621398.squirrel at acs-webmail.ucsd.edu>
Content-Type: text/plain;charset=iso-8859-1
Hi,
I am a new user for Itk for Windows. I tried to follow Itk guidebook to
install and start to use Itk. I already download CMake 2.4 from the
website and I double clicked the CMake setup to run. I wonder that
when I select item in the Buid For drop down list, does it require to
have a complier such as Borland C++ or visual studio in my laptop?
Regards,
Surapong
------------------------------
Message: 6
Date: Thu, 29 Jun 2006 16:10:30 -0700 (PDT)
From: "Shlomo Kashani." <shlomo_kashani at yahoo.com>
Subject: [Insight-users] Issues with the
HoughTransform2DCirclesImageFilter class
To: ITK1 <insight-developers at itk.org>, ITK2 <insight-users at itk.org>
Message-ID: <20060629231030.35342.qmail at web51115.mail.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: 056R_3_1_Hough.png
Type: image/x-png
Size: 903 bytes
Desc: 2310355026-056R_3_1_Hough.png
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060629/b688cdc1/056R_3_1_Hough.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 056R_3_canny.png
Type: image/x-png
Size: 17903 bytes
Desc: 4173932152-056R_3_canny.png
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060629/b688cdc1/056R_3_canny.bin
------------------------------
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
End of Insight-users Digest, Vol 26, Issue 75
*********************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7043 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060630/64499a82/attachment-0001.bin
More information about the Insight-users
mailing list