extremly slow compiling

Sysprogs forums Forums VisualGDB extremly slow compiling

This topic contains 5 replies, has 2 voices, and was last updated by  support 3 weeks, 4 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31221

    marek
    Participant

    Hello,

    I had a problem with compilation, it was slow. After searching for solution and no idea what I can do. I decide to uninstall everything (Visual Studio, Visual GDB).

    Then I install all tools again, and during compilation, the CPU usage can drop to 2.2%! It’s extremely slow. A basic project need 7min to compile

    I work with ESP32. What can I do to speed it up?

     

    Best regards,

    Marek

    Attachments:
    You must be logged in to view attached files.
    #31223

    support
    Keymaster

    According to our records, your support has expired a while ago. Please kindly renew it via this page and try installing the latest VisualGDB 5.6 Beta 4. If the problem persists, please let us know and we will help you get it working.

    #31233

    marek
    Participant

    My licence was renewed, new version of visual GDB was installed. And compilation still took long lime, while CPU is used in few percent.

     

     

     

     

    #31234

    support
    Keymaster

    Thanks for renewing your license. The slow build might come from the GNU Make tool used by the ESP32 projects. Please make sure your project uses CMake and Ninja, and not the legacy GNU Make. You can recheck it via VisualGDB Project Properties -> CMake Build Settings.

    If this doesn’t help, please try exporting the configuration and build command lines from VisualGDB to batch files as shown here. Does running them manually also result in a slow build?

    #31235

    marek
    Participant

    I have no CMake Build Settings option.

    Going with instruction from here  I have only “Reload Project” no “Reload CMake Project”

     

     

     

    Attachments:
    You must be logged in to view attached files.
    #31237

    support
    Keymaster

    Hi,

    This is an Arduino-based project and not an ESP-IDF-based one. Arduino projects use the Arduino build system that can be considerably slower than CMake+Ninja.

    Either way, you can try building the project outside VisualGDB as shown here: https://visualgdb.com/documentation/projects/arduino/#troubleshooting

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.