Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue #414

Open
wangjinhoon opened this issue Mar 1, 2024 · 0 comments
Open

build issue #414

wangjinhoon opened this issue Mar 1, 2024 · 0 comments

Comments

@wangjinhoon
Copy link

Hello,
When I try to do 'catkin build' on Ubuntu 16.04, I get the following error. Does anyone know how to resolve this?

Errors     << voxblox_ros:make /home/jh/catkin_ws/logs/voxblox_ros/build.make.011.log               
In file included from /home/jh/catkin_ws/src/voxblox/voxblox/include/voxblox/core/esdf_map.h:8:0,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/include/voxblox_ros/simulation_server.h:9,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:1:
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc: In member function ‘bool voxblox::SimulationServer::generatePlausibleViewpoint(voxblox::FloatingPoint, voxblox::Point*, voxblox::Point*) const’:
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:165:3: error: no matching function for call to ‘CheckNotNull(const char [68], int, const char [26], const std::unique_ptr<voxblox::SimulationWorld>&)’
   CHECK_NOTNULL(world_);
   ^
In file included from /home/jh/catkin_ws/src/voxblox/voxblox/include/voxblox/core/esdf_map.h:8:0,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/include/voxblox_ros/simulation_server.h:9,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:1:
/usr/include/glog/logging.h:1286:4: note: candidate: template<class T> T* google::CheckNotNull(const char*, int, const char*, T*)
 T* CheckNotNull(const char *file, int line, const char *names, T* t) {
    ^
/usr/include/glog/logging.h:1286:4: note:   template argument deduction/substitution failed:
In file included from /home/jh/catkin_ws/src/voxblox/voxblox/include/voxblox/core/esdf_map.h:8:0,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/include/voxblox_ros/simulation_server.h:9,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:1:
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:165:3: note:   mismatched types ‘T*’ and ‘std::unique_ptr<voxblox::SimulationWorld>’
   CHECK_NOTNULL(world_);
   ^
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc: In member function ‘void voxblox::SimulationServer::generateSDF()’:
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:221:5: error: no matching function for call to ‘CheckNotNull(const char [68], int, const char [26], std::unique_ptr<voxblox::SimulationWorld>&)’
     CHECK_NOTNULL(world_);
     ^
In file included from /home/jh/catkin_ws/src/voxblox/voxblox/include/voxblox/core/esdf_map.h:8:0,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/include/voxblox_ros/simulation_server.h:9,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:1:
/usr/include/glog/logging.h:1286:4: note: candidate: template<class T> T* google::CheckNotNull(const char*, int, const char*, T*)
 T* CheckNotNull(const char *file, int line, const char *names, T* t) {
    ^
/usr/include/glog/logging.h:1286:4: note:   template argument deduction/substitution failed:
In file included from /home/jh/catkin_ws/src/voxblox/voxblox/include/voxblox/core/esdf_map.h:8:0,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/include/voxblox_ros/simulation_server.h:9,
                 from /home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:1:
/home/jh/catkin_ws/src/voxblox/voxblox_ros/src/simulation_server.cc:221:5: note:   mismatched types ‘T*’ and ‘std::unique_ptr<voxblox::SimulationWorld>’
     CHECK_NOTNULL(world_);
     ^
make[2]: *** [CMakeFiles/voxblox_ros.dir/src/simulation_server.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/voxblox_ros.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant