Comments (8)
I get the following error:
ERROR: Environment variable "LIB" is not found.
INFO: Could not find files for the given pattern(s).
from vcpkg.
Try this command on your machine?
1.
vcpkg env --triplet x64-windows
2.
where $LIB:kernel32.lib
from vcpkg.
Reinstall Win SDK and give it a try.
from vcpkg.
PS F:\Feature-test\vcpkg> ./vcpkg env --triplet x64-windows
Microsoft Windows [Version 10.0.19045.4170]
(c) Microsoft Corporation. All rights reserved.
F:\Feature-test\vcpkg>where $LIB:kernel32.lib
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\x64\kernel32.Lib
from vcpkg.
I just did a reinstall, but I still get the same error:
where $LIB:kernel32.lib
ERROR: Environment variable "LIB" is not found.
INFO: Could not find files for the given pattern(s).
from vcpkg.
I just checked, "kernel32.lib" is there.
from vcpkg.
Try adding the kernel32.lib path to your environment variables.
from vcpkg.
After adding these lines to my triplet file, I was able to build the package. Thanks.
Set LIB
set(ENV{LIB} "C:/Program Files (x86)/Windows Kits/10/lib/10.0.22621.0/um/x64;C:/Program Files (x86)/Windows Kits/10/lib/10.0.22621.0/ucrt/x64;C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.39.33519/lib/x64")
Set INCLUDE
set(ENV{INCLUDE} "C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/ucrt;C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um;C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/shared;C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.39.33519/include")
from vcpkg.
Related Issues (20)
- [liblzma] build failure HOT 6
- [liblzma] Build error on x64-windows HOT 1
- [liblzma] Build error on x64-windows HOT 1
- [llvm] libcxx, libcxxabi, libunwind features should not require `[clang,tools]` features
- [openmvg] Build failure on x64-linux HOT 1
- Not able to download powershell-core in manifest mode HOT 2
- [liblo] Build error HOT 5
- [portaudio] Build error HOT 4
- [liblzma] Build error on arm64-android HOT 5
- [vcpkg-tool-meson] Build error on x64-windows HOT 8
- [pcl] Build error on modified x64-windows-static HOT 15
- [dbus] dbus-daemon and dbus-launch are runtime executables and should be provided in both release and debug versions HOT 1
- [glew] Build error on x64-linux HOT 1
- [ffmpeg] Build error on arm64-ios-release HOT 4
- [protobuf] Build error on x64-windows HOT 1
- [libxml2] Build error on x64-linux HOT 5
- [zlib] Build error on x64-windows HOT 2
- [vcpkg] Build Failure During Bootstrap Process HOT 3
- [qcoro]Build error HOT 2
- [vulkan*] update to 1.3.280
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.