ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The problem is caused by the tr1 prefix on the headers that is not supported in libc++. That is used in OSX 10.9.
The solution is to explicitly specify libstdc++ by adding the following lines to ./src/octomap/CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++")
2 | No.2 Revision |
The problem is caused by the tr1 prefix on the headers that is not supported in libc++. That is used in OSX 10.9.
The solution is to explicitly specify libstdc++ by adding the following lines to ./src/octomap/CMakeLists.txt./src/octomap/CMakeLists.txt and other corresponding CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++")
3 | No.3 Revision |
The problem is caused by the tr1 prefix on the headers that is not supported in libc++. That is used in OSX 10.9.
The solution is to explicitly specify libstdc++ by adding the following lines to ./src/octomap/CMakeLists.txt and other corresponding CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++")