Comments (8)
@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?
from skimap_ros.
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
Running command: "make cmake_check_build_system" in "/home/xl/catkin_ws/build"
Running command: "make clean -j8 -l8" in "/home/xl/catkin_ws/build"
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
Running command: "make cmake_check_build_system" in "/home/xl/catkin_ws/build"
Running command: "make -j8 -l8" in "/home/xl/catkin_ws/build"
[ 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::digits10 + 2);
^
In file included from /home/xl/catkin_ws/src/skimap_ros/include/skimap/SkiMap.hpp:16:0,
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/GenericTile2D.hpp: In function ‘std::ostream& skimap::operator<<(std::ostream&, const skimap::GenericTile2D<V, D>&)’:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericTile2D.hpp:48:15: error: ‘setprecision’ is not a member of ‘std’
os << std::setprecision(std::numeric_limits::digits10 + 2);
^
Linking CXX shared library /home/xl/catkin_ws/devel/lib/libskimap_ros.so
[100%] Built target skimap_ros
make[2]: *** [skimap_ros/CMakeFiles/integration_of_random_points.dir/src/nodes/tutorials/integration_of_random_points.cpp.o] error 1
make[1]: *** [skimap_ros/CMakeFiles/integration_of_random_points.dir/all] error 2
make[1]: *** waiting....
Linking CXX executable /home/xl/catkin_ws/devel/lib/skimap_ros/skimap_map_service
[100%] Built target skimap_map_service
Linking CXX executable /home/xl/catkin_ws/devel/lib/skimap_ros/skimap_live
[100%] Built target skimap_live
make: *** [all] error 2
Invoking "make -j8 -l8" failed
from skimap_ros.
@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
from skimap_ros.
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
Running command: "make cmake_check_build_system" in "/home/xl/catkin_ws/build"
Running command: "make -j1" in "/home/xl/catkin_ws/build"
[ 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::digits10 + 2);
^
In file included from /home/xl/catkin_ws/src/skimap_ros/include/skimap/SkiMap.hpp:16:0,
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/GenericTile2D.hpp: In function ‘std::ostream& skimap::operator<<(std::ostream&, const skimap::GenericTile2D<V, D>&)’:
/home/xl/catkin_ws/src/skimap_ros/include/skimap/voxels/GenericTile2D.hpp:48:15: error: ‘setprecision’ is not a member of ‘std’
os << std::setprecision(std::numeric_limits::digits10 + 2);
^
make[2]: *** [skimap_ros/CMakeFiles/integration_of_random_points.dir/src/nodes/tutorials/integration_of_random_points.cpp.o] error 1
make[1]: *** [skimap_ros/CMakeFiles/integration_of_random_points.dir/all] error 2
make: *** [all] error 2
Invoking "make -j1" failed
from skimap_ros.
@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
from skimap_ros.
Thanks you for your help.
I have solved this problem.
I add a header "#include " in the file: catkin_ws/src/skimap_ros/include/skimap/voxels/GenericVoxel3D.hpp.
from skimap_ros.
@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
from skimap_ros.
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.
from skimap_ros.
Related Issues (20)
- Cannot show the octomap HOT 2
- error about slamdunk_tracker.launch HOT 2
- 3D mapping result is weired HOT 4
- Local_robot_map HOT 3
- Global Status:Fixed Frame No tf data. Actual error: Fixed Frame [odom] does not exist HOT 3
- Clear occupied space HOT 2
- Implementation on quadrotor HOT 2
- Stack corruption on insert (when compiled under Windows/VS2017) HOT 4
- SkiMap integration with Velodyne Lidar HOT 15
- Pose together with Points integration into the map HOT 2
- Iterate over occupancy in map cells HOT 2
- 2D grid visualization HOT 1
- SIGDEV running skimap_live HOT 8
- 2.5 D Map HOT 1
- Tiles 2D visualization
- Skimap with synthetic data HOT 5
- savetofile for HOT 4
- How to Saving Map ? HOT 1
- How can i get the octomap? HOT 1
- The tiago_lar.bag does not exist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skimap_ros.