floatlazer / semantic_slam

Real time semantic slam in ROS with a hand held RGB-D camera
GNU General Public License v3.0
647 stars 179 forks source link

catkin_make error #7

Open csufangyu opened 6 years ago

csufangyu commented 6 years ago

Thanks very much for your work,I try to run code .But I meet a problems,cloud you help me?? Thanks! /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ node->copyData((this->getNodeChild(node, 0))); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTree’ has no member named ‘deleteNodeChild’ this->deleteNodeChild(node, i); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree::isNodeCollapsible(const octomap::SemanticsOcTreeNode) const [with SEMANTICS = octomap::SemanticsMax]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if(!this->nodeChildExists(node, 0)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ const SemanticsOcTreeNode firstChild = this->getNodeChild(node, 0); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if(this->nodeHasChildren(firstChild)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics())) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getValue() == firstChild->getValue()) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] expandRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE node, unsigned int depth, ^ In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryNode(std::ostream&, const NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i+4); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryNode(std::istream&, NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: error: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] void OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE octomap::OccupancyOcTreeBase::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] expandRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE node, unsigned int depth, ^ In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryNode(std::ostream&, const NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i+4); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryNode(std::istream&, NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: error: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] void OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE octomap::OccupancyOcTreeBase::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE node, size_t& num_nodes) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE* node, size_t& num_nodes) const { ^ make[2]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o] 错误 1 make[2]: 正在等待未完成的任务.... make[2]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o] 错误 1 make[1]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/all] 错误 2 make: *** [all] 错误 2 Invoking "make -j12 -l12" failed

floatlazer commented 6 years ago

You didn't install octomap library properly. Try

rosdep install semantic_slam
csufangyu commented 6 years ago

Thanks for your answer.I try to run : `rosdep install semantic_slam' robot@robot:~/slam_project/catkin_ws$ rosdep install semantic_slam

All required rosdeps installed successfully

but it not help! DE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE octomap::OccupancyOcTreeBase::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: error: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ [-fpermissive] NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE node, size_t& num_nodes) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: error: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: error: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ [-fpermissive] void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE node, size_t& num_nodes) const { ^ make[2]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o] 错误 1 make[2]: 正在等待未完成的任务.... make[2]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o] 错误 1 make[1]: [semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/all] 错误 2 make[1]: 正在等待未完成的任务.... [ 71%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/monoAR [ 78%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/mono [ 78%] Built target monoAR [ 78%] Built target mono [ 85%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/stereo [ 92%] Linking CXX executable /home/robot/slam_project/catkin_ws/devel/lib/orb_slam2/rgbd [ 92%] Built target stereo [ 92%] Built target rgbd make: [all] 错误 2 Invoking "make -j12 -l12" failed

csufangyu commented 6 years ago

I think it maybe related with the version of octomap. could you tell me the version of octomap you used! the more information ia as follows: Scanning dependencies of target octomap_generator [ 20%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator.cpp.o [ 40%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/semantic_octree/semantics_bayesian.cpp.o [ 60%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/octomap_generator/octomap_generator_ros.cpp.o [ 80%] Building CXX object semantic_slam/octomap_generator/CMakeFiles/octomap_generator.dir/src/semantic_octree/semantics_max.cpp.o In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:11:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h: In member function ‘void octomap::SemanticsOcTreeNode::copyData(const octomap::SemanticsOcTreeNode&)’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h:39:7: error: ‘copyData’ is not a member of ‘octomap::ColorOcTreeNode’ ColorOcTreeNode::copyData(from); ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:11:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator_ros.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator_ros.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h: In member function ‘void octomap::SemanticsOcTreeNode::copyData(const octomap::SemanticsOcTreeNode&)’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree_node.h:39:7: error: ‘copyData’ is not a member of ‘octomap::ColorOcTreeNode’ ColorOcTreeNode::copyData(from); ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h: In instantiation of ‘octomap::SemanticsOcTree::StaticMemberInitializer::StaticMemberInitializer() [with SEMANTICS = octomap::SemanticsMax]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:139:64: required from ‘octomap::SemanticsOcTree::StaticMemberInitializer octomap::SemanticsOcTree::semanticsOcTreeMemberInit’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:12:5: required from ‘octomap::SemanticsOcTree::SemanticsOcTree(double) [with SEMANTICS = octomap::SemanticsMax]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:11:103: required from ‘OctomapGenerator<CLOUD, OCTREE>::OctomapGenerator() [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:97:12: error: ‘class octomap::SemanticsOcTree’ has no member named ‘clearKeyRays’ tree->clearKeyRays(); ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘void octomap::SemanticsOcTree::updateInnerOccupancyRecurs(octomap::SemanticsOcTreeNode, unsigned int) [with SEMANTICS = octomap::SemanticsMax]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:116:5: required from ‘void octomap::SemanticsOcTree::updateInnerOccupancy() [with SEMANTICS = octomap::SemanticsMax]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:90:5: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree; pcl::PCLPointCloud2::Ptr = boost::shared_ptr; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:122:5: error: ‘class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if (this->nodeHasChildren(node)){ ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:126:11: error: ‘class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if (this->nodeChildExists(node, i)) { ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:127:76: error: ‘class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ updateInnerOccupancyRecurs(this->getNodeChild(node, i), depth+1); ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h: In instantiation of ‘octomap::SemanticsOcTree::StaticMemberInitializer::StaticMemberInitializer() [with SEMANTICS = octomap::SemanticsBayesian]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:139:64: required from ‘octomap::SemanticsOcTree::StaticMemberInitializer octomap::SemanticsOcTree::semanticsOcTreeMemberInit’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:12:5: required from ‘octomap::SemanticsOcTree::SemanticsOcTree(double) [with SEMANTICS = octomap::SemanticsBayesian]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:11:103: required from ‘OctomapGenerator<CLOUD, OCTREE>::OctomapGenerator() [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:97:12: error: ‘class octomap::SemanticsOcTree’ has no member named ‘clearKeyRays’ tree->clearKeyRays(); ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘void octomap::SemanticsOcTree::updateInnerOccupancyRecurs(octomap::SemanticsOcTreeNode, unsigned int) [with SEMANTICS = octomap::SemanticsBayesian]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:116:5: required from ‘void octomap::SemanticsOcTree::updateInnerOccupancy() [with SEMANTICS = octomap::SemanticsBayesian]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:90:5: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree; pcl::PCLPointCloud2::Ptr = boost::shared_ptr; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:122:5: error: ‘class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if (this->nodeHasChildren(node)){ ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:126:11: error: ‘class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if (this->nodeChildExists(node, i)) { ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:127:76: error: ‘class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ updateInnerOccupancyRecurs(this->getNodeChild(node, i), depth+1); ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:80:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeIterator.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::iterator_base::singleIncrement() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeIterator.hxx:228:11: required from ‘octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator& octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator::operator++() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:61:117: required from ‘void octomap::SemanticsOcTree::setUseSemanticColor(bool) [with SEMANTICS = octomap::SemanticsMax]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:19:3: required from ‘void OctomapGenerator<CLOUD, OCTREE>::setUseSemanticColor(bool) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here /opt/ros/indigo/include/octomap/OcTreeIterator.hxx:173:20: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::OcTreeBaseImpl<octomap::SemanticsOcTreeNode, octomap::AbstractOccupancyOcTree>::NodeType {aka octomap::SemanticsOcTreeNode}’ [-fpermissive] s.node = top.node->getChild(i); ^ /opt/ros/indigo/include/octomap/OcTreeIterator.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::iterator_base::singleIncrement() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeIterator.hxx:228:11: required from ‘octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator& octomap::OcTreeBaseImpl<NODE, INTERFACE>::tree_iterator::operator++() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:61:117: required from ‘void octomap::SemanticsOcTree::setUseSemanticColor(bool) [with SEMANTICS = octomap::SemanticsBayesian]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:19:3: required from ‘void OctomapGenerator<CLOUD, OCTREE>::setUseSemanticColor(bool) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here /opt/ros/indigo/include/octomap/OcTreeIterator.hxx:173:20: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::OcTreeBaseImpl<octomap::SemanticsOcTreeNode, octomap::AbstractOccupancyOcTree>::NodeType {aka octomap::SemanticsOcTreeNode}’ [-fpermissive] In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:319:88: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:346:46: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(const octomap::OcTreeKey&, bool, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:362:47: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(double, double, double, bool, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:77:11: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree; pcl::PCLPointCloud2::Ptr = boost::shared_ptr; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:181:16: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:394:108: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::updateNodeRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:396:116: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::updateNodeRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:319:88: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:346:46: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(const octomap::OcTreeKey&, bool, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:362:47: required from ‘NODE octomap::OccupancyOcTreeBase::updateNode(double, double, double, bool, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:77:11: required from ‘void OctomapGenerator<CLOUD, OCTREE>::insertPointCloud(const Ptr&, const Matrix4f&) [with CLOUD = pcl::PointCloud; OCTREE = octomap::SemanticsOcTree; pcl::PCLPointCloud2::Ptr = boost::shared_ptr; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:16: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:394:108: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::updateNodeRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:396:116: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = updateNodeRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_update, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:366:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::updateNodeRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::updateNodeRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:116:0, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree::pruneNode(octomap::SemanticsOcTreeNode) [with SEMANTICS = octomap::SemanticsBayesian]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ node->copyData((this->getNodeChild(node, 0))); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTree’ has no member named ‘deleteNodeChild’ this->deleteNodeChild(node, i); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree::isNodeCollapsible(const octomap::SemanticsOcTreeNode) const [with SEMANTICS = octomap::SemanticsBayesian]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if(!this->nodeChildExists(node, 0)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ const SemanticsOcTreeNode firstChild = this->getNodeChild(node, 0); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if(this->nodeHasChildren(firstChild)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:16: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics())) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:16: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getValue() == firstChild->getValue()) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree::pruneNode(octomap::SemanticsOcTreeNode) [with SEMANTICS = octomap::SemanticsMax]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:22:20: error: ‘class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ node->copyData((this->getNodeChild(node, 0))); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:29:7: error: ‘class octomap::SemanticsOcTree’ has no member named ‘deleteNodeChild’ this->deleteNodeChild(node, i); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx: In instantiation of ‘bool octomap::SemanticsOcTree::isNodeCollapsible(const octomap::SemanticsOcTreeNode) const [with SEMANTICS = octomap::SemanticsMax]’: /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:42:8: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if(!this->nodeChildExists(node, 0)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:44:82: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ const SemanticsOcTreeNode firstChild = this->getNodeChild(node, 0); ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:45:5: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if(this->nodeHasChildren(firstChild)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:51:16: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getSemantics() == firstChild->getSemantics())) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:50:16: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ || !(this->getNodeChild(node, i)->getValue() == firstChild->getValue()) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeHasChildren’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:43: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘getNodeChild’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.hxx:49:11: error: ‘const class octomap::SemanticsOcTree’ has no member named ‘nodeChildExists’ if (!this->nodeChildExists(node, i) || this->nodeHasChildren(this->getNodeChild(node, i)) ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] expandRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE node, unsigned int depth, ^ In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryNode(std::ostream&, const NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i+4); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryNode(std::istream&, NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: note: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’ void OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE octomap::OccupancyOcTreeBase::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:409:51: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::prune() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:590:72: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] pruneRecurs(node->getChild(i), depth+1, max_depth, num_pruned); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:582:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::pruneRecurs(NODE, unsigned int, unsigned int, unsigned int&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ void OcTreeBaseImpl<NODE,I>::pruneRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:418:38: required from ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expand() [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:623:59: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] expandRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:607:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::expandRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree]’ void OcTreeBaseImpl<NODE,I>::expandRecurs(NODE node, unsigned int depth, ^ In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:530:0, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryNode(std::ostream&, const NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:958:7: required from ‘std::ostream& octomap::OccupancyOcTreeBase::writeBinaryData(std::ostream&) const [with NODE = octomap::SemanticsOcTreeNode; std::ostream = std::basic_ostream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1053:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1065:47: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i+4); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1087:45: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] const NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryNode(std::istream&, NODE) const [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:948:5: required from ‘std::istream& octomap::OccupancyOcTreeBase::readBinaryData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:1022:39: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE child = node->getChild(i); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:533:49: required from ‘void octomap::OccupancyOcTreeBase::toMaxLikelihood() [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:549:70: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] toMaxLikelihoodRecurs(node->getChild(i), depth+1, max_depth); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:541:8: note: initializing argument 1 of ‘void octomap::OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE, unsigned int, unsigned int) [with NODE = octomap::SemanticsOcTreeNode]’ void OccupancyOcTreeBase::toMaxLikelihoodRecurs(NODE node, unsigned int depth, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx: In instantiation of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’: /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:277:89: required from ‘NODE octomap::OccupancyOcTreeBase::setNodeValue(const octomap::OcTreeKey&, float, bool) [with NODE = octomap::SemanticsOcTreeNode]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:463:109: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] return setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:465:117: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] NODE retval = setNodeValueRecurs(node->getChild(pos), created_node, key, depth+1, log_odds_value, lazy_eval); ^ /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.hxx:435:9: note: initializing argument 1 of ‘NODE octomap::OccupancyOcTreeBase::setNodeValueRecurs(NODE, bool, const octomap::OcTreeKey&, unsigned int, const float&, bool) [with NODE = octomap::SemanticsOcTreeNode]’ NODE OccupancyOcTreeBase::setNodeValueRecurs(NODE node, bool node_just_created, const OcTreeKey& key, ^ In file included from /opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:503:0, from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44, from /opt/ros/indigo/include/octomap/ColorOcTree.h:40, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/semantics_octree/semantics_octree.h:10, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/include/octomap_generator/octomap_generator.h:6, from /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:1: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: note: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE node, size_t& num_nodes) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:895:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:853:51: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::memoryUsage() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:909:72: error: invalid conversion from ‘const octomap::ColorOcTreeNode’ to ‘const octomap::SemanticsOcTreeNode’ [-fpermissive] sum_leafs_children += getNumLeafNodesRecurs(parent->getChild(i)); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:900:10: note: initializing argument 1 of ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::getNumLeafNodesRecurs(const NODE) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ size_t OcTreeBaseImpl<NODE,I>::getNumLeafNodesRecurs(const NODE parent) const { ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx: In instantiation of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’: /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:833:38: required from ‘std::size_t octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodes() const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:655:30: required from ‘std::istream& octomap::OcTreeBaseImpl<NODE, INTERFACE>::readData(std::istream&) [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::istream = std::basic_istream]’ /home/robot/slam_project/catkin_ws/src/semantic_slam/octomap_generator/src/octomap_generator/octomap_generator.cpp:182:79: required from here /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:845:58: error: invalid conversion from ‘octomap::ColorOcTreeNode’ to ‘octomap::SemanticsOcTreeNode’ [-fpermissive] calcNumNodesRecurs(node->getChild(i), num_nodes); ^ /opt/ros/indigo/include/octomap/OcTreeBaseImpl.hxx:839:8: note: initializing argument 1 of ‘void octomap::OcTreeBaseImpl<NODE, INTERFACE>::calcNumNodesRecurs(NODE, std::size_t&) const [with NODE = octomap::SemanticsOcTreeNode; INTERFACE = octomap::AbstractOccupancyOcTree; std::size_t = long unsigned int]’ void OcTreeBaseImpl<NODE,I>::calcNumNodesRecurs(NODE node, size_t& num_nodes) const {