Closed tednav closed 6 years ago
@teduav Can you post all the catkin_make log? because here appears to be cut at the end. However, did you modify the original code?
Hi, I am going to build the Skimap_ros on ubuntu 14.04 indigo. however, the errors are below,
Base path: /home/xl/catkin_ws Source space: /home/xl/catkin_ws/src Build space: /home/xl/catkin_ws/build Devel space: /home/xl/catkin_ws/devel Install space: /home/xl/catkin_ws/install
xl@xl:~/catkin_ws$ catkin_make Base path: /home/xl/catkin_ws Source space: /home/xl/catkin_ws/src Build space: /home/xl/catkin_ws/build Devel space: /home/xl/catkin_ws/devel Install space: /home/xl/catkin_ws/install
[ 0%] [ 0%] Built target std_msgs_generate_messages_py
[ 0%] [ 0%] Built target geometry_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_cpp
Built target geometry_msgs_generate_messages_py
[ 0%] [ 12%] Built target std_msgs_generate_messages_lisp
[ 12%] Built target geometry_msgs_generate_messages_lisp
Building CXX object skimap_ros/CMakeFiles/skimap_ros.dir/src/skimap_ros/skimap_ros_void_library.cpp.o
[ 12%] Built target _skimap_ros_generate_messages_check_deps_SkimapIntegrationService
[ 25%] Building CXX object skimap_ros/CMakeFiles/integration_of_random_points.dir/src/nodes/tutorials/integration_of_random_points.cpp.o
[ 37%] [ 50%] Generating C++ code from skimap_ros/SkimapIntegrationService.srv
Generating Python code from SRV skimap_ros/SkimapIntegrationService
[ 62%] Generating Lisp code from skimap_ros/SkimapIntegrationService.srv
[ 75%] Building CXX object skimap_ros/CMakeFiles/skimap_live.dir/src/nodes/skimap_live.cpp.o
[ 75%] [ 87%] Built target skimap_ros_generate_messages_lisp
Generating Python srv init.py for skimap_ros
[ 87%] Built target skimap_ros_generate_messages_py
[ 87%] Built target skimap_ros_generate_messages_cpp
[ 87%] Built target skimap_ros_generate_messages
Scanning dependencies of target skimap_map_service
[100%] Building CXX object skimap_ros/CMakeFiles/skimap_map_service.dir/src/nodes/skimap_map_service.cpp.o
In file included from /home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericTile2D.hpp:11:0,
from /home/xl/catkin_ws/src/skimap_ros/include/skimap/SkiMap.hpp:16,
from /home/xl/catkin_ws/src/skimap_ros/src/nodes/tutorials/integration_of_random_points.cpp:17:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp: In function ‘std::ostream& skimap::operator<<(std::ostream&, const skimap::GenericVoxel3D<V, D>&)’:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp:56:15: error: ‘setprecision’ is not a member of ‘std’
os << std::setprecision(std::numeric_limits
@Xl-wj Can you run the single thread procedure with "catkin_make -j1" ? In this way the output log is more clear for me, thanks
Thanks for your reply. I compile with "catkin_make -j1", Message as follows:
Base path: /home/xl/catkin_ws Source space: /home/xl/catkin_ws/src Build space: /home/xl/catkin_ws/build Devel space: /home/xl/catkin_ws/devel Install space: /home/xl/catkin_ws/install
[ 12%] Building CXX object skimap_ros/CMakeFiles/integration_of_random_points.dir/src/nodes/tutorials/integration_of_random_points.cpp.o
In file included from /home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericTile2D.hpp:11:0,
from /home/xl/catkin_ws/src/skimap_ros/include/skimap/SkiMap.hpp:16,
from /home/xl/catkin_ws/src/skimap_ros/src/nodes/tutorials/integration_of_random_points.cpp:17:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp: In function ‘std::ostream& skimap::operator<<(std::ostream&, const skimap::GenericVoxel3D<V, D>&)’:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp:56:15: error: ‘setprecision’ is not a member of ‘std’
os << std::setprecision(std::numeric_limits
@Xl-wj which is the version of your "gcc" compiler? Check it with "gcc --version" .. however i think that you have to update the version at least to the 5.4
Thanks you for your help.
I have solved this problem.
I add a header "#include
@Xl-wj which header? It's useful to share your solution because we can implement it in the main repository to solve the same problem for other users! :) thanks
It's "#include iomanip" in the file: catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp.
And iomanip need add <>. Sorry for not copying the line of code last time.
Hi, Thank you for your package. I want to build the Skimap_ros on ubuntu 14.04 indigo, the errors are below
[100%] Built target skimap_ros_generate_messages /home/exbot/catkin_ws/src/skimap_ros/src/nodes/skimap_live.cpp: In function ‘int main(int, char**)’: /home/exbot/catkin_ws/src/skimap_ros/src/nodes/skimap_live.cpp:554:108: error: no matching function for call to ‘ros::NodeHandle::param(const char [26], const char [11])’ std::string map_cloud_publisher_topic = nh->param("map_cloud_publisher_topic","live_cloud");