Open pjrambo opened 5 years ago
Hi, I think this is a gcc complier question, I encounter this problem and resolve it by modifying catkin.cmake files in two packages. add SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -O3 -mtune=native ") to catkin.catkin files and delete SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x"), at last, you will be catkin_make. I hope you can be success.
Sorry to disturb, I'm trying to install openchisel on my computer. I was following all the procedure in the readme. Everything is ok until I launch the chisel_ros node. It came out some error as below. It seems like something wrong with eigen. Have you met this error before? What kinds of eigen version are you using? Thanks a lot.
pj@pj:~/catkin_ws$ roslaunch chisel_ros pinhole.launch ... logging to /home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/roslaunch-pj-9512.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt WARNING: disk usage in log directory [/home/pj/.ros/log] is over 1GB. It's recommended that you use the 'rosclean' command.
started roslaunch server http://pj:33275/
SUMMARY
PARAMETERS
NODES / Chisel (chisel_ros/ChiselNode)
auto-starting new master process[master]: started with pid [9522] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 0d5229a8-3455-11e9-a5b6-2c56dc4dddb6 process[rosout-1]: started with pid [9535] started core service [/rosout] process[Chisel-2]: started with pid [9542] [ INFO] [1550587551.670122841]: Starting up chisel node. [ INFO] [1550587551.685902827]: Mode depth image
ChiselNode: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = float; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " READ THIS WEB PAGE !!! "' failed.
[Chisel-2] process has died [pid 9542, exit code -6, cmd /home/pj/catkin_ws/devel/lib/chisel_ros/ChiselNode name:=Chisel log:=/home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/Chisel-2.log].
log file: /home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/Chisel-2*.log