Page 1 of 1

How to use libcurl?

Posted: Sat Feb 13, 2021 3:16 pm
by crapcöder
I'm using this library to communicate with the discord API, and it relies on luajit-request, which relies on libcurl. However, since I'm on Windows, which does not have libcurl pre-installed (or that's what i assume) like macOS, I need to install it myself. But on the libcurl website, there are like forty bajillion different things you could download, and I can't figure out which to get. Which one should i download? (i'm on windows 64-bit)

also if possible i would like it to be able to be inside my project, so people who use it don't have to install libcurl themselves.

Re: How to use libcurl?

Posted: Tue Feb 16, 2021 5:36 pm
by eliddell
If you have Windows 10, you may already have it (apparently, it's included with revision 1804 and later).

If you don't, the official download wizard for curl may help: https://curl.se/dlwiz/

You'll probably have to bundle libcurl.dll (or some file with a similar name) into your project if you want to distribute for older Windows.