Sysprogs forums › Forums › VisualGDB › esp-idf 4.1 not working with esp32
- This topic has 2 replies, 2 voices, and was last updated 4 years, 9 months ago by support.
-
AuthorPosts
-
March 5, 2020 at 08:29 #27564tomasfrisbergParticipant
Hi,
I recently installed the esp-idf 4.1 version and I am not able to build newly created Visual gdb Projects for the ESP32 chip. The idf 3.2 version is working just fine. I have tried some different Visual gdb versions with the latest one being <span>5.5.4.3549</span>. I try to load one of the getting started Projects, “hello World”.
Creating a new Project fails to build with the following error message:
<span>Error The C compiler “C:/SysGCC/esp32/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe” is not able to compile a simple test program. It fails with the following output: Change Dir: C:/proj/esp32/Test5/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_494ea && [1/2] Building C object CMakeFiles/cmTC_494ea.dir/testCCompiler.c.obj [2/2] Linking C executable cmTC_494ea FAILED: cmTC_494ea cmd.exe /C “cd . && C:\SysGCC\esp32\opt\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -mlongcalls -Wno-frame-address CMakeFiles/cmTC_494ea.dir/testCCompiler.c.obj -o cmTC_494ea && cd .” c:/sysgcc/esp32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory c:/sysgcc/esp32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory c:/sysgcc/esp32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lsim c:/sysgcc/esp32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhandlers-sim c:/sysgcc/esp32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lhal collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Test5 C:\Users\tfri\AppData\Local\VisualGDB\CMake\share\cmake-3.15\Modules\CMakeTestCCompiler.cmake 60
</span>Am I doing something wrong or is there a fix available?
Kind regards
Tomas
Attachments:
You must be logged in to view attached files.March 5, 2020 at 11:07 #27567tomasfrisbergParticipantGot it working with the 4.0 without any problems. This is ok for me.
kind regards
Tomas
March 5, 2020 at 16:40 #27568supportKeymasterHi,
Please see the following page for a detailed explanation: https://visualgdb.com/support/idfcheckout/
Edit: VisualGDB 5.5 Preview 5 now fully supports ESP-IDF 4.1. Simply install it over any other VisualGDB version and get our latest ESP32 toolchain and you will be able to install ESP-IDF 4.1 into it:
- This reply was modified 4 years, 7 months ago by support. Reason: Mentioned new ESP-IDF 4.1 support
Attachments:
You must be logged in to view attached files. -
AuthorPosts
- You must be logged in to reply to this topic.