ESP32 new project

Sysprogs forums Forums VisualGDB ESP32 new project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9957
    kfeksa@gmail.com
    Participant

    Hello,

    I use VGDB + Visual Studio 2015 and I downloaded support for ESP32 development.

    I created the example projects (Blinky, RTOS..) but build ends with a lot of errors (15) – below output for Blinky project named 3_test:

    Error list:

    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 224
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 166
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 167
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 168
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 169
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 170
    Error (active) incomplete type is not allowed 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\esp32\include\xtensa\xtruntime-core-state.h 171
    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 194
    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 194
    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 207
    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 207
    Error (active) expected a type specifier 3_test c:\SysGCC\esp32\esp32-bsp\esp-idf\components\freertos\include\freertos\list.h 224
    Error ‘for’ loop initial declarations are only allowed in C99 mode 3_test C:\SysGCC\esp32\esp32-bsp\esp-idf\components\driver\rtc_module.c 266
    Error Command-line action failed 3_test D:\ESP-IoT\ESP32\workspace\3_test\3_test\VisualGDB 1
    Error MSB3073 The command “”C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe” /build “D:\ESP-IoT\ESP32\workspace\3_test\3_test\3_test.vcxproj” “/solution:D:\ESP-IoT\ESP32\workspace\3_test\3_test.sln” “/config:Debug” “/platform:Win32″” exited with code 1. 3_test C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41

     

    Any info what might it be? I also get error when I create variable in FOR loop declaration (C99 std). I can browse symbols and variables etc in projects and intelliSense works fine.

    Thanks in advance

    #9968
    support
    Keymaster

    Hi,

    Please ensure that you are using the latest VisualGDB 5.2 and the new MSBuild subsystem.

    Alternatively you can try manually setting the optimization level to -Og instead of -O0 and specifying the -std=gnu++11 language standard.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.