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

Linux build issue: missing directory .~/esp/esp-idf/components/freertos/include #35

Open
TRIA opened this issue Jun 17, 2022 · 1 comment

Comments

@TRIA
Copy link
Contributor

TRIA commented Jun 17, 2022

Building from command line on Linux 20.04, latest IDF, latest dev branch, I get this failure:
'/home/srb/esp/esp-idf/components/freertos/include/freertos' is not a directory.

Here's where it's looking for the include dir in:

srb@sdr2:~/esp/esp-idf/components/freertos$ ls
CMakeLists.txt  FreeRTOS-Kernel      FreeRTOS-openocd.c  linker.lf         test
esp_additions   FreeRTOS-Kernel-SMP  Kconfig             sdkconfig.rename
srb@sdr2:~/esp/esp-idf/components/freertos$ 

There's no include dir. The following is the (majority of) the cmake output:

srb@sdr2:~/rinasense/build$ cmake ..
Configuring: ESP-IDF build
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements are satisfied.
Skipping the download of /home/srb/.espressif/espidf.constraints.v5.0.txt because it was downloaded recently. If you believe that this is causing you trouble then remove it manually and re-run your install script.
Constraint file: /home/srb/.espressif/espidf.constraints.v5.0.txt
Requirement files:
 - /home/srb/esp/esp-idf/tools/requirements/requirements.core.txt
Python being checked: /home/srb/.espressif/python_env/idf5.0_py3.8_env/bin/python
-- Project sdkconfig file /home/srb/rinasense/sdkconfig
-- App "RINA_sensor" version: 9e368dd

==================== deleted uninteresting stuff=======================
-- Adding linker script /home/srb/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
CMake Error at /home/srb/esp/esp-idf/tools/cmake/component.cmake:312 (message):
  Include directory
  '/home/srb/esp/esp-idf/components/freertos/include/freertos' is not a
  directory.
Call Stack (most recent call first):
  /home/srb/esp/esp-idf/tools/cmake/component.cmake:487 (__component_add_include_dirs)
  components/FreeRTOS-Plus-POSIX/CMakeLists.txt:3 (idf_component_register)


-- Configuring incomplete, errors occurred!
See also "/home/srb/rinasense/build/CMakeFiles/CMakeOutput.log".
srb@sdr2:~/rinasense/build$
@TRIA
Copy link
Contributor Author

TRIA commented Jun 17, 2022

Here's the cmake log file.
CMakeOutput.log

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

1 participant