Errors in Eclipse
-
- Posts: 6
- Joined: Fri May 26, 2017 10:57 pm
Errors in Eclipse
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 .
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 (63.5 KiB) Viewed 13337 times
Re: Errors in Eclipse
Does your project's environment variables include a setting for IDF_PATH?
Here is what mine looks like:
Here is what mine looks like:
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 6
- Joined: Fri May 26, 2017 10:57 pm
Re: Errors in Eclipse - Windows
Yes , and the path is
C:/Users/emanh/Desktop/ESP32/esp32_win32_msys2_environment_and_toolchain-20170330/msys32/home/esp-idf
C:/Users/emanh/Desktop/ESP32/esp32_win32_msys2_environment_and_toolchain-20170330/msys32/home/esp-idf
-
- Posts: 6
- Joined: Fri May 26, 2017 10:57 pm
Re: Errors in Eclipse
here is a screenshot
- Attachments
-
- enviroment.PNG (54.5 KiB) Viewed 13293 times
-
- enviroment.PNG (54.5 KiB) Viewed 13293 times
-
- enviroment.PNG (54.5 KiB) Viewed 13293 times
-
- Posts: 6
- Joined: Fri May 26, 2017 10:57 pm
Re: Errors in Eclipse
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
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
-
- Posts: 6
- Joined: Fri May 26, 2017 10:57 pm
Re: Errors in Eclipse
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
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
Re: Errors in Eclipse
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.
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
Re: Errors in Eclipse
@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:
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",
Re: Errors in Eclipse
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
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
-
- Posts: 1
- Joined: Thu Nov 30, 2017 11:08 pm
Re: Errors in Eclipse
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.
Maybe it can help you.
Who is online
Users browsing this forum: No registered users and 120 guests