vcpkg from latest visual studio fails to find dependencies curl and libuv #41291
Replies: 4 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.
-
| 
         I had a similar symptom, with a different cause. For anyone who might be running into the same issue: We have a custom registry hosted in an internal git repo. All the ports in that registry started failing with this message ( The problem was that the git fetch of the registry was failing. Silently. The output was However, when manually attempting  To make it even weirder: The fetch failure wasn't silent when running vcpkg install (actually, cmake configure) manually. Then, it printed a helpful error like "error: failed to fetch ref HEAD from repository".  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 ./buildIt 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
curlandlibuv. 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