Closed
Description
Your Environment
- Operating System and version: Ubuntu 16.04
- Compiler: GCC 5.4
- PCL Version: Latest
Minimal code to Reproduce
CMakeLists
cmake_minimum_required(VERSION 3.7)
project(Example)
set(PROJECT_SRCS ${PROJECT_SOURCE_DIR}/main.cpp )
find_package( PCL REQUIRED )
add_executable(${PROJECT_NAME} ${PROJECT_SRCS})
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC
${PCL_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${PCL_LIBRARIES})
main.cpp
#include "pcl/registration/gicp6d.h"
int main(){
pcl::GeneralizedIterativeClosestPoint6D gicp;
return 0;
}
Current Behavior
ubuntu@XXX.XXX.XX.XX:~/test/build$ ./Example
Segmentation fault (core dumped)
Expected Behavior
ubuntu@XXX.XXX.XX.XX:~/test/build$ ./Example
ubuntu@XXX.XXX.XX.XX:~/test/build$
Context
This problem is preventing me from using the GICP function, which I would like to improve my result by replacing the traditional ICP with GICP.
@MichaelKorn Thank you for adding GICP into PCL, could you help me solve this problem?