You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I report here how to solve build error in Windows.
We can use the las2pcd by building in CMakeList.txt like below.
In the building, PCL built by vcpkg and liblas built by OSGeo4W are used.
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(las2pcd)
find_package(PCL 1.3 REQUIRED COMPONENTS common io)
I report here how to solve build error in Windows.
We can use the las2pcd by building in CMakeList.txt like below.
In the building, PCL built by vcpkg and liblas built by OSGeo4W are used.
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(las2pcd)
find_package(PCL 1.3 REQUIRED COMPONENTS common io)
include_directories(${PCL_INCLUDE_DIRS})
include_directories("C:\Users\survey\Documents\GitHub\vcpkg\installed\x86-windows\include")
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(las2pcd las2pcd.cpp)
target_link_libraries(las2pcd
${PCL_COMMON_LIBRARIES}
${PCL_IO_LIBRARIES}
"C:\OSGeo4W\lib\liblas.lib"
"C:\OSGeo4W\lib\liblas_c.lib"
)
The text was updated successfully, but these errors were encountered: