gunar.kroeger wrote: ↑Sat Mar 23, 2019 1:50 pm
rudi ;-) wrote:
was this before same setup where your compile runs before you did the move of headers?
and did the compile runs without error?
yes, for both.
Sadly, the 2 warnings about Invalid project path reappeared ):
ok , for better understand:
you have a project in eclipse
named: myProj
then in the myProj you have main folder
in the main folder you have the include folder and header's moved in the main now
did you change in the src file / header files the include order then too?
you want do the main likewise an Component - so did you try
COMPONENT_ADD_INCLUDEDIRS and COMPONENT_SRCDIRS
to the main/include ?
try it.
usually project
best wishes
rudi
edit:
gunar.kroeger wrote: ↑
"After I moved all my header files from main folder to main/include folder following a component structure"
this i mean -
did you then change in the src files in the main folder the "new" header place?
how looks a src file in the main ?
Can you post the header include part?
Code: Select all
Description Resource Path Location Type
Invalid project path: Include path not found (\c\Users\gunar.kroeger\Desktop\eclipse\ESP32_Project\main\include).
ESP32_Project pathentry Path Entry Problem
Description Resource Path Location Type
Invalid project path: Include path not found (C:\msys32\home\gunar.kroeger\esp\esp-idf\components\http_server\include).
ESP32_Project pathentry Path Entry Problem
a folder "include" in the main exist?
a folder "include" in the "....components\http_server" exist?
what have you done
- "moved all my header files from main folder to main/include folder"
what have you done further?
- changed the include dir in makefile?
- changed the include dir in the component file?
- changed the #include in the src file which are in the main?
few things you must further do :
but i am out of my level now - perhabs you can post the project files?
there is something now missing or be wrong in the src files -