Hello <br><br>I am trying to run the ITK-QT example code located in the repository InsightApplications<font size="2">/Auxiliary/QtImageViewer directory. <br><br>Unfortunately I keep getting a link error with the message below. <br>
<br>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. <br><br>Any suggestions? <br><br>Thank you <br><br>Sergio <br>
<br><br><br>Linking CXX executable QtSlicer<br>CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function `QtGlSliceView::~QtGlSliceView()':<br>QtGlSliceView.cxx:(.text+0xbc2): undefined reference to `vtable for QtGlSliceView'<br>
QtGlSliceView.cxx:(.text+0xbca): undefined reference to `vtable for QtGlSliceView'<br>CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function `QtGlSliceView::~QtGlSliceView()':<br>QtGlSliceView.cxx:(.text+0xcb2): undefined reference to `vtable for QtGlSliceView'<br>
QtGlSliceView.cxx:(.text+0xcba): undefined reference to `vtable for QtGlSliceView'<br>CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o: In function `QtGlSliceView::~QtGlSliceView()':<br>QtGlSliceView.cxx:(.text+0xd92): undefined reference to `vtable for QtGlSliceView'<br>
CMakeFiles/QtSlicer.dir/QtGlSliceView.cxx.o:QtGlSliceView.cxx:(.text+0xd9a): more undefined references to `vtable for QtGlSliceView' follow<br>collect2: ld returned 1 exit status<br>make[2]: *** [QtSlicer] Error 1<br>
make[1]: *** [CMakeFiles/QtSlicer.dir/all] Error 2<br>make: *** [all] Error 2<br></font>