您好,我想请教一下在编译octoap_server包时出现如下错误,请问有解决方法或者思路吗?
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServerMultilayer.h:32,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServerMultilayer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/TrackingOctomapServer.h:33,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/TrackingOctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: In constructor ‘octomap_server::OctomapServer::OctomapServer(ros::NodeHandle, const ros::NodeHandle&)’:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: expression list treated as compound expression in mem-initializer [-fpermissive]
72 | m_initConfig(true)
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: cannot convert ‘const ros::NodeHandle’ to ‘int’ in initialization
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/TrackingOctomapServer.h:33,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/TrackingOctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServerMultilayer.h:32,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServerMultilayer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
184 | dynamic_reconfigure::Server::CallbackType f;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:50: error: template argument 1 is invalid
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:66: error: expected initializer before ‘f’
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:185:3: error: ‘f’ was not declared in this scope; did you mean ‘tf’?
185 | f = boost::bind(&OctomapServer::reconfigureCallback, this, _1, _2);
| ^
| tf
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:186:23: error: request for member ‘setCallback’ in ‘((octomap_server::OctomapServer)this)->octomap_server::OctomapServer::m_reconfigureServer’, which is of non-class type ‘int’
186 | m_reconfigureServer.setCallback(f);
| ^~~
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: In constructor ‘octomap_server::OctomapServer::OctomapServer(ros::NodeHandle, const ros::NodeHandle&)’:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: expression list treated as compound expression in mem-initializer [-fpermissive]
72 | m_initConfig(true)
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: cannot convert ‘const ros::NodeHandle’ to ‘int’ in initialization
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: At global scope:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: variable or field ‘reconfigureCallback’ declared void
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: ‘OctomapServerConfig’ is not a member of ‘octomap_server’; did you mean ‘OctomapServer’?
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:78: error: ‘config’ was not declared in this scope
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:95: error: expected primary-expression before ‘level’
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
184 | dynamic_reconfigure::Server::CallbackType f;
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:50: error: template argument 1 is invalid
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:66: error: expected initializer before ‘f’
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:185:3: error: ‘f’ was not declared in this scope; did you mean ‘tf’?
185 | f = boost::bind(&OctomapServer::reconfigureCallback, this, _1, _2);
| ^
| tf
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:186:23: error: request for member ‘setCallback’ in ‘((octomap_server::OctomapServer)this)->octomap_server::OctomapServer::m_reconfigureServer’, which is of non-class type ‘int’
186 | m_reconfigureServer.setCallback(f);
| ^~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: At global scope:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: variable or field ‘reconfigureCallback’ declared void
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~~~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: ‘OctomapServerConfig’ is not a member of ‘octomap_server’; did you mean ‘OctomapServer’?
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~~~
| OctomapServer
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:78: error: ‘config’ was not declared in this scope
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:95: error: expected primary-expression before ‘level’
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^~~~~
make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:76: octomap_server/CMakeFiles/octomap_server.dir/src/OctomapServerMultilayer.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:89: octomap_server/CMakeFiles/octomap_server_color.dir/src/TrackingOctomapServer.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:76: octomap_server/CMakeFiles/octomap_server_color.dir/src/OctomapServerMultilayer.cpp.o] Error 1
make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:89: octomap_server/CMakeFiles/octomap_server.dir/src/TrackingOctomapServer.cpp.o] Error 1
make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:63: octomap_server/CMakeFiles/octomap_server.dir/src/OctomapServer.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:4303: octomap_server/CMakeFiles/octomap_server.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:63: octomap_server/CMakeFiles/octomap_server_color.dir/src/OctomapServer.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:3898: octomap_server/CMakeFiles/octomap_server_color.dir/all] Error 2
make: [Makefile:141: all] Error 2
您好,我想请教一下在编译octoap_server包时出现如下错误,请问有解决方法或者思路吗? In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServerMultilayer.h:32, from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServerMultilayer.cpp:30: /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared 128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level); | ^ m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/TrackingOctomapServer.h:33,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/TrackingOctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^ m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/TrackingOctomapServer.h:33,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/TrackingOctomapServer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^ m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServerMultilayer.h:32,
from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServerMultilayer.cpp:30:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared
128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level);
| ^::CallbackType f;
| ^::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:66: error: expected initializer before ‘f’
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:185:3: error: ‘f’ was not declared in this scope; did you mean ‘tf’?
185 | f = boost::bind(&OctomapServer::reconfigureCallback, this, _1, _2);
| ^
| tf
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’?
214 | dynamic_reconfigure::Server m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:186:23: error: request for member ‘setCallback’ in ‘((octomap_server::OctomapServer)this)->octomap_server::OctomapServer::m_reconfigureServer’, which is of non-class type ‘int’
186 | m_reconfigureServer.setCallback(f);
| ^ m_reconfigureServer;
| ^ m_reconfigureServer;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: In constructor ‘octomap_server::OctomapServer::OctomapServer(ros::NodeHandle, const ros::NodeHandle&)’:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: expression list treated as compound expression in mem-initializer [-fpermissive]
72 | m_initConfig(true)
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: cannot convert ‘const ros::NodeHandle’ to ‘int’ in initialization
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: At global scope:
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: variable or field ‘reconfigureCallback’ declared void
1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){
| ^::CallbackType f;
| ^::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:66: error: expected initializer before ‘f’
184 | dynamic_reconfigure::Server::CallbackType f;
| ^
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:185:3: error: ‘f’ was not declared in this scope; did you mean ‘tf’?
185 | f = boost::bind(&OctomapServer::reconfigureCallback, this, _1, _2);
| ^
| tf
/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:186:23: error: request for member ‘setCallback’ in ‘((octomap_server::OctomapServer )this)->octomap_server::OctomapServer::m_reconfigureServer’, which is of non-class type ‘int’
186 | m_reconfigureServer.setCallback(f);
| ^
~~~~~~ In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:30: /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared 128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level); | ^~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 214 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: In constructor ‘octomap_server::OctomapServer::OctomapServer(ros::NodeHandle, const ros::NodeHandle&)’: /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: expression list treated as compound expression in mem-initializer [-fpermissive] 72 | m_initConfig(true) | ^ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:72:20: error: cannot convert ‘const ros::NodeHandle’ to ‘int’ in initialization /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 214 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 214 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 184 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:50: error: template argument 1 is invalid 184 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~In file included from /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:30: /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:128:44: error: ‘octomap_server::OctomapServerConfig’ has not been declared 128 | void reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level); | ^~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 214 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/include/octomap_server/OctomapServer.h:214:50: error: template argument 1 is invalid 214 | dynamic_reconfigure::Server~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: ‘OctomapServerConfig’ is not a member of ‘octomap_server’; did you mean ‘OctomapServer’? 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:78: error: ‘config’ was not declared in this scope 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:95: error: expected primary-expression before ‘level’ 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:31: error: ‘OctomapServerConfig’ was not declared in this scope; did you mean ‘OctomapServer’? 184 | dynamic_reconfigure::Server~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:184:50: error: template argument 1 is invalid 184 | dynamic_reconfigure::Server~~/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp: At global scope: /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: variable or field ‘reconfigureCallback’ declared void 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~~~~~~ /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:57: error: ‘OctomapServerConfig’ is not a member of ‘octomap_server’; did you mean ‘OctomapServer’? 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~~~~~~ | OctomapServer /home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:78: error: ‘config’ was not declared in this scope 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~/home/aston/projects/dpSLAM/SG-SLAM/src/octomap_server/src/OctomapServer.cpp:1131:95: error: expected primary-expression before ‘level’ 1131 | void OctomapServer::reconfigureCallback(octomap_server::OctomapServerConfig& config, uint32_t level){ | ^~~~~ make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:76: octomap_server/CMakeFiles/octomap_server.dir/src/OctomapServerMultilayer.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:89: octomap_server/CMakeFiles/octomap_server_color.dir/src/TrackingOctomapServer.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:76: octomap_server/CMakeFiles/octomap_server_color.dir/src/OctomapServerMultilayer.cpp.o] Error 1 make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:89: octomap_server/CMakeFiles/octomap_server.dir/src/TrackingOctomapServer.cpp.o] Error 1 make[2]: [octomap_server/CMakeFiles/octomap_server.dir/build.make:63: octomap_server/CMakeFiles/octomap_server.dir/src/OctomapServer.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:4303: octomap_server/CMakeFiles/octomap_server.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make[2]: [octomap_server/CMakeFiles/octomap_server_color.dir/build.make:63: octomap_server/CMakeFiles/octomap_server_color.dir/src/OctomapServer.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:3898: octomap_server/CMakeFiles/octomap_server_color.dir/all] Error 2 make: [Makefile:141: all] Error 2