microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.99k stars 6.35k forks source link

Why vpkg can't install pcl #22971

Closed ZTXpromise closed 2 years ago

ZTXpromise commented 2 years ago

C:\vcpkg>vcpkg install pcl Computing installation plan... The following packages will be built and installed:

Error: Building package boost-regex:x86-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with git pull and .\vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-regex You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[boost-regex]+Build+errorincluding: package: boost-regex[core]:x86-windows -> 1.78.0 vcpkg-tool version: 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761 vcpkg-scripts version: unknown

I installing pcl failed at first time then, I install pcl with 'keep-going' at last , 'vcpkg install pcl' again, the above problems arise

JackBoosY commented 2 years ago
Could not find b2 in C:/vcpkg/installed/x64-windows/tools/boost-build

Please remove boost-uninstall then try again.

sidy3d commented 2 years ago

Also having a similar problem: -- Using source at C:/Dev/vcpkg/buildtrees/pcl/src/89d532cf08-e771f817a1.clean -- Found external ninja('1.10.2'). -- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message): Command failed: C:/Dev/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe --build . --config Release --target install -- -v -j9 Working Directory: C:/Dev/vcpkg/buildtrees/pcl/x64-windows-rel See logs for more information: C:\Dev\vcpkg\buildtrees\pcl\install-x64-windows-rel-out.log

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process) installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build) ports/pcl/portfile.cmake:82 (vcpkg_cmake_install) scripts/ports.cmake:145 (include)

Error: Building package pcl:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with git pull and .\vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+pcl You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[pcl]+Build+error including: package: pcl[core,visualization,vtk]:x64-windows -> 1.12.0#4 vcpkg-tool version: 2022-02-03-457b0309cefb58fae0dcb2e4c06de9bd7582967f vcpkg-scripts version: 05c445c1f 2022-02-10 (5 hours ago)

Additionally, attach any relevant sections from the log files above.

sidy3d commented 2 years ago

install-x64-windows-rel-out.log

sidy3d commented 2 years ago

Seems like this is a compiler bug. Check the following issue:

19561

JackBoosY commented 2 years ago

Yeah, please track #19561 instead.

best-pureer commented 1 year ago

you should remove alibabaprotect