Unknown CMake command error VSCode

NicoCaldo
Posts: 1
Joined: Wed Jan 31, 2024 1:13 pm

Unknown CMake command error VSCode

Postby NicoCaldo » Mon Feb 05, 2024 4:30 pm

I've installed the ESP-IDF via VS Code following the official documentation here https://github.com/espressif/vscode-esp ... install.md

Everything works fine expect that, for some reason, I'm having an error on the CMakeLists.txt

Code: Select all

CMake Error at CMakeLists.txt:6 (include):include could not find requested file:

  /tools/cmake/project.cmake

CMake Error at CMakeLists.txt:10 (target_add_binary_data):Unknown CMake command "target_add_binary_data".
What's wrong?
Last edited by NicoCaldo on Wed Feb 07, 2024 8:37 am, edited 1 time in total.

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: Unknown CMake command error VSCode

Postby ESP_bignacio » Wed Feb 07, 2024 4:41 am

Could you provide some troubleshooting information as described in :

https://github.com/espressif/vscode-esp ... leshooting

From the output I suspect there is some space in one of the configuration settings path.I would make sure to use a directory with no spaces.

Who is online

Users browsing this forum: No registered users and 55 guests