ESP-IDF OSX issue with cmake

cjd7734
Posts: 2
Joined: Tue Mar 20, 2018 4:05 am

ESP-IDF OSX issue with cmake

Postby cjd7734 » Sun Dec 08, 2019 5:58 am

Hello everyone, I am trying to get the ESP-IDF to work in a new install of eclipse
I can build and flash on the command line using the idf.py commands
but I am unable to get the eclipse environment to build

I get this error output

Code: Select all

Errors occurred during the build.
Errors running builder 'CDT Core Builder' on project 'test1'.
Building test1
Cannot run program "/Users/calvin/esp32/esp-idf/tools/cmake" (in directory "/Users/calvin/eclipse-workspace/test1/build"): error=13, Permission denied
Building test1
Cannot run program "/Users/calvin/esp32/esp-idf/tools/cmake" (in directory "/Users/calvin/eclipse-workspace/test1/build"): error=13, Permission denied
The cmake executable is located at

which cmake
/opt/local/bin/cmake

in the /Users/calvin/esp32/esp-idf/tools/ folder this is a cmake dir but not a cmake executable

is this just a path problem ?


Code: Select all

echo $path 
/Users/calvin/esp32/esp-idf/components/esptool_py/esptool 
/Users/calvin/esp32/esp-idf/components/espcoredump 
/Users/calvin/esp32/esp-idf/components/partition_table/ 
/Users/calvin/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin 
/Users/calvin/.espressif/tools/xtensa-esp32s2-elf/esp-2019r2-8.2.0/xtensa-esp32s2-elf/bin 
/Users/calvin/.espressif/tools/esp32ulp-elf/2.28.51.20170517/esp32ulp-elf-binutils/bin 
/Users/calvin/.espressif/tools/openocd-esp32/v0.10.0-esp32-20190708/openocd-esp32/bin /Users/calvin/.espressif/python_env/idf4.1_py2.7_env/bin 
/Users/calvin/esp32/esp-idf/tools 
/Users/calvin/esp32/xtensa-esp32-elf/bin /opt/local/bin /opt/local/sbin 
/usr/local/bin /usr/bin /bin /usr/sbin /sbin
I think I am close

Thank You
Calvin

Who is online

Users browsing this forum: Bing [Bot] and 96 guests