Page 1 of 1

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

Posted: Tue Oct 24, 2017 12:09 am
by eugenev13
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

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

Posted: Sun Dec 10, 2017 7:02 pm
by kolban
Maybe this will shed some light?

https://www.youtube.com/watch?v=tp4OC_kGMgU