[Insight-users] problem linking InsightApplications/Auxiliary/QtGlSliceView'QtGLSliceView example
Sergio Aguirre
sergio.aguirre at gmail.com
Fri Apr 17 15:46:16 EDT 2009
Hello
I am trying to run the ITK-QT example code located in the repository
InsightApplications/Auxiliary/QtImageViewer directory.
Unfortunately I keep getting a link error with the message below.
After researching the error it seems like there would be a virtual class
definitions lacking. After reviewing the code I could not find anything
apparently wrong.
Any suggestions?
Thank you
Sergio
Linking CXX executable QtSlicer
CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function
`QtGlSliceView::~QtGlSliceView()':
QtGlSliceView.cxx:(.text+0xbc2): undefined reference to `vtable for
QtGlSliceView'
QtGlSliceView.cxx:(.text+0xbca): undefined reference to `vtable for
QtGlSliceView'
CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function
`QtGlSliceView::~QtGlSliceView()':
QtGlSliceView.cxx:(.text+0xcb2): undefined reference to `vtable for
QtGlSliceView'
QtGlSliceView.cxx:(.text+0xcba): undefined reference to `vtable for
QtGlSliceView'
CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function
`QtGlSliceView::~QtGlSliceView()':
QtGlSliceView.cxx:(.text+0xd92): undefined reference to `vtable for
QtGlSliceView'
CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o:QtGlSliceView.cxx:(.text+0xd9a):
more undefined references to `vtable for QtGlSliceView' follow
collect2: ld returned 1 exit status
make[2]: *** [QtSlicer] Error 1
make[1]: *** [CMakeFiles/QtSlicer.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090417/7143662a/attachment-0001.htm>
More information about the Insight-users
mailing list