ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved the problem by myself later on. The reason is that PCL does not support c++11 orginally. In my code, some c++11 functionalities are used. So I build the code from the their github repositary, and add SET(CMAKE_CXX_FLAGS "-std=c++0x") to the CMakeList.txt. Then make and make install the PCL libaray. Then it will solve the problem.

I solved the problem by myself later on. The reason is that PCL does not support c++11 orginally. In my code, some c++11 functionalities are used. So I build the code from the their github repositary, and add SET(CMAKE_CXX_FLAGS "-std=c++0x") "${CMAKE_CXX_FLAGS} -std=c++11") to the CMakeList.txt. Then make and make install the PCL libaray. Then it will solve the problem.