-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Use pointmatcher with CGAL fail #8123
Replies: 2 comments · 1 reply
-
Part of Boost libraries are not found correctly. |
Beta Was this translation helpful? Give feedback.
All reactions
-
According to the CMake prompt, I installed "boost-preprocessor:x64-windows 1.83.0 Boost preprocessor module" using vcpkg, and then proceeded with the configuration again. However, an error occurred during the generation process. The CMake output is as follows:“Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045. CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): CMake Warning at D:/Program Files/CMake/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message): Found Boost: C:/dev/vcpkg/installed/x64-windows/include (found version "1.83.0") found components: thread filesystem system program_options date_time chrono atomic CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable): Generating done” I'm not sure if the issue lies with the libnabo library not being properly installed, but I have compiled it multiple times following the tutorial at 'https://github.com/norlab-ulaval/libpointmatcher/blob/1.3.1/doc/CompilationWindows.md'. I've been struggling for two days to use libpointmatcher with CGAL, and it's been quite painful. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@lrineau Thank you very much for your suggestion, I will give it a try. |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #8116 on April 05, 2024 12:45.
-
I tried to run the PointMatcher example program from CGAL's Point Set Processing: https://doc.cgal.org/latest/Point_set_processing_3/index.html#Point_set_processing_3Examples_registration_PointMatcher. I have successfully installed libpointmatcher, version 1.3.1. When I tried to compile the example project using CMake,
find_package(libpointmatcher QUIET)
also successfully found my libpointmatcher library, but it seems thatif(TARGET CGAL::pointmatcher_support)
did not pass, resulting in the corresponding project not being compiled. This has confused me about where the problem lies. Below is the information output during CMake compilation:I'm not sure if it's related to the Boost version, as my CGAL was installed directly using vcpkg.
Environment
Beta Was this translation helpful? Give feedback.
All reactions