[SOLVED] Eclipse SDK cannot find certain files when building.
Posted: Tue Nov 07, 2017 9:28 pm
I'm trying to set up eclipse to use the esp-IDF make platform, but whenever I build, after a clean I get the following output:
I should note that the equivalent of that does exist. Here are my project properties:
Build command: "python C:/espIDF/esp-idf/tools/windows/eclipse_make.py"
variable BATCH_BUILD: '1'
variable IDF_PATH:'/c/espIDF/esp-idf'
variable PATH:
toolchain: CrossGCC
CDT GCC Build Output Parser: 'xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)'
CDT Cross GCC Builtin settings: 'xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"'
I'm not entirely sure what the problem is, as the path exists to a valid make file, and when I try the same settings with eclipse set to cygwin GCC, the build almost succeeds. Any insight as to what could be going wrong?
Here is my thoughts: the python script uses windows style pathing, so when I change the IDF_PATH to 'C:/espIDF/esp-idf', I get the error
Because the python script CAN find the make file, but the make engine CANNOT use the pathing. The obvious solution is to use two variables, or use linux because paths are consistent and don't use colons often. If possible, I'd like a fix in windows so I don't have to use a VMBox.
Code: Select all
15:12:50 **** Incremental Build of configuration Default for project esp-idf-template ****
python C:/espIDF/esp-idf/tools/windows/eclipse_make.py all
Makefile:8: /c/espIDF/esp-idf/make/project.mk: No such file or directory
make: *** No rule to make target '/c/espIDF/esp-idf/make/project.mk'. Stop.
Running make in 'C:/espIDF/esp-idf-template'
15:12:50 Build Finished (took 146ms)
Build command: "python C:/espIDF/esp-idf/tools/windows/eclipse_make.py"
variable BATCH_BUILD: '1'
variable IDF_PATH:'/c/espIDF/esp-idf'
variable PATH:
Code: Select all
'
C:/Program Files/Java/jre1.8.0_131/bin/server;
C:/Program Files/Java/jre1.8.0_131/bin;
C:/Program Files/Java/jre1.8.0_131/lib/amd64;
C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\x64;
C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\Pin;
C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\GTPin;
C:\ProgramData\Oracle\Java\javapath;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\Program Files\nodejs\;
C:\Program Files\WorldPainter;
C:\Program Files (x86)\Skype\Phone\;
C:\Program Files\Git\cmd;
C:\WINDOWS\system32\config\systemprofile\.dnx\bin;
C:\Program Files\Microsoft DNX\Dnvm\;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
C:\MinGw\bin;C:\Program Files (x86)\Windows Live\Shared;
C:\Users\Brice\AppData\Local\Microsoft\WindowsApps;
C:\Users\Brice\AppData\Roaming\npm;
C:\Program Files (x86)\Nmap;
C:\Users\Brice\apache-maven-3.5.0\bin;
C:\MinGW\bin;
C:\msys32;
C:\Python27;
C:\msys32\usr\bin;
C:\msys32\mingw32\bin;
C:\msys32\opt\xtensa-esp32-elf\bin;
C:\Users\Brice\AppData\Local\GitHubDesktop\bin;
C:\WINDOWS\system32'
CDT GCC Build Output Parser: 'xtensa-esp32-elf-(g?cc)|([gc]\+\+)|(clang)'
CDT Cross GCC Builtin settings: 'xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"'
I'm not entirely sure what the problem is, as the path exists to a valid make file, and when I try the same settings with eclipse set to cygwin GCC, the build almost succeeds. Any insight as to what could be going wrong?
Here is my thoughts: the python script uses windows style pathing, so when I change the IDF_PATH to 'C:/espIDF/esp-idf', I get the error
Code: Select all
15:52:06 **** Build of configuration Default for project esp-idf-template ****
python C:/espIDF/esp-idf/tools/windows/eclipse_make.py all
C:/espIDF/esp-idf/make/project.mk:49: esp-idf build system only supports GNU Make versions 3.81 or newer. You may see unexpected results with other Makes.
C:/espIDF/esp-idf/make/project.mk:96: *** IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/dir instead of C:/dir. Stop.
Running make in 'C:/espIDF/esp-idf-template'
15:52:06 Build Finished (took 144ms)