My C project cannot find curl for some reason, even though i do have curl.
Answered
In my project, i was using curl for something in the code and it keeps giving an error message that it cannot find curl, yet i do have curl, i've the files and everything it seems to all be there. I have tried everything from reinstalling, reloading cache, redownloading etc. etc.
Anyone know what to do?


Please sign in to leave a comment.
Hello!
Hello.
1. it is automatically installed on my device because it is a windows device, but i have tried to manually install it too, still does not work.
2. no, i will try and get back to you
Are you sure it comes with the curl library (
libcurl)? I foundcurl.exeon my machine (inC:\Windows\System32), but I don't seelibcurl.The following worked on my side:
Add the following lines to the CMakeLists.txt.