Giter Club home page Giter Club logo

Comments (8)

m4nh avatar m4nh commented on July 26, 2024

@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.

Xl-wj avatar Xl-wj commented on July 26, 2024

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.

m4nh avatar m4nh commented on July 26, 2024

@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.

Xl-wj avatar Xl-wj commented on July 26, 2024

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.

m4nh avatar m4nh commented on July 26, 2024

@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.

Xl-wj avatar Xl-wj commented on July 26, 2024

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.

m4nh avatar m4nh commented on July 26, 2024

@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.

Xl-wj avatar Xl-wj commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.