[Insight-users] export2RTSTRUCT

panos korfiatisp at gmail.com
Mon Dec 9 13:09:04 EST 2013


Hi all,


I am trying to compile the export2RTSTRUCT code published at the
Insight-journal <http://www.insight-journal.org/browse/publication/316>  

However I am getting the following error that I cannot explain:

[100%] Building CXX object CMakeFiles/export2RTSTRUCT.dir/export2RTSTRUCT.o
Linking CXX executable export2RTSTRUCT
CMakeFiles/export2RTSTRUCT.dir/export2RTSTRUCT.o: In function
`itk::RTSTRUCTIO::New()':
export2RTSTRUCT.cxx:(.text._ZN3itk10RTSTRUCTIO3NewEv[itk::RTSTRUCTIO::New()]+0x42):
undefined reference to `itk::RTSTRUCTIO::RTSTRUCTIO()'
CMakeFiles/export2RTSTRUCT.dir/export2RTSTRUCT.o: In function
`itk::ObjectFactory<itk::RTSTRUCTIO>::Create()':
export2RTSTRUCT.cxx:(.text._ZN3itk13ObjectFactoryINS_10RTSTRUCTIOEE6CreateEv[itk::ObjectFactory<itk::RTSTRUCTIO>::Create()]+0xf):
undefined reference to `typeinfo for itk::RTSTRUCTIO'
export2RTSTRUCT.cxx:(.text._ZN3itk13ObjectFactoryINS_10RTSTRUCTIOEE6CreateEv[itk::ObjectFactory<itk::RTSTRUCTIO>::Create()]+0x4e):
undefined reference to `typeinfo for itk::RTSTRUCTIO'
collect2: ld returned 1 exit status
make[2]: *** [export2RTSTRUCT] Error 1
make[1]: *** [CMakeFiles/export2RTSTRUCT.dir/all] Error 2
make: *** [all] Error 2

I am using cmake 2.8.9, ITK 4.3, my operating system is Scientific Linux 6.4
and gcc compiler 4.4.7 20120313

Thank you in advance


Panagiotis Korfiatis



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/export2RTSTRUCT-tp7584559.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list