B4R Question rESP32Bluetooth compilation error

Discussion in 'B4R Questions' started by Mostez, May 15, 2019.

  1. Mostez

    Mostez Active Member

    Hello, I tried to compile this code example (ESP32S board) but I got this error even after updating ESP32 SDK and intalling latest arduino IDE. any ideas how to solve this problem?
    Thanks

    B4R Version: 2.60
    Parsing code. (0.00s)
    Building folders structure. (0.00s)
    Compiling code. (0.00s)
    Building project (0.03s)
    Compiling & deploying Ino project (DOIT ESP32 DEVKIT V1 - COM20) Error
    Loading configuration...
    Initializing packages...
    Preparing boards...
    Verifying...
    exec: "C:\\Users\\Halim\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++": file does not exist
     
  2. thetahsk

    thetahsk Active Member Licensed User

    Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools and double-click get.exe
     
  3. Mostez

    Mostez Active Member

    i ran get.exe, but nothing new, it seems that there is an error, but i could not read the message because the popup window disappeared quickly.

    EDIT: I captured image of get.exe execution result window
     

    Attached Files:

    Last edited: May 16, 2019
  4. Erel

    Erel Administrator Staff Member Licensed User

    I do see this file here. Try to reinstall ESP32 SDK.
     
  5. thetahsk

    thetahsk Active Member Licensed User

    turn off your antivirus progr's and run get.exe as admin.
     
  6. Mostez

    Mostez Active Member

    downloaded SDK again, stopped anti virus and ran get.exe as admin, same error:(
     
  7. Toley

    Toley Active Member Licensed User

  8. Mostez

    Mostez Active Member

    it did not work too:(
     
  9. thetahsk

    thetahsk Active Member Licensed User

    Can you compile a simple Arduino sketch ?
     
  10. Mostez

    Mostez Active Member

    yes i can compile Arduino sketches
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    Is the file from the error message, there?
     
  12. Mostez

    Mostez Active Member

    "xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip" is exist, but it always fails to extract it. I tried to open it manually but it said it is damaged. i downloaded this file two times(erase old one and download)
    Edit: the ZIP file is 0 bytes
     

    Attached Files:

    Last edited: May 20, 2019
  13. Erel

    Erel Administrator Staff Member Licensed User

    The missing file is: C:\\Users\\Halim\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++

    It should look like this:

    [​IMG]
     
  14. thetahsk

    thetahsk Active Member Licensed User

  15. Mostez

    Mostez Active Member

    No Erel, I don't have such files
     
  16. Mostez

    Mostez Active Member

    downloaded the file to C:\...espressif\esp32\tools\dist folder and ran get.exe, the file extracted OK, I could upload simple code to ESP32S :)
    Thanks thetahsk, thanks Erel
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice