In your story, it looks like the root of your project is C:\Work\Actisense\http_server2
beneath this will be your components. These are the source files that should be compiled and linked together to build your application. It further seems that you have source files in a distinct directory called C:\Work\\LibDev\CommonLib ... which by location, appears not to be a component in your project.
It is common for me to see all components living under the <Project>/components directory structure.
When you compile the source in CommonLib, what is the final output? Perhaps libCommonLib.a or something similar?
ESP-IDF include additional paths
Re: ESP-IDF include additional paths
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: ESP-IDF include additional paths
Can Anyone answer my query. I am waiting for reply.
Re: ESP-IDF include additional paths
Hi,
Yes Location of my CommonLib is not under C:\msys32\home\naeem\esp\esp-idf\components.
Our current code base is different folder structure.
C:\Work\LibDev\CommonLib has component.mk.
It is not generating libCommonLib.a static library. I need to specify correct rules to generate static library using GNU make. I am looking at this issue. any help will be appreciated.
Thanks,
Naeem
Yes Location of my CommonLib is not under C:\msys32\home\naeem\esp\esp-idf\components.
Our current code base is different folder structure.
C:\Work\LibDev\CommonLib has component.mk.
It is not generating libCommonLib.a static library. I need to specify correct rules to generate static library using GNU make. I am looking at this issue. any help will be appreciated.
Thanks,
Naeem
Re: ESP-IDF include additional paths
Hi,
It looks like for all static libraries expected under esp-idf\components by find script in esp-idf\make\project.mk
COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJECT_PATH)/main
My component/library is in different folder. I guess I can add my path to above script line?
Thanks,
Naeem
It looks like for all static libraries expected under esp-idf\components by find script in esp-idf\make\project.mk
COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJECT_PATH)/main
My component/library is in different folder. I guess I can add my path to above script line?
Thanks,
Naeem
Re: ESP-IDF include additional paths
My issue is sorted
Adding my path to this line.
COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJECT_PATH)/main $(IDF_PATH)/LibDev
My IDF_PATH = c:\Work
Adding my path to this line.
COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJECT_PATH)/main $(IDF_PATH)/LibDev
My IDF_PATH = c:\Work
Who is online
Users browsing this forum: No registered users and 120 guests