Skip to content

CMake dependency error "Can not found esp_bt.h" (menuconfiged) #2039

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

Closed
wuyuanyi135 opened this issue Nov 9, 2018 · 3 comments
Closed

CMake dependency error "Can not found esp_bt.h" (menuconfiged) #2039

wuyuanyi135 opened this issue Nov 9, 2018 · 3 comments

Comments

@wuyuanyi135
Copy link

wuyuanyi135 commented Nov 9, 2018

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: 08/Nov/2018
IDE name: CLion
Flash Frequency: 40MHz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Ubuntu

Description:

The native cmake and CLion built-in cmake do not compile the project with arduino-esp32 project residing in the local components directory.
The error was that the header esp_bt.h was not found. The make command worked.
I checked the CMake build output and found that the component arduino was inserted in the middle of the dependency list while it should be the last, just before the main component.
I checked the CMakeList.txt of this repository and found that the dependent components did not contain bt link

I wonder whether this is an intended behavior or a bug?

After adding this dependency, I also found that the BLE submodule contains a compilation error. I forked both projects and now the arduino library works with CLion and CMake. If this error is confirmed. I will create a PR.
https://github.com/wuyuanyi135/arduino-esp32

Thank you!

@ahornerr
Copy link
Contributor

ahornerr commented Dec 9, 2018

Check my PR here #2172

@ahornerr
Copy link
Contributor

My PR #2172 was merged, could you update and see if the issue still exists?

@wuyuanyi135
Copy link
Author

Thanks. Will check it later.

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

3 participants