Make error
When running "make" I get the following error messages:
[ 2%] Building CXX object CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx.o
In file included from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:8:
/MMMCore/MMM/Motion/Segmentation/Segmentation.cpp: In member function 'void MMM::MotionSegmentation::appendSegmentationXML(simox::xml::RapidXMLWrapperNodePtr)':
/MMMCore/MMM/Motion/Segmentation/Segmentation.cpp:212:70: error: no matching function for call to 'simox::xml::RapidXMLWrapperNode::append_node(std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type&)'
segmentationNode->append_node(*unknownConfigurationNode.get());
^
In file included from /MMMCore/MMM/Motion/Motion.cpp:14,
from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:3:
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: candidate: 'simox::xml::RapidXMLWrapperNodePtr simox::xml::RapidXMLWrapperNode::append_node(const string&)'
RapidXMLWrapperNodePtr append_node(const std::string& name) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: candidate: 'void simox::xml::RapidXMLWrapperNode::append_node(simox::xml::RapidXMLWrapperNodePtr)'
void append_node(RapidXMLWrapperNodePtr node) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'simox::xml::RapidXMLWrapperNodePtr' {aka 'std::shared_ptr<simox::xml::RapidXMLWrapperNode>'}
In file included from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:13:
/MMMCore/MMM/Motion/Annotation/Annotation.cpp: In member function 'virtual void MMM::UnknownMotionAnnotation::appendAnnotationXML(simox::xml::RapidXMLWrapperNodePtr)':
/MMMCore/MMM/Motion/Annotation/Annotation.cpp:57:34: error: no matching function for call to 'simox::xml::RapidXMLWrapperNode::append_node(std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type&)'
node->append_node(*node.get());
^
In file included from /MMMCore/MMM/Motion/Motion.cpp:14,
from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:3:
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: candidate: 'simox::xml::RapidXMLWrapperNodePtr simox::xml::RapidXMLWrapperNode::append_node(const string&)'
RapidXMLWrapperNodePtr append_node(const std::string& name) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: candidate: 'void simox::xml::RapidXMLWrapperNode::append_node(simox::xml::RapidXMLWrapperNodePtr)'
void append_node(RapidXMLWrapperNodePtr node) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'simox::xml::RapidXMLWrapperNodePtr' {aka 'std::shared_ptr<simox::xml::RapidXMLWrapperNode>'}
In file included from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:25:
/MMMCore/MMM/Motion/Sensor/UnknownSensor.cpp: In member function 'virtual void MMM::UnknownSensor::appendConfigurationXML(simox::xml::RapidXMLWrapperNodePtr, const std::filesystem::__cxx11::path&)':
/MMMCore/MMM/Motion/Sensor/UnknownSensor.cpp:82:45: error: no matching function for call to 'simox::xml::RapidXMLWrapperNode::append_node(std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type&)'
node->append_node(*configNodes.get());
^
In file included from /MMMCore/MMM/Motion/Motion.cpp:14,
from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:3:
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: candidate: 'simox::xml::RapidXMLWrapperNodePtr simox::xml::RapidXMLWrapperNode::append_node(const string&)'
RapidXMLWrapperNodePtr append_node(const std::string& name) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: candidate: 'void simox::xml::RapidXMLWrapperNode::append_node(simox::xml::RapidXMLWrapperNodePtr)'
void append_node(RapidXMLWrapperNodePtr node) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'simox::xml::RapidXMLWrapperNodePtr' {aka 'std::shared_ptr<simox::xml::RapidXMLWrapperNode>'}
In file included from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:26:
/MMMCore/MMM/Motion/Sensor/UnknownSensorMeasurement.cpp: In member function 'virtual void MMM::UnknownSensorMeasurement::appendMeasurementDataXML(simox::xml::RapidXMLWrapperNodePtr)':
/MMMCore/MMM/Motion/Sensor/UnknownSensorMeasurement.cpp:42:50: error: no matching function for call to 'simox::xml::RapidXMLWrapperNode::append_node(std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type&)'
measurementNode->append_node(*n.get());
^
In file included from /MMMCore/MMM/Motion/Motion.cpp:14,
from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:3:
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: candidate: 'simox::xml::RapidXMLWrapperNodePtr simox::xml::RapidXMLWrapperNode::append_node(const string&)'
RapidXMLWrapperNodePtr append_node(const std::string& name) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:398:28: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: candidate: 'void simox::xml::RapidXMLWrapperNode::append_node(simox::xml::RapidXMLWrapperNodePtr)'
void append_node(RapidXMLWrapperNodePtr node) {
^~~~~~~~~~~
/Simox/SimoxUtility/xml/rapidxml/RapidXMLWrapper.h:405:10: note: no known conversion for argument 1 from 'std::__shared_ptr<simox::xml::RapidXMLWrapperNode, (__gnu_cxx::_Lock_policy)2>::element_type' {aka 'simox::xml::RapidXMLWrapperNode'} to 'simox::xml::RapidXMLWrapperNodePtr' {aka 'std::shared_ptr<simox::xml::RapidXMLWrapperNode>'}
In file included from /MMMCore/build/CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx:40:
/MMMCore/MMM/Model/ModelReaderXML.cpp: In member function 'VirtualRobot::RobotPtr MMM::ModelReaderXML::loadModel(const std::filesystem::__cxx11::path&, bool)':
/MMMCore/MMM/Model/ModelReaderXML.cpp:67:123: error: 'eStructureStore' is not a member of 'VirtualRobot::BaseIO::RobotDescription'
: VirtualRobot::RobotIO::RobotDescription::eStructureStore);
^~~~~~~~~~~~~~~
/MMMCore/MMM/Model/ModelReaderXML.cpp: In member function 'VirtualRobot::RobotPtr MMM::ModelReaderXML::createModelFromString(const string&, const string&, bool)':
/MMMCore/MMM/Model/ModelReaderXML.cpp:72:119: error: 'eStructureStore' is not a member of 'VirtualRobot::BaseIO::RobotDescription'
: VirtualRobot::RobotIO::RobotDescription::eStructureStore);
^~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/MMMCore.dir/build.make:63: CMakeFiles/MMMCore.dir/Unity/unity_0_cxx.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:317: CMakeFiles/MMMCore.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Can you please help me figure out what's wrong and how can I fix it?
Edited by GitLab Importer