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/ld: /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
