Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP32 3.1.3 installation crashed compiler (Read 140 times)
WoeperBe
Junior Member
**
Offline


Posts: 19
Location: Belgium
Joined: Mar 18th, 2020
ESP32 3.1.3 installation crashed compiler
Feb 20th, 2025 at 11:04am
Print Post  
After installing ESP32 3.1.3 i am not able to compile anymore ?

C:\Program Files (x86)\Arduino\java\bin>COPY /y df-release_v5.3-489d7a2b-v1\esp32\sdkconfig" g" 
Error running platform build action hooks.prebuild

           Pre-build discovered additional source: build_opt.h'
 
Deep search for libraries ...
nsa-esp32-elf-g++" -c idf-release_v5.3-489d7a2b-v1\esp32/flags/cpp_flags" -w -Os -Werror=return-type -w -x c++ -E -CC   -DF_CPU=240000000L -DARDUINO=108019 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_min_spiffs "-DARDUINO_HOST_OS=\"windows\"" ult\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 idf-release_v5.3-489d7a2b-v1\esp32/flags/defines" "-ID:\Documents\Arduino\eWatch32\eWatch32" -iprefix df-release_v5.3-489d7a2b-v1\esp32/include/" idf-release_v5.3-489d7a2b-v1\esp32/flags/includes" \idf-release_v5.3-489d7a2b-v1\esp32/qio_qspi/include" es\esp32" iants\esp32" pt.h" ts" .cpp" -o "nul"
The system cannot find the file specified.
nsa-esp32-elf-g++" -c idf-release_v5.3-489d7a2b-v1\esp32/flags/cpp_flags" -w -Os -Werror=return-type -w -x c++ -E -CC   -DF_CPU=240000000L -DARDUINO=108019 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_min_spiffs "-DARDUINO_HOST_OS=\"windows\"" ult\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 idf-release_v5.3-489d7a2b-v1\esp32/flags/defines" "-ID:\Documents\Arduino\eWatch32\eWatch32" -iprefix df-release_v5.3-489d7a2b-v1\esp32/include/" idf-release_v5.3-489d7a2b-v1\esp32/flags/includes" \idf-release_v5.3-489d7a2b-v1\esp32/qio_qspi/include" es\esp32" iants\esp32" pt.h" ts" .cpp" -o "nul"
 
xtensa-esp-elf-g++.exe*: fatal error: cannot specify -o with -c, -S or -E with multiple files


     An error was encountered during the 'Deep Search' library discovery process.
Library Include Paths (22)
Include Path 'D:\Documents\Arduino\libraries\Time'
Include Path ries\WiFi\src'
Include Path ries\DNSServer\src'
Include Path ries\WebServer\src'
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2628
Joined: Feb 13th, 2019
Re: ESP32 3.1.3 installation crashed compiler
Reply #1 - Feb 20th, 2025 at 11:45am
Print Post  
Thanks for the report. 

From the partial log we can see it could be that the ESP32 Board Package has not correctly installed (the prebuild hook #8 fails which is a simple file copy from the core folder).  It may be worth uninstalling it and then reinstalling it again.

Can you attach the full build output as a text file, with the vMicro > Compiler > Verbose and vMicro > Compiler > Show Build Properties enabled?
« Last Edit: Feb 20th, 2025 at 2:36pm by Simon@Visual Micro »  
Back to top
IP Logged
 
WoeperBe
Junior Member
**
Offline


Posts: 19
Location: Belgium
Joined: Mar 18th, 2020
Re: ESP32 3.1.3 installation crashed compiler
Reply #2 - Feb 21st, 2025 at 8:09am
Print Post  
Hello,
Effectively that is the problem.
I deleted the whole Arduino15 directory and rebuild it from scratch.
Everything is OK now
Thanks a lot one's more Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint