[Insight-users] itk installation
Uli Aretz
u_aretz at hotmail.com
Mon Mar 14 12:36:25 EDT 2011
Hi Rayn,
thank you for your answer.
Of course, you are right. I use cmake to configure and generate the makefiles.
Then I compile my code via the Shell/Terminal with GCC (C++ Compiler).
After defining the location of my FLTK binaries and libraries right (thank you Rayn!!) I use the "make" command to build ITKGray.
Then I get the following Message:
" [ 89%] Building CXX object CMakeFiles/itksnapui.dir/SnakeParametersUI.cxx.o
[ 90%] Building CXX object CMakeFiles/itksnapui.dir/UserInterface.cxx.o
Linking CXX static library libitksnapui.a
[100%] Built target itksnapui
Scanning dependencies of target InsightSNAP
[100%] Building CXX object CMakeFiles/InsightSNAP.dir/UserInterface/SNAPMain.cxx.o
Linking CXX executable InsightSNAP
ld: duplicate symbol ImageWrapper<unsigned short>::InitializeToWrapper(ImageWrapperBase const*, itk::Image<unsigned short, 3u>*)in libitksnaplogic.a(GreyImageWrapper.cxx.o) and libitksnaplogic.a(LabelImageWrapper.cxx.o)
collect2: ld returned 1 exit status
make[2]: *** [InsightSNAP] Error 1
make[1]: *** [CMakeFiles/InsightSNAP.dir/all] Error 2
make: *** [all] Error 2"
Have you any idea what to do?
Sorry for my inexperience.
Thanks.
Uli
Date: Mon, 14 Mar 2011 09:05:53 -0700
Subject: Re: [Insight-users] itk installation
From: ryanleesmith at gmail.com
To: u_aretz at hotmail.com
CC: insight-users at itk.org
Hi Uli-
Cmake is your cross platform make software, not your compiler. Did you compile your code, e.g. using visual studio in windows? When you opened your ITKGray project in CMake, did you define the location of your compiled FLTK binaries and libraries inside of the Cmake GUI? Cheers-
-Ryan
On Mon, Mar 14, 2011 at 2:16 AM, Uli Aretz <u_aretz at hotmail.com> wrote:
Hi Ryan,
I use Cmake 2.8-4.
Now I get the problem with ITK. I just download the new version of ITK and Cmake and it works.
But I have a new problem:
At the end I want to install ITKGray on my MAC OSX(10.6.5). While installing ITKGray I get a problem with FLTK allthough it is already installed and works.
These are the steps I have done:
1) Install ITK, VTK and FLTK ..... and they work!
2) Download itkGray with
svn co https://white.stanford.edu/repos/itkgray
3) When I want to configure itkgray with cmake I get this message:
"Fltk resources not found, GUI application will not respond to mouse events
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it."
I do not know if this mailinglist is the right one but perhaps you have
an idea?
Thank you for help.
Uli
Date: Wed, 9 Mar 2011 10:25:48 -0800
Subject: Re: [Insight-users] itk installation
From: ryanleesmith at gmail.com
To: u_aretz at hotmail.com
CC: insight-users at itk.org
Hi Uli-
Which compiler do you intend to use? Thanks--Ryan
On Wed, Mar 9, 2011 at 5:25 AM, Uli Aretz <u_aretz at hotmail.com> wrote:
Dear ITK users,
I tried to install ITK on my MAC OSX(10.6.5) but do not get it compiled.
These are the steps I have done:
1) cvs -d :pserver:anonymous at www.itk.org:/cvsroot/Insight login
2) cvs -d :pserver:anonymous at www.itk.org:/cvsroot/Insight co -r
ITK-2-6 Insight
the download works but I get some errors while the compilation with
cmake:
Warning: turning off implicit template instantiation
CMake Error: Checking signedness of char -- failed
3) I have also tried other versions of ITK
I do not know how to solve the problem anymore. I would be happy if you could help me.
Thank you for your efforts.
Yours sincerely
Uli
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110314/2a6b5dbf/attachment.htm>
More information about the Insight-users
mailing list