feelfreelinux / feelfreelinux/cspot
ESP32 CMake Errors
- Dominant language
- C++
- Stars
- 638
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
I get some errors for esp32 build on recent master related to missing mdns package:
```
CMake Error at /home/user/esp-idf/tools/cmake/project.cmake:480 (add_executable):
Target "cspot-esp32.elf" links to target "idf::mdns" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:13 (project)
CMake Error at /home/user/esp-idf/tools/cmake/component.cmake:484 (add_library):
Target "__idf_main" links to target "idf::mdns" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
main/CMakeLists.txt:7 (idf_component_register)
```
My setup:
```
$ python --version
Python 3.10.6
which python
/home/user/.espressif/python_env/idf5.1_py3.10_env/bin/python
ls ~/mbedtls-v3.3.0/cmake/cmake/
MbedTLSConfig.cmake MbedTLSConfigVersion.cmake MbedTLSTargets.cmake
```
The linux build suceeded using this:
```
cd targets/cli
cmake .. -DBELL_EXTERNAL_MBEDTLS=/home/gun/mbedtls-v3.3.0/cmake/cmake -DMBEDTLS_RELEASE=NOCONFIG
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.