ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these:
export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++
or run catkin_make like: CXX=g++5 CC=gcc5 catkin_make
.It was important to delete the build and devel folders, and then the catkin_make worked.
2 | No.2 Revision |
I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these:
export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++
or run catkin_make like: CXX=g++5 CC=gcc5 catkin_make
It was important to delete the build and devel folders, and then the catkin_make worked.
EDIT For more information, in this answer https://answers.ros.org/question/291910/linking-problem-with-catkin_libraries/ someone gave me the clue: "it looks like all of the unresolved symbols involve std::string, which changed between gcc 4.9 and gcc 5". I think that I had a problem because I had g++ and gcc of some versions at the same time and I wasn't using the right version, like I said below. I uninstalled the "bad" version but probably there is another way to fix it.
3 | No.3 Revision |
I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these:
export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++
or run catkin_make like: CXX=g++5 CC=gcc5 catkin_make
. Like @gvdhoorn said, this should not be necessary, so It was important to delete the build and devel folders, and then the catkin_make worked.
EDIT For more information, in this answer https://answers.ros.org/question/291910/linking-problem-with-catkin_libraries/ someone gave me the clue: "it looks like all of the unresolved symbols involve std::string, which changed between gcc 4.9 and gcc 5". I think that I had a problem because I had g++ and gcc of some versions at the same time and I wasn't using the right version, like I said below. I uninstalled the "bad" version but probably there is another way to fix it.
4 | No.4 Revision |
I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these:
export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++
or run catkin_make like: CXX=g++5 CC=gcc5 catkin_make
. Like @gvdhoorn said, this should not be necessary, so 1. solved my problemIt was important to delete the build and devel folders, and then the catkin_make worked.
EDIT For more information, in this answer https://answers.ros.org/question/291910/linking-problem-with-catkin_libraries/ someone gave me the clue: "it looks like all of the unresolved symbols involve std::string, which changed between gcc 4.9 and gcc 5". I think that I had a problem because I had g++ and gcc of some versions at the same time and I wasn't using the right version, like I said below. I uninstalled the "bad" version but probably there is another way to fix it.
5 | No.5 Revision |
I did lots of things to fix these errors so I'm not sure which of them did, but I think it was one of these:
export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++
or run catkin_make like: CXX=g++5 CC=gcc5 catkin_make
. Like @gvdhoorn said, this should not be necessary, so 1. solved my problemIt was important to delete the build and devel folders, and then the catkin_make worked.
EDIT For more information, in this answer https://answers.ros.org/question/291910/linking-problem-with-catkin_libraries/ someone gave me the clue: "it looks like all of the unresolved symbols involve std::string, which changed between gcc 4.9 and gcc 5". I think that I had a problem because I had g++ and gcc of some versions at the same time and I wasn't using the right version, like I said below. I uninstalled the "bad" version but probably there is another way to fix it.