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

Build problem #15

Open
vizisens opened this issue Jul 31, 2017 · 4 comments
Open

Build problem #15

vizisens opened this issue Jul 31, 2017 · 4 comments

Comments

@vizisens
Copy link

Hi,

I think due to version upgrade in ESP-IDF libraries, we encounter mising library module problem

OS is Ubuntu 16.04 desktop version.

Any idea?
regards

In ESP32_gatts_mqtt_gateway

CC port/debug/lwip_debug.o AR liblwip.a CC gateway_main.o /home/gokhan/work/app/ESP32_gatts_mqtt_gateway/main/./gateway_main.c:23:35: fatal error: freertos/heap_regions.h: No such file or directory compilation terminated. /home/gokhan/esp/esp-idf/make/component_wrapper.mk:228: recipe for target 'gateway_main.o' failed make[1]: *** [gateway_main.o] Error 1 /home/gokhan/esp/esp-idf/make/project.mk:391: recipe for target 'component-main-build' failed make: *** [component-main-build] Error 2

In ESP32_blufi_beacon_tracker
CC blufi_beacon_scan.o CC blufi_main.o /home/gokhan/work/app/ESP32_blufi_beacon_tracker/main/./blufi_main.c: In function 'app_main': /home/gokhan/work/app/ESP32_blufi_beacon_tracker/main/./blufi_main.c:285:5: error: too few arguments to function 'esp_bt_controller_init' esp_bt_controller_init(); ^ In file included from /home/gokhan/work/app/ESP32_blufi_beacon_tracker/main/./blufi_main.c:29:0: /home/gokhan/esp/esp-idf/components/bt/include/bt.h:150:11: note: declared here esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg); ^ /home/gokhan/esp/esp-idf/make/component_wrapper.mk:228: recipe for target 'blufi_main.o' failed make[1]: *** [blufi_main.o] Error 1 /home/gokhan/esp/esp-idf/make/project.mk:391: recipe for target 'component-main-build' failed make: *** [component-main-build] Error 2

@gerisse
Copy link

gerisse commented Mar 26, 2018

i have a similar problem : i applied your method to build a project with eclipse ; all seems correct , except this error :
./main.c:23:35: fatal error: freertos/heap_regions.h: No such file or directory
i updated esp-idf repository and its submodules. But the error comes back.
An idea ?
thanks

@Trubochkin
Copy link

Trubochkin commented Apr 2, 2018

I also have a problem (on Windows 10, Eclipse):
C:/msys32/home/Oleksii/esp-idf/components/bt/include/bt.h:2:2: warning: #warning "This header is deprecated, please use functions defined in esp_bt.h instead." [-Wcpp]
#warning "This header is deprecated, please use functions defined in esp_bt.h instead."
^
C:/msys32/home/Oleksii/blufi_beacon_tracker/main/blufi_main.c: In function 'app_main':
C:/msys32/home/Oleksii/blufi_beacon_tracker/main/blufi_main.c:285:5: error: too few arguments to function 'esp_bt_controller_init'
...
make[1]: *** [/home/Oleksii/esp-idf/make/component_wrapper.mk:274: blufi_main.o] Error 1
make: *** [C:/msys32/home/Oleksii/esp-idf/make/project.mk:450: component-main-build] Error 2

@St7ven
Copy link

St7ven commented Apr 10, 2018

Hi,

I get the same problem as well. ./main.c:23:35: fatal error: freertos/heap_regions.h: No such file or directory

I look the the repository and this file isn't there. So I just remove this include and the template file works well.

@hiteshpratyushv
Copy link

Similar Problem for me in ESP32_getts_mqtt_gateway...

CC build/main/gatts_profile.o
C:/msys32/home/mahe/esp/ESP32_gatts_mqtt_gateway/main/gatts_profile.c:25:21: fatal error: bta_api.h: No such file or directory
compilation terminated.
make[1]: *** [/home/mahe/esp/esp-idf/make/component_wrapper.mk:286: gatts_profile.o] Error 1
make: *** [C:/msys32/home/mahe/esp/esp-idf/make/project.mk:467: component-main-build] Error 2

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

5 participants