Page 1 of 1

include files won't to be included due build

Posted: Mon Sep 09, 2019 8:58 pm
by Lagunax
Hi.
installed eclipse
installed idf
untared android-esp32
copied test project (hellowworld) and modified sources to #include <Android.h> (and some another headers to work with ttgo)
in workspace navigation works fine, but when i try to make, then i get error that header files not found.


./main:
CMakeLists.txt component.mk Kconfig.projbuild main.cpp pins_arduino.h test.cpp test.h

path to folder with Android.h added to: Projectproperties-C/C++ general-Paths and symbols-include - assembly, gnu c, gnu c++, also added to Preprocessor include. how to make 'make' to see those headers?

Re: include files won't to be included due build

Posted: Tue Sep 10, 2019 4:36 am
by ESP_Angus
Hi Lagunax,

I'm guessing you mean Arduino instead of Android? (Don't worry, I've made this small error myself as well!)

It's hard to debug from just the information you've provided. Can you provide the full console output from the build which fails, please? Using a service like https://pastebin.com is a good idea if it's a long log.

Angus