-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pcl] build failure #44047
Comments
@Bzz2745 Could you please specify which MSVC version you use? I would like to try to reproduce this. |
VS2022 , do u need the detail version number? |
@Bzz2745 Yes please, because I am wondering if this only happens with very specific MSVC versions. |
17.13.2 |
same issue.
visual studio version:17.13.1 |
I can repro this issue locally. |
I have created a patch: In my tests, this solved all instances of missing chrono includes, but it would be great if someone else could verify this. Then I can create a pull request to add the patch to the PCL port.
|
@mvieth This patch successfully fixed the issue. |
Fixes build failure when using MSVC STL 17.13 and newer (see https://github.com/microsoft/STL/releases/tag/vs-2022-17.13 ) See also microsoft/vcpkg#44047
Operating system
windows 11
Compiler
MSVC
Steps to reproduce the behavior
`./vcpkg install pcl[cuda,surface-on-nurbs,tools,visualization,vtk]`
Failure logs
Installing 1/2 pcl[core,cuda,surface-on-nurbs,tools,visualization,vtk]:[email protected]...
Building pcl[core,cuda,surface-on-nurbs,tools,visualization,vtk]:[email protected]...
-- Using cached PointCloudLibrary-pcl-pcl-1.15.0.tar.gz
-- Cleaning sources at C:/Users/user/opt/vcpkg/buildtrees/pcl/src/pcl-1.15.0-327f82be19.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/user/opt/vcpkg/downloads/PointCloudLibrary-pcl-pcl-1.15.0.tar.gz
-- Applying patch add-gcc-version-check.patch
-- Applying patch fix-check-sse.patch
-- Applying patch fix-numeric-literals-flag.patch
-- Applying patch install-layout.patch
-- Applying patch install-examples.patch
-- Applying patch fix-clang-cl.patch
-- Using source at C:/Users/user/opt/vcpkg/buildtrees/pcl/src/pcl-1.15.0-327f82be19.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/Users/user/scoop/apps/cmake/3.31.6/bin/cmake.exe --build . --config Release --target install -- -v -j13
Working Directory: C:/Users/user/opt/vcpkg/buildtrees/pcl/x64-windows-rel
See logs for more information:
C:\Users\user\opt\vcpkg\buildtrees\pcl\install-x64-windows-rel-out.log
Additional context
in file C:\Users\user\opt\vcpkg\buildtrees\pcl\install-x64-windows-rel-out.log, the error is:
C:\Users\user\opt\vcpkg\buildtrees\pcl\src\pcl-1.15.0-327f82be19.clean\visualization\include\pcl/visualization/impl/registration_visualizer.hpp(183): error C2039: 'chrono_literals': is not a member of 'std'
and in file registration_visualizer.hpp chrono_literals was only loaded but not used, if it is useable please add #include to this file.
The text was updated successfully, but these errors were encountered: