Eclipse CMake ESP-IDF
Posted: Thu Nov 22, 2018 4:08 pm
I have installed the CMAKE build system and can build the hello world project.
It is much faster then building in msys2.
Next step for me was to use eclipse. I found the tutorial:
https://cdtdoug.ca/2018/07/02/cdt-for-esp32.html
But I'm stuck at the building step:
If I try to run the command in the windows prompt, the project builds without errors.
Is there someone who has this working and can give me a hint?
It is much faster then building in msys2.
Next step for me was to use eclipse. I found the tutorial:
https://cdtdoug.ca/2018/07/02/cdt-for-esp32.html
But I'm stuck at the building step:
Code: Select all
Building in: C:\projecten\esp\test2\hello_world\build\default
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=C:\projecten\esp\esp\esp-idf\tools\cmake\toolchain-esp32.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON C:\projecten\esp\test2\hello_world
Code: Select all
Errors occurred during the build.
Errors running builder 'CDT Core Builder' on project 'hello_world'.
Building hello_world
Cannot run program "C:\projecten\esp\esp\esp-idf\tools\cmake" (in directory "C:\projecten\esp\test2\hello_world\build\default"): CreateProcess error=5, Toegang geweigerd
Building hello_world
Cannot run program "C:\projecten\esp\esp\esp-idf\tools\cmake" (in directory "C:\projecten\esp\test2\hello_world\build\default"): CreateProcess error=5, Toegang geweigerd
Is there someone who has this working and can give me a hint?