vcpkg from latest visual studio fails to find dependencies curl and libuv #41291
Replies: 3 comments 2 replies
-
It’s been almost a week, why is there no response so far? Do people even look at this discussion section at all? I also checked and there are many other questions not receiving a single answer either, why have such a discussion section when no one is there to answer questions anyway? |
Beta Was this translation helpful? Give feedback.
-
Start with the printed instructions:
Start with a clean build dir. |
Beta Was this translation helpful? Give feedback.
-
I have met the same problem when I use the iconv library, and I solved it after I replace "iconv" with the correct name of the library which is "libiconv" in the vcpkg.json file. Hope this will be useful to you . |
Beta Was this translation helpful? Give feedback.
-
Hi, I've been able to get vcpkg to work with my software project in the past, but since the lastest update from Visual Studio it does not work anymore, instead gave out this error when I try to run the command with cmake(vcpkg.cmake is located in the D:/Software/Microsoft Visual Studio directory on my local machine):
cmake -DCMAKE_TOOLCHAIN_FILE:STRING="D:/Software/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" -S . -B ./build
It seems rather strange to be as it was working for me just a couple of months ago, and now suddenly vcpkg is complaining that it cannot locate the dependencies
curl
andlibuv
. Below are the code in my vcpkg.json and vcpkg-configuration.json files, I've never modified them since a few months ago and they were working correctly before:vcpkg.json
vcpkg-configuration.json
Can someone plz help? I tried to google it and couldnt find any answers from reddit or stackoverflow, I dont believe I am the only one who has such an issue?
Beta Was this translation helpful? Give feedback.
All reactions