Hi Sergio,
from your output I can see that you are using MITK 0.12.2, which is
certainly *not* compatible with ITK 3.16. Our download site
unfortunately does not state the compatible ITK and VTK version numbers,
I filed bug #2535 at bugs.mitk.org - sorry for that. You have the
following options:
- Use MITK 0.12.2 with ITK 3.12 (not sure if ITK 3.14 works -
probably it does) and VTK 5.4. Note that MITK 0.12.2 was our last stable
release for Qt3. Building it with Qt4 will only produce some simple demo
applications. If you really must use Qt4, you should use our SVN
repository.
- Use the current development branch at
http://svn2.mitk.org/trunk/mitk. It is compatible with VTK 5.4.2 and ITK
3.16 and Qt 4.5.
Regards,
Sascha
Von: Sergio Aguirre [mailto:[email protected]]
Gesendet: Montag, 28. September 2009 16:15
An: Zelzer Sascha
Cc: [email protected]
Betreff: Re: [mitk-users] compiling MITK
Sascha
Thank you for the reply. I was able con compile the code successfully
after turning SHARED_LIBS OFF at CMAKE for MITK.
What would be the difference if I recompile ITK and MITK with
SHARED_LIBS ON. Should I have VTK with SHARED_LIBS ON as well?
Also, when I was compiling the MITK with SHARED_LIBS OFF some other
items generated an error all on the same code.
[ 47%] Building CXX object
Core/CMakeFiles/mitkCore.dir/Algorithms/mitkPolygonToRingFilter.o
/home/sergio/Desktop/engine/mitk-0.12.2/Core/Algorithms/mitkPolygonToRin
gFilter.cpp: In member function 'virtual void
mitk::PolygonToRingFilter::GenerateData()':
/home/sergio/Desktop/engine/mitk-0.12.2/Core/Algorithms/mitkPlanesPerpen
dicularToLinesFilter.cpp: In member function 'virtual void
mitk::PlanesPerpendicularToLinesFilter::GenerateData()':
[ 46%] Building CXX object
Core/CMakeFiles/mitkCore.dir/Algorithms/mitkInterpolateLinesFilter.o
/home/sergio/Desktop/engine/mitk-0.12.2/Core/Algorithms/mitkInterpolateL
inesFilter.cpp: In member function 'virtual void
mitk::InterpolateLinesFilter::GenerateData()':
All of them point to an ITK piece of code....
/usr/local/include/InsightToolkit/Common/itkMapContainer.h:112: note:
candidates are: itk::MapContainer<long unsigned int,
itk::CellInterface<mitk::PointSet::CellDataType,
And all of them generated the error at this piece of code...
cellEnd = input->GetMesh( t )->GetCells()->End();
for ( cellIt = input->GetMesh( t )->GetCells()->Begin();
cellIt != cellEnd;
++cellIt )
My question is, will having SHARED LIBS ON correct these error messages
as well?, also when testing the tutorial codes, the REGION GROWING did
not work... would this be the cause as well?
Thank you!
Sergio
On Sun, Sep 27, 2009 at 11:35 PM, Zelzer Sascha
<[email protected]> wrote:
Hi Sergio,
hmmm... looks like you are trying to link to a statically build ITK. You
could try to set BUILD_SHARED_LIBS to ON in your ITK CMake
configuration. Please also note that although compiling against Qt 4.4
might work, we recommend using Qt 4.5 for compiling the GUI
applications.
Hope this helps,
Sascha
-----Original Message-----
From: Sergio Aguirre [mailto:[email protected]]
Sent: Sat 9/26/2009 10:40 PM
To: [email protected]
Subject: [mitk-users] compiling MITK
Hi everyone
I am trying out MITK and ran into a small problem when compiling. My
system
is a 64bit OpenSuse machine with QT 4.4.3, VTK 5.4.2 and ITK 3.16 and
Cmake
The MITK files configure correctly on CMAKE but when I run "make" I get
the
following message
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d:
/usr/local/lib/InsightToolkit/libitkzlib.a(gzio.o): relocation
R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/InsightToolkit/libitkzlib.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[2]: *** [bin/libmitkIpPic.so] Error 1
make[1]: *** [Utilities/ipPic/CMakeFiles/mitkIpPic.dir/all] Error 2
make: *** [all] Error 2
Any suggestions?
Sergio
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users