include files won't to be included due build

Lagunax
Posts: 21
Joined: Mon Sep 09, 2019 8:24 pm

include files won't to be included due build

Postby Lagunax » Mon Sep 09, 2019 8:58 pm

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?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Tue Sep 10, 2019 4:36 am

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

Who is online

Users browsing this forum: cdollar, Google [Bot], ok-home, snutw_ and 147 guests