Comments (6)
Same issue with libwebsockets. This is strange but it won't download the dependencies.
from vcpkg.
This is an issue with the (currently undocumented) build command. vcpkg install
handles dependency resolution before delegating to the build
command.
from vcpkg.
Dependencies must be installed to get picked up during dependency resolution, and build
does not install packages automatically, whereas install
does
Currently the behavior is:
vcpkg install libpng
will result in: zlib==installed and libpng==installed.
vcpkg build libpng
will fail if zlib!=installed
vcpkg build libpng
will result in zlib==installed (if it already was) and libpng==built-but-not-installed
This can also be achieved unconditionally via:
vcpkg install libpng
vcpkg remove libpng
Do you think it would be intuitive to have vcpkg build package-x
install all dependencies of package-x and then build package-x without installing it?
from vcpkg.
No, I definitely agree that this behavior seems to be the proper one.
But without any kind of error message, I was kinda surprised, my bad.
from vcpkg.
However, you are right that the error message used to be unhelpful. Fixed after: 5b89712
Modified the command so that it doesn't start building if the dependencies are not already installed, as opposed to the previous behavior where it would fail during the build. It will now display something like this:
C:\path\to\vcpkg>vcpkg build opencv
The build command requires all dependencies to be already installed.
The following dependencies are missing:
zlib
libpng
libjpeg-turbo
Thanks for reporting!
from vcpkg.
0b59e6c changes the output to show the triplet along with the missing package name, i.e:
C:\path\to\vcpkg> vcpkg build opencv
The build command requires all dependencies to be already installed.
The following dependencies are missing:
libjpeg-turbo:x86-windows
from vcpkg.
Related Issues (20)
- [wxwidgets] update to 3.2.5
- [rmqcpp] build failure HOT 1
- [openblas] Build error on x64-linux HOT 2
- [libiconv] Build error on x64-windows HOT 1
- [dlib] update to 19.24.4
- [New Port Request] <GmSSL>
- jluna: A modern Julia Wrapper for C++ (v1.0.0) HOT 1
- [liblzma] Build error on x64-windows HOT 1
- [libevent] Build error on x86-mingw-dynamic
- [bzip2] Build error on x64-windows HOT 2
- [exptrk] update to 2024-01-01
- [protobuf] pc files reference wrong library on windows HOT 1
- [7zip] Add missing Windows Header HOT 4
- [open62541] update to 1.4.0
- Use vcpkg in a Visual Studio project without user-wide integration HOT 2
- [7zip] update to <24.05>
- [llvm] Build error on x64-windows HOT 2
- [colmap] Build error on x64-windows HOT 1
- Installing specific version of a package on CLI HOT 2
- [colmap] Build error on x64-windows HOT 12
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.