[IGSTK-Users] example build errors
Sam Sun
wxdl.jx at gmail.com
Tue Sep 4 23:52:43 EDT 2012
Hello;
On Ubuntu12.04 I successfully built IGSTK5.0 when setting "build examples"
off but encountered build errors as listed below when setting "build
examples" on:
Linking CXX executable ../../bin/igstkTrackerDataLoggerGUI
CMakeFiles/igstkTrackerDataLoggerGUI.dir/igstkTrackerDataLoggerMainFLTK.cxx.o:
In function `main':
/IGSTK-5.0/Examples/TrackerDataLogger/igstkTrackerDataLoggerMainFLTK.cxx:37:
undefined reference to `TrackerDataLoggerGUI::~TrackerDataLoggerGUI()'
/IGSTK-5.0/Examples/TrackerDataLogger/igstkTrackerDataLoggerMainFLTK.cxx:37:
undefined reference to `TrackerDataLoggerGUI::~TrackerDataLoggerGUI()'
CMakeFiles/igstkTrackerDataLoggerGUI.dir/igstkTrackerDataLoggerGUI.cxx.o:(.rodata._ZTV20TrackerDataLoggerGUI[vtable
for TrackerDataLoggerGUI]+0x18): undefined reference to
`TrackerDataLoggerGUI::~TrackerDataLoggerGUI()'
CMakeFiles/igstkTrackerDataLoggerGUI.dir/igstkTrackerDataLoggerGUI.cxx.o:(.rodata._ZTV20TrackerDataLoggerGUI[vtable
for TrackerDataLoggerGUI]+0x20): undefined reference to
`TrackerDataLoggerGUI::~TrackerDataLoggerGUI()'
collect2: ld returned 1 exit status
make[2]: *** [bin/igstkTrackerDataLoggerGUI] Error 1
make[1]: ***
[Examples/TrackerDataLogger/CMakeFiles/igstkTrackerDataLoggerGUI.dir/all]
Error 2
make: *** [all] Error 2
Any help to fix this problem is greatly appreciated.
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120904/de064e09/attachment-0001.html>
More information about the IGSTK-Users
mailing list