Closed Jaime02 closed 2 years ago
@Jaime02 ,Thanks for posting this issue, could you please git pull the vcpkg and try again, I can install pcl successfully in my local machine:
-- Performing post-build validation done
Installing package pcl[core]:x86-windows...
Elapsed time for package pcl:x86-windows: 16.01 min
Total elapsed time: 27.17 min
The package pcl provides CMake targets:
find_package(Modules CONFIG REQUIRED)
target_link_libraries(main PRIVATE GLEW::GLEW FLANN::FLANN libusb::libusb)
@JonLiu1993 thanks for answering. There is a warning in the building set up which says this:
-- Configuring x86-windows
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:485 (message):
The following variables are not used in CMakeLists.txt:
PCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32
Please recheck them and remove the unnecessary options from the
`vcpkg_cmake_configure` call.
If these options should still be passed for whatever reason, please use the
`MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
ports/pcl/portfile.cmake:42 (vcpkg_cmake_configure)
scripts/ports.cmake:142 (include)
Do you think it can be the issue? I have already pulled git pull
and run vcpkg.exe install pcl
and same error happens
@Jaime02 , CMake Warning we will deal when we fix other issue, can you install pcl successfully?
@Jaime02 , CMake Warning we will deal when we fix other issue, can you install pcl successfully?
No
I guess it's exactly the same issue as #19561.
@Jaime02 I suggest searching for "failed" or "opennurbs_lookup" in your install-x86-windows-rel-out.log file to see if they're the same issue.
@JonLiu1993 I encountered the same problem when I installed PCL with VS2022 (i.e. "v143"). Then I created a new triplet using VS2019 (by setting VCPKG_PLATFORM_TOOLSET to v142) and rebuilt PCL and succeeded.
So I guess it's a bug of Visual C++ 2022 compiler, but there is no progress according issue #19561.
Please provide full log C:\Users\jaime\Desktop\vcpkg\buildtrees\pcl\install-x86-windows-rel-out.log.
Please provide full log C:\Users\jaime\Desktop\vcpkg\buildtrees\pcl\install-x86-windows-rel-out.log.
As @ydntlk said, It was a bug due to using VS2022, I've downgraded to VS2019 and I have successfully installed the library, thanks for your attention! đŸ’–
(I close this because I guess this has to be fixed by the pcl developers)
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install pcl
Failure logs
This are the last lines of the log:
Additional context It seems like PCL library has a terrible installer