Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eclipse IDE editor unresolved includes #29

Closed
w4sepp opened this issue Nov 14, 2019 · 4 comments
Closed

eclipse IDE editor unresolved includes #29

w4sepp opened this issue Nov 14, 2019 · 4 comments

Comments

@w4sepp
Copy link

w4sepp commented Nov 14, 2019

building esp-idf project with pure make you can specify include directories with the item
path-and-symbols

how can it be defined in the idf-eclipse plugin as there i cant find such entry

@kolipakakondal
Copy link
Collaborator

kolipakakondal commented Nov 15, 2019

Eclipse plugin is for ESP-IDF CMake based projects (4.x and above) only. So you won't have those options

@w4sepp
Copy link
Author

w4sepp commented Nov 18, 2019

How eclipse will find the includes????

@w4sepp
Copy link
Author

w4sepp commented Nov 18, 2019

Is there a way to define the include path for eclipse?

@w4sepp
Copy link
Author

w4sepp commented Nov 18, 2019

Before I was using the python wrapper for compiling and I could define the include path for eclipse and therefore I could use all the editing features (intellisense ...).

With your eclipse plugin this is does not work any more for all the includes files eclipse does not find (and in a project thats a lot!!!).

In the picture you see the example project (blink) - I selected the right ESP32 launnch target - and it compiled without errors.

BUT !!!! you see in the eclipse editor window some defines eclipse does not find (CONFIG_BLINK_GPIO, GPIO_MODE_OUTPUT,...) and therefore shows errtor.

Maybe you have a trick which you can share how to solve this problem.

I was checking other error-reports and from my point of view several refering to the same

and your suggestion was always Make sure you select/configure "Launch Target" before triggering the build
this does not help eclipse to find the right includes.
eclipse_include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants