Libcurl CURLOPT_WRITEFUNCTION callback function error
Go to solution
Solved by Mr_KoKa,
DownloadFile::write_callback has to be static. Add static keyword before function return type (size_t) like so:
static size_t DownloadFile::write_callback(char *ptr, size_t size, size_t nmemb, void *userdata)
-
Topics
-
Idkwhattodowithmylife ·
Posted in Graphics Cards2 -
4eyeguy ·
Posted in New Builds and Planning3 -
Gin N Rum 5454 ·
Posted in Programs, Apps and Websites3 -
0
-
jordanbuilds1 ·
Posted in CPUs, Motherboards, and Memory1 -
IDuki ·
Posted in Storage Devices1 -
11
-
WolfiVR ·
Posted in Troubleshooting0 -
4
-
hanouzz ·
Posted in New Builds and Planning7
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now