Dear ShapeWorks users,
I'm trying to build the source that I cloned from github. I'm under Opensuse 13.1 64 bit, with gcc 4.8.1. When I open the "ShapeWorksView" option, I got the following error:
======================
Linking CXX executable ShapeWorksView
CMakeFiles/ShapeWorksView.dir/ShapeWorksViewApp.cxx.o: In function `ShapeWorksViewApp::ShapeWorksViewApp(char const*)':
ShapeWorksViewApp.cxx:(.text+0x8127): undefined reference to `AnalyzeCorrespondenceGUI::~AnalyzeCorrespondenceGUI()'
CMakeFiles/ShapeWorksView.dir/ShapeWorksViewApp.cxx.o:(.rodata._ZTI17ShapeWorksViewApp[_ZTI17ShapeWorksViewApp]+0x10): undefined reference to `typeinfo for AnalyzeCorrespondenceGUI'
CMakeFiles/ShapeWorksView.dir/ShapeWorksViewApp.cxx.o:(.rodata._ZTV17ShapeWorksViewApp[_ZTV17ShapeWorksViewApp]+0x30): undefined reference to `AnalyzeCorrespondenceGUI::Hide()'
CMakeFiles/ShapeWorksView.dir/ShapeWorksView.cxx.o: In function `ShapeWorksViewApp::~ShapeWorksViewApp()':
ShapeWorksView.cxx:(.text._ZN17ShapeWorksViewAppD2Ev[_ZN17ShapeWorksViewAppD5Ev]+0x285): undefined reference to `AnalyzeCorrespondenceGUI::~AnalyzeCorrespondenceGUI()'
ShapeWorksView.cxx:(.text._ZN17ShapeWorksViewAppD2Ev[_ZN17ShapeWorksViewAppD5Ev]+0x428): undefined reference to `AnalyzeCorrespondenceGUI::~AnalyzeCorrespondenceGUI()'
CMakeFiles/ShapeWorksView.dir/ShapeWorksView.cxx.o: In function `ShapeWorksViewApp::~ShapeWorksViewApp()':
ShapeWorksView.cxx:(.text._ZN17ShapeWorksViewAppD0Ev[_ZN17ShapeWorksViewAppD0Ev]+0x285): undefined reference to `AnalyzeCorrespondenceGUI::~AnalyzeCorrespondenceGUI()'
ShapeWorksView.cxx:(.text._ZN17ShapeWorksViewAppD0Ev[_ZN17ShapeWorksViewAppD0Ev]+0x430): undefined reference to `AnalyzeCorrespondenceGUI::~AnalyzeCorrespondenceGUI()'
CMakeFiles/ShapeWorksView.dir/AnalyzeCorrespondenceGUI.cxx.o: In function `AnalyzeCorrespondenceGUI::AnalyzeCorrespondenceGUI()':
AnalyzeCorrespondenceGUI.cxx:(.text+0x6bc): undefined reference to `vtable for AnalyzeCorrespondenceGUI'
==============================
My ITK and VTK path should be fine (no errors), and here is the snapshot of my ccmake:
=======================
Page 1 of 1
BUILD_EXECS_AT_SAME_LEVEL OFF
BUILD_ICPRigid3DRegistration OFF
BUILD_MeshSupport OFF
BUILD_OSX_APP OFF
BUILD_PowerCrust OFF
BUILD_ShapeWorksShop OFF
BUILD_ShapeWorksView ON
BUILD_ShapeWorksView2 OFF
BUILD_Unsupported OFF
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /usr/local
FLTK_BASE_LIBRARY /usr/lib64/libfltk.so
FLTK_CONFIG_SCRIPT /usr/bin/fltk-config
FLTK_DIR FLTK_DIR-NOTFOUND
FLTK_FLUID_EXECUTABLE /usr/bin/fluid
FLTK_FORMS_LIBRARY /usr/lib64/libfltk_forms.so
FLTK_GL_LIBRARY /usr/lib64/libfltk_gl.so
FLTK_IMAGES_LIBRARY /usr/lib64/libfltk_images.so
FLTK_INCLUDE_DIR /usr/include
FLTK_MATH_LIBRARY /usr/lib64/libm.so
ITK_DIR /scratch/packages/InsightToolkit-3.20.1/build
VTK_DIR /scratch/packages/VTK5.10.1/build
Did I miss anything? I appreciate your help.
Wei