How to use libcurl?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
crapcöder
Prole
Posts: 1
Joined: Thu Feb 11, 2021 4:07 pm

How to use libcurl?

Post 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.
eliddell
Prole
Posts: 20
Joined: Sat Dec 10, 2016 6:38 pm

Re: How to use libcurl?

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests