Errors in Eclipse

Eman Hussein
Posts: 6
Joined: Fri May 26, 2017 10:57 pm

Errors in Eclipse

Postby Eman Hussein » Tue May 30, 2017 7:50 pm

I am trying to build esp-idf-template on eclipse following the video "ESP32 Technical Tutorials: Building a C++ Application" by Kolban but I am getting these 2 errors :
Description Resource Path Location Type
make: *** [/home/esp-idf/components/bootloader_support/Makefile.projbuild:7: /home/esp_proj_1/secure_boot_signing_key.pem] Error 1
and
Description Resource Path Location Type
warning, -s option given but default rule can be matched esp_proj_1

Is there any idea what do I need to do to fix them ?
I attached a screenshot of these 2 errors as well .
Attachments
2017-05-30.png
2017-05-30.png (63.5 KiB) Viewed 13363 times

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Errors in Eclipse

Postby kolban » Thu Jun 01, 2017 3:53 am

Does your project's environment variables include a setting for IDF_PATH?

Here is what mine looks like:

Image
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Eman Hussein
Posts: 6
Joined: Fri May 26, 2017 10:57 pm

Re: Errors in Eclipse - Windows

Postby Eman Hussein » Thu Jun 01, 2017 4:38 pm

Yes , and the path is
C:/Users/emanh/Desktop/ESP32/esp32_win32_msys2_environment_and_toolchain-20170330/msys32/home/esp-idf

Eman Hussein
Posts: 6
Joined: Fri May 26, 2017 10:57 pm

Re: Errors in Eclipse

Postby Eman Hussein » Thu Jun 01, 2017 5:25 pm

here is a screenshot
Attachments
enviroment.PNG
enviroment.PNG (54.5 KiB) Viewed 13319 times
enviroment.PNG
enviroment.PNG (54.5 KiB) Viewed 13319 times
enviroment.PNG
enviroment.PNG (54.5 KiB) Viewed 13319 times

Eman Hussein
Posts: 6
Joined: Fri May 26, 2017 10:57 pm

Re: Errors in Eclipse

Postby Eman Hussein » Thu Jun 01, 2017 6:28 pm

there is also a warning saying
Invalid project path: Include path not found (C:\Users\emanh\Desktop\ESP32\esp32_win32_msys2_environment_and_toolchain-20170330\msys32\home\esp-idf\components\bt\bluedroid\btc\profile\std\sdp\include). esp_proj_1 pathentry Path Entry Problem

Eman Hussein
Posts: 6
Joined: Fri May 26, 2017 10:57 pm

Re: Errors in Eclipse

Postby Eman Hussein » Thu Jun 01, 2017 6:35 pm

also the project's path is:
C:\Users\emanh\Desktop\ESP32\esp32_win32_msys2_environment_and_toolchain-20170330\msys32\home\esp_proj_1
and the esp-idf path is :
C:\Users\emanh\Desktop\ESP32\esp32_win32_msys2_environment_and_toolchain-20170330\msys32\home\esp-idf

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Errors in Eclipse

Postby kolban » Fri Jun 02, 2017 4:09 pm

Aha ... a sudden realization (on my part) ... you are running in Windows. All my experience has been running in Linux. I personally haven't tried any experiments running in the Windows environment. What I will attempt to do is find time this weekend and try and build a Windows build environment and follow my own instructions and see how far I get.
I fully believe that Windows is a supported environment for ESP32 (as per Espressif documentation) however for me, I do all my development in a Linux environment. I run Ubuntu under Oracle's Virtual Box running on Windows 10.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: Errors in Eclipse

Postby f.h-f.s. » Sat Jun 03, 2017 6:24 pm

@kolban You should do a video on Visual Studio code. it is way easier to set up than eclipse.
Also, on windows you would need a GNU environment like MSYS2. The windows tutorial includes MSYS2, so it wouldn't be that much of a difference from your ubuntu setup.

@eman msys2 cant work with paths containing ":"
Also try using ONLY forward slashes "/"
the C drive is mounted in /c/
It could be the IDF_PATH and the xtensa toolchain path contain ":"
My paths for my vscode setup working with msys2 are:

Code: Select all

"IDF_PATH": "/c/IoT/esp-idf",
"PATH": "${env.PATH}:/c/msys32/usr/bin:/c/msys32/mingw32/bin:/c/IoT/xtensa-esp32-elf/bin",
"XtensaEsp32ELFBinPath": "/c/IoT/xtensa-esp32-elf/bin",

Chayal
Posts: 1
Joined: Sun Sep 03, 2017 11:57 am

Re: Errors in Eclipse

Postby Chayal » Sun Sep 03, 2017 12:02 pm

Hi Eman Hussein,


when running esp-idf-template, getting the same errors like you did, can you tell me how you solved them?

errors:
-s option given but default rule can be matched
make: *** [/c/workspace/esp-idf/components/esptool_py/Makefile.projbuild:53: flash]

please share your knowledge with me,
Chaya

tdy91esp32
Posts: 1
Joined: Thu Nov 30, 2017 11:08 pm

Re: Errors in Eclipse

Postby tdy91esp32 » Thu Nov 30, 2017 11:19 pm

Concerning Warning "-s option given but default rule can be matched", i had a very similar problem and just post my analysis and a proposed solution at https://github.com/espressif/esp-idf/issues/1338.

Maybe it can help you.

Who is online

Users browsing this forum: brushlow18, MicroController and 107 guests