Comments (5)
I can't reproduce this problem locally, you can try using the following statement
find_package(Poco CONFIG REQUIRED COMPONENTS XML JSON Zip)
from vcpkg.
I can't reproduce this problem locally, you can try using the following statement
find_package(Poco CONFIG REQUIRED COMPONENTS XML JSON Zip)
I then have this error instead. I don't understand why it complain about Poco Util. Is that a component ? Maybe this "hidden" has failed to setup ?
CMake Error at /Users/romainnosenzo/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
Found package configuration file:
/Users/romainnosenzo/CLionProjects/PhotoTools/cmake-build-debug/vcpkg_installed/arm64-osx/share/poco/PocoUtilConfig.cmake
but it set PocoUtil_FOUND to FALSE so package "PocoUtil" is considered to
be NOT FOUND. Reason given by package:
The following imported targets are referenced, but are missing: Poco::XML
Poco::JSON
Call Stack (most recent call first):
/Applications/CLion.app/Contents/bin/cmake/mac/aarch64/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
cmake-build-debug/vcpkg_installed/arm64-osx/share/poco/PocoZipConfig.cmake:3 (find_dependency)
/Users/romainnosenzo/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
cmake-build-debug/vcpkg_installed/arm64-osx/share/poco/PocoConfig.cmake:35 (find_package)
/Users/romainnosenzo/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
from vcpkg.
Now it works : I've destroyed the vcpkg cache and had to do as you told me (added XML and JSON)
find_package(Poco CONFIG REQUIRED COMPONENTS XML JSON Zip)
Now the bug can be turned into why should i add XML and JSON while I only use Zip ? Not a big issue in my case but that's a bit odd.
Feel free to close the issue if you think that behavior is standard.
from vcpkg.
Now it works : I've destroyed the vcpkg cache and had to do as you told me (added XML and JSON)
find_package(Poco CONFIG REQUIRED COMPONENTS XML JSON Zip)
Now the bug can be turned into why should i add XML and JSON while I only use Zip ? Not a big issue in my case but that's a bit odd. Feel free to close the issue if you think that behavior is standard.
Normally, zip calls uitl, and uitl calls json and xml. So when zip is called, uitl, json, and xml are automatically called. However, the search for uitl's dependent json and xml on your device fails.
I cannot reproduce this problem locally, so I cannot locate it. You can also try to create a new folder on the device and clone vcpkg. Try to use the newly cloned code to see if there is the same error. If the problem does not exist in the newly cloned code, it may be caused by the cache.
from vcpkg.
@Nosenzor You can get more tracing information from CMake with --trace-expand
or -DCMAKE_FIND_DEBUG_MODE=ON
.
from vcpkg.
Related Issues (20)
- [dbus] Build error on x64-linux HOT 2
- [libtorch] Build error on x64-windows HOT 1
- [pcl] Build error on x64-windows HOT 4
- [opencv4] Build error on x64-windows HOT 1
- [glib] Build error on x64-linux HOT 2
- [glslang] `tools` feature fails to build on Windows due to missing `glslangValidator`
- [mongo-c-driver] update to 1.27.4
- [libtorch] Build error on x64-windows HOT 3
- [abseil] Build error on x64-windows HOT 1
- [fmt] update to <11.0.0>
- [abseil] error: building abseil:x64-windows failed HOT 1
- [vcpkg-tool] build failure on arm64-linux(2024.06.15) HOT 3
- [qtwebengine] Build failure on x64-windows HOT 2
- [cairo] Build error on arm64-linux HOT 3
- [abseil] Build error on x64-windows HOT 1
- [fmt] Build error on x64-windows HOT 1
- [icu] Build failure on arm64-osx HOT 1
- [libxcrypt] Build error on x64-linux HOT 6
- [New Port Request] OSQP
- [grpc] Build error on x64-osx (Mac M1 machine) HOT 2
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.