I am starting with the Displacement constraint and using PartDesignGui::ViewProviderDressUp as the base. Currently, I am having some problem importing a class PartDesignGui::ReferenceHighlighter. The exact error report is as follows:
Code: Select all
/usr/bin/ld: CMakeFiles/FemGui.dir/ViewProviderFemConstraintDisplacement.cpp.o: in function `FemGui::ViewProviderFemConstraintDisplacement::highlightReferences(bool)':
.../src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp:122: undefined reference to `PartDesignGui::ReferenceHighlighter::ReferenceHighlighter(TopoDS_Shape const&, App::Color const&)'
/usr/bin/ld: .../src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp:133: undefined reference to `PartDesignGui::ReferenceHighlighter::ReferenceHighlighter(TopoDS_Shape const&, App::Color const&)'
/usr/bin/ld: .../src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp:134: undefined reference to `PartDesignGui::ReferenceHighlighter::getEdgeColors(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<App::Color, std::allocator<App::Color> >&) const'
/usr/bin/ld: .../src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp:142: undefined reference to `PartDesignGui::ReferenceHighlighter::ReferenceHighlighter(TopoDS_Shape const&, App::Color const&)'
/usr/bin/ld: .../src/Mod/Fem/Gui/ViewProviderFemConstraintDisplacement.cpp:143: undefined reference to `PartDesignGui::ReferenceHighlighter::getFaceColors(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<App::Color, std::allocator<App::Color> >&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [src/Mod/Fem/Gui/CMakeFiles/FemGui.dir/build.make:1765: Mod/Fem/FemGui.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:5600: src/Mod/Fem/Gui/CMakeFiles/FemGui.dir/all] Error 2
make: *** [Makefile:136: all] Error 2