Q
Q
qooke2019-04-15 22:59:24
C++ / C#
qooke, 2019-04-15 22:59:24

Installing cURL on CodeBlocks on MinGW on Windows?

I moved the header files to the Inlude directory
5cb4e1a725ff8623092226.png
I also moved the libraries to the lib directory Specified the
5cb4e16537bef695245967.png
path to the libraries in the linker and specified the -static parameter
5cb4e2004d57b748390019.png
Wrote the verification code and got an error
5cb4e26f854b2156854856.png
Please help to correctly link the library

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zed, 2019-04-15
@qooke

1. Use MinGW-w64 as MinGW from the CodeBlocks distribution is obsolete
2. Get libcurl from here https://bintray.com/vszakats/generic/curl#files

E
Evgeny Petryaev, 2019-04-15
@Gremlin92

You need to include libs in the code via #pragma comment "libcurl.lib" and download the libraries with the *.lib ending and put them in the project folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question