Re: curl_mime
Date: Wed, 24 Jun 2020 13:38:28 +0200
On 6/24/20 1:01 PM, Byron Van der Merwe via curl-library wrote:
> Hi,
>
> I get the following error when compiling my code using curl_mime.
>
> undefined reference to `curl_mime_init' mimeTest.c /mimeTest/src line
> 28 C/C++ Problem.
>
> This is for all mime references. I also found that the following
> structs can not be found.
>
> /* Mime/form handling support. */
> typedef struct curl_mime_s curl_mime; /* Mime context. */
> typedef struct curl_mimepart_s curl_mimepart; /* Mime part context. */
>
You probably use an old curl version (version < 7.56, > 2.5 years old)
that do not support the mime API.
The best would be to upgrade libcurl. It would also remove a lot of bugs
fixed since then !
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-06-24