Preview: How do I include cURL into ESP32 Eclipse project?

eugenev13
Posts: 4
Joined: Mon Oct 09, 2017 2:11 pm

Preview: How do I include cURL into ESP32 Eclipse project?

Postby eugenev13 » Tue Oct 24, 2017 12:09 am

Greetings My Fellow ESP32 Enthusiasts!
I would like to use cURL in my ESP32 Eclipse project, but I am not clear about how to correctly include the library.

I get an error regarding #include <curl/curl.h> being an "unresolved inclusion" in Eclipse editor. And "fatal error: curl/curl.h: No such file or directory" when I try to compile.

I tried to follow "building curl" instructions at
https://github.com/nkolban/esp32-snippe ... uild_files
but I do not understand where component.mk and lib/curl_config.h are supposed to be copied.

Is there a step by step detailed tutorial on how to correctly include cURL so that Eclipse and the compiler both know where to find it?

I use Eclipse IDE for C/C++ Developers
Version: Oxygen.1a Release (4.7.1a)
Build id: 20171005-1200
OS: Linux, v.4.4.0-97-generic, x86_64 / gtk 3.18.9, WebKit 2.16.6
Attachments
cURL_Error.png
cURL_Error.png (44.72 KiB) Viewed 4759 times

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Preview: How do I include cURL into ESP32 Eclipse project?

Postby kolban » Sun Dec 10, 2017 7:02 pm

Maybe this will shed some light?

https://www.youtube.com/watch?v=tp4OC_kGMgU
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: MicroController and 169 guests