Comments (11)
So, when will vcpkg update pcl now that pcl has updated?
from vcpkg.
I also encountered this problem when I turn on cuda option.
from vcpkg.
Would be good to see the config logs.
from vcpkg.
Would be good to see the config logs.
Nevermind. Port vtk
simply doesn't provide a vtk.pc
file.
from vcpkg.
@dg0yt The script find_package(VTK)
will use the vtk-config.cmake
.
In my local build, the feature tools
not enabled, since the post check failed due to the DLL
that the tools depended on were not cleaned, but this does not affect this result.
Local install passed by the command vcpkg install pcl[apps,core,cuda,opengl,openni2,qt,simulation,visualization,vtk]
.
@Bzz2745 @QiuYilin Could you help provide the build logs?
Build Env
- VS 17.9.4
- Windows 11 23H2
- CUDA 11.8
from vcpkg.
@dg0yt The script
find_package(VTK)
will use thevtk-config.cmake
.
@WangWeiLin-MV True, but unrelated to the problem. The CMake build is reported as successful:
-- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel
The problem is clearly raised in a following portfile step, due to an invalid pc file created by pcl.
- Using msys root at C:/vcpkg/downloads/tools/msys2/fdbea3694fb5c0d4 CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:134 (message): C:/vcpkg/downloads/tools/msys2/fdbea3694fb5c0d4/mingw64/bin/pkg-config.exe --exists pcl_gpu_kinfu_large_scale failed with error code: 1 ENV{PKG_CONFIG_PATH}: "C:/vcpkg/packages/pcl_x64-windows/lib/pkgconfig;C:/vcpkg/packages/pcl_x64-windows/share/pkgconfig;C:/vcpkg/installed/x64-windows/lib/pkgconfig;C:/vcpkg/installed/x64-windows/share/pkgconfig" output: Package vtk was not found in the pkg-config search path. Perhaps you should add the directory containing `vtk.pc' to the PKG_CONFIG_PATH environment variable Package 'vtk', required by 'pcl_gpu_kinfu_large_scale', not found Call Stack (most recent call first): scripts/cmake/vcpkg_fixup_pkgconfig.cmake:196 (z_vcpkg_fixup_pkgconfig_check_files) ports/pcl/portfile.cmake:104 (vcpkg_fixup_pkgconfig)
My PR removes the pc file. The pc files are incomplete anyways.
Upstream has PointCloudLibrary/pcl#5986 which removes the vtk dependency.
from vcpkg.
I'm facing the same problem again. Hope that vcpkg could update the port of pcl.
from vcpkg.
The port bug was fixed last month. If you still see the problem, make a proper new report, with all version information. You did update your vcpkg, didn't you?
from vcpkg.
I see, I can use option "--head" .
from vcpkg.
The port bug was fixed last month. If you still see the prob. em, make a proper new report, with all version information. You did update your vcpkg, didn't you?
I did, but it didn't work, and I fix this by manually modifying gpu/kinfu_large_scale/CMakeLists.txt
as your PR. I will make a proper new report soon.
from vcpkg.
On a second look, it is visible why the fix in the port doesn't work. With a proper report, I would have looked at this already...
from vcpkg.
Related Issues (20)
- [gloo] Build failure on x64-linux HOT 2
- [vtk] build failure: Incorrect name of static files for brotli HOT 3
- [vtk] build failure: qtdeclarative HOT 1
- [aom] Build error on x64-linux HOT 6
- [pkgconf] Build error on x64-windows HOT 3
- [ffmpeg] Build failure on x64-windows HOT 1
- [benchmark] Build failure (Windows11 / mingw) HOT 3
- [yyjson] update to 0.9.0
- [curl] update to 8.8.0
- [freeglut] Build failure on arm64-osx HOT 2
- Binary caching with NuGet provider on macOS hangs on authentication to Azure Artifacts in Azure Pipelines
- [poco] Build failure (Windows 11 / mingw)
- [plibsys] plibsys_FOUND is not set after find_package(plibsys) HOT 2
- [fontconfig] Build error on x64-windows HOT 2
- internal error: D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(767): Value was null HOT 34
- [harfbuzz] <Add GDI & Uniscribe build option>
- [libffi] Build error on x64-windows HOT 1
- [zlib] Build error on x64-windows HOT 1
- [vcpkg-tool] Missing newline in error message somewhere. HOT 1
- [vcpkg-tool] x-package-info missing information from where a port is loaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.