I downloaded the latest version curl-8.0.1.zip and unzipped it. I then ran the command mingw32-make mingw32
in the root directory of the libcurl
library to build and compile the library.
I went over to Code::Blocks, then in Settings -> Compiler... -> Linker Settings
, I added the file ../lib/libcurl.dll.a
. And then in Search directories
added the directory ../include
to Compiler
and Resource compiler
, and added ../lib
to Linker
.
This is what I got:
What am I doing wrong here?
Any help would be greatly appreciated.
I fixed the problem. All I needed to do was add the directory of libcurl.dll
to the system PATH
and restart Code::Blocks.