Monday, March 28, 2022

[SOLVED] curl.lib missing (Visual Studio 2019, C++)

Issue

I have a project that require curl.lib but i tried every single tutorial that i have found online but noone helped me.

The first method that i have tried is just downloading curl, going to winbuild and to run some stuff with nmake but i'm getting some errors and after downloading nmake and cl i'm still getting an error (return: 0xC0000135) and i don't know how to fix this.

I have also tried some other methods like using vcpkg but i can't run vcpkg install curl because something goes wrong and i get this error: Building package zlib:x86-windows failed with: BUILD_FAILED

other tutorials are just not working and i spent 6 hours trying to solve this issue.

Any idea?


Solution

Finally i solved the issue using vcpkg, i discovered that this issue enter-vsdevshell error was the problem and if someone had my same problem that's the fix.



Answered By - Ric3 cir121
Answer Checked By - Robin (WPSolving Admin)