[pcl] Update to 1.12.0 [rtabmap] Update to 0.20.13#18855
[pcl] Update to 1.12.0 [rtabmap] Update to 0.20.13#18855BillyONeal merged 24 commits intomicrosoft:masterfrom raahilsha-z:master
Conversation
|
I'm unsure why the Linux and OSX checks are failing here, when they worked a couple commits ago: https://github.com/microsoft/vcpkg/pull/18855/checks?check_run_id=3012856022 The OSX one is failing to find a library called "m", and the Linux one is failing to find "GL" |
|
@raahilsha-z ,Could you please take a look: |
|
I just tried Update: I've tried this again on a fresh Ubuntu 18.04 LTS machine, set up by running Further, installing I've also noticed that rtabmap's manifest has Another update: I also see |
Yes, rtabmap only support Windows dynamic in vcpkg currently. |
Related to qt5-gui. |
|
I don't think the PNG patch is required anymore, with the use of VTK 9 - the PNG are properly prefixed with optimized / debug and get linked accordingly. |
|
@JackBoosY - I just tried out your fix-cmake_find_library_suffixes patch, and it worked fine for me both on WSL and in an Ubuntu VM! Thanks for debugging this :) |
|
Ping @dan-shaw for review this PR first, it was blocked for a long time. |
There was a problem hiding this comment.
You have modified or added at least one portfile where deprecated functions are used.
Details
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}The following files are affected:
ports/pcl/portfile.cmakeports/rtabmap/portfile.cmake
|
Add |
|
First of all, thank you very much for your efforts. I tried this version and it compiles normally under vs2019 (vs2022pre will have errors during pcl compilation I encountered a problem in #17662. I am not sure if there is a problem with my configuration method, but it seems that the performance of PCL1.12 and Qhull is similar to 1.11. HAVE_QHULL is not defined and part of the lib configuration is missing after manual definition. I'm not sure if this is the cause of upstream or other problems, but just as a small hint. |
Hi WangZP, I ran into the same issue, as well as another one with cuda. I don't know what the proper fixes for these are, but I can provide some workarounds to get these building correctly (and linking as well 🙂) These should work for both master as well as the raahilsha-z's branch. For qlibhull:
That effectively reverts the PR changes mentioned in the #17662 issue and resolves the issue for me. For CUDA:
It's a header-only module and doesn't produce the pkg-config files that it looks for after the build for patching / post-build related tasks which causes the whole thing to fail. It still seems to work fine afterwards for me. |
|
Ping @dan-shaw for review and merge this. |
We already known this issue and reported it to the Visual Studio team. |
|
Thanks for the updates :) |
|
Okay, the pcl virtualization feature will not be blocked. |
|
I ran into another issue when installing pcl with features vtk vcpkg.json The issue is as same as this one: #21195 Is there any way to use the pcl virtualization feature? |
Thanks for the idea of fixing pcl-cuda 🙂 Here are the steps
I don't know what will be the consequence by doing that, but at least now the code will build. |
|
All the failures will be fixed in #21276. |
Describe the pull request
What does your PR fix?
Updates PCL to the latest 1.12.0
Which triplets are supported/not supported? Have you updated the CI baseline?
All currently supported triplets should still be supported, no changes needed to CI baseline
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?Yes updated
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/