Open xobs opened 1 month ago
This is due to the reference address in Window. I fixed this by replacing the $ENV{IDF_PATH} in main/CMakeLists.txt with the real address in my computer. It works but I think that this way is just a temporary solution to run the example once.
idf_component_register(SRCS "${srcs}" PRIV_REQUIRES esp_driver_i2s esp_driver_gpio INCLUDE_DIRS "." "$ENV{IDF_PATH}/examples/peripherals/i2s/common")
replace $ENV{IDF_PATH} with the address in computer
Answers checklist.
IDF version.
v5.4-dev-3602-ga97a7b0962
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
I should be able to build and run commands like
idf.py menuconfig
What is the actual behavior?
Steps to reproduce.
Build or installation Logs.
No response
More Information.
This is likely caused by importing
$ENV{IDF_PATH}
directly intoINCLUDE_DIRS
, which makes the variable as follows:It's complaining about
C:\U