Comments (5)
I am not able to identify what the problem is, as the ble_hid folder is included in the components section
Component paths: C:/Users/G/esp/esp-idf/components/app_trace C:/Users/G/esp/esp-idf/components/app_update C:/Users/G/esp/esp-idf/components/asio C:/Users/G/esp/esp32_mouse_keyboard/main/ble_hid ...
these are the errors
CMake Error at C:/Users/G/esp/esp-idf/tools/cmake/component.cmake:445 (add_library):
Cannot find source file:
C:/Users/G/esp/esp32_mouse_keyboard/main/ble_hid/ble_hidd_demo_main.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
C:/Users/G/esp/esp-idf/tools/cmake/component.cmake:508 (idf_component_register)
main/ble_hid/CMakeLists.txt:7 (register_component)
CMake Error at C:/Users/G/esp/esp-idf/tools/cmake/component.cmake:445 (add_library):
No SOURCES given to target: __idf_ble_hid
Call Stack (most recent call first):
C:/Users/G/esp/esp-idf/tools/cmake/component.cmake:508 (idf_component_register)
main/ble_hid/CMakeLists.txt:7 (register_component)
-- Build files have been written to: C:/Users/G/esp/esp32_mouse_keyboard/build
cmake failed with exit code 1
i am using latest esp tool for windows(v2.2) and esp-idf v4 release
from esp32_mouse_keyboard.
Dear @n1rml
as we do not have any CMake files in our project, I think you wrote one for yourself?
If possible, please provide the CMakeLists.txt file and I can have a look.
Then we could integrate them into the project.
Greetings
from esp32_mouse_keyboard.
i dont know anything about cmake files so i just copied one from an example in esp-idf.
i looked at many examples and all of the CMakeLists.txt files were similar and didn't contain much information, just the project name
heres the file i'm using
CMakeLists.txt
from esp32_mouse_keyboard.
Your example is basically correct, but there are additional files needed for each subfolder ("component" in esp-idf terms).
I've added working CMakeFiles. They were generated by the converter script: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#automatic-conversion-tool
If there are any problems, feel free to re-open this issue.
Greetings
from esp32_mouse_keyboard.
Thank you very much
from esp32_mouse_keyboard.
Related Issues (20)
- Enable / disable pairing+bonding HOT 2
- BLE - GATT transmission rate limiting HOT 2
- Enable notifications for LED reports HOT 2
- GATT_INSUF_AUTHENTICATION problem HOT 15
- Switch between devices/hosts HOT 4
- Deinit missing hidd_le_env.enabled = false; HOT 1
- Can't pair with Apple TV (4th generation) or iPhone 11 Pro Max -- esp32 doesn't even appear in list HOT 2
- How do you send key commands HOT 11
- iPhone 12 Pro iOS 14.7.1 - no devices in the list HOT 14
- help with HID braille for open source devices for people with disabilities HOT 5
- Compilation issue. HOT 3
- Connection indication LED does not work correctly HOT 1
- Automatic Firmware update not working HOT 1
- Pairing problems on Win8.1 HOT 2
- Replacement parts HOT 1
- How to swipe HOT 1
- How to get or set mouse position? HOT 2
- iOS 17 compatibility HOT 3
- Not showing on HID device in Windows 10 HOT 7
- ESP32-S3 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_mouse_keyboard.