VisualGDB Unable to find BSP.cmake

Sysprogs forums Forums VisualGDB VisualGDB Unable to find BSP.cmake

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36231
    khalil
    Participant

    Hi, I’m using VisualGDB trial version and try to build a STM32 project(cmake based). But the while cmake configuration CMAKE unable to find BSP while find_bsp command, It also could not find BSP.cmake. Although, I have installed the required packages from “Manage VisualGDB Packages”.

    • Project is showing; BSP()
    • It’s also not showing me any target to set or target that exists on HOST system.

    NOTE: BSP is discovered as well as the target and also project also built, if I create a new project. But not working with existing cmake project

    • This topic was modified 1 month, 1 week ago by khalil.
    Attachments:
    You must be logged in to view attached files.
    #36234
    khalil
    Participant

    If I place BSP.cmake by myself in <Project-Dir>build/VisualGDB/Debug/. The target is discovered and project is built successfully …

    #36235
    support
    Keymaster

    Hi,

    This could be related to a recently fixed bug. Please try installing the latest VisualGDB 6.0R6 and try re-creating the project from scratch.

    #36238
    x_ruslan
    Participant

    I confirm. I have the same problem on VisualGDB 6.0R6

    #36251
    x_ruslan
    Participant

    Running CMake: C:\Users\Ruslan\AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G “Ninja” -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/SysGCC/arm-eabi -DCMAKE_MAKE_PROGRAM=”C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe” -DCMAKE_TOOLCHAIN_FILE=C:\_solo\final\EmbeddedProject2/build/VisualGDB/Debug/toolchain.cmake -DPLATFORM=VisualGDB -DLOCALAPPDATA=C:/Users/Ruslan/AppData/Local
    — The C compiler identification is GNU 13.3.1
    — The CXX compiler identification is GNU 13.3.1
    — The ASM compiler identification is GNU
    — Found assembler: C:/SysGCC/arm-eabi/bin/arm-none-eabi-g++.exe
    — Detecting C compiler ABI info
    — Detecting C compiler ABI info – done
    — Check for working C compiler: C:/SysGCC/arm-eabi/bin/arm-none-eabi-gcc.exe – skipped
    — Detecting C compile features
    — Detecting C compile features – done
    — Detecting CXX compiler ABI info
    — Detecting CXX compiler ABI info – done
    — Check for working CXX compiler: C:/SysGCC/arm-eabi/bin/arm-none-eabi-g++.exe – skipped
    — Detecting CXX compile features
    — Detecting CXX compile features – done
    VisualGDB found an error: Failed to locate the com.sysprogs.project_importers.stm32.cubemx project importer
    — Configuring incomplete, errors occurred!
    CMake Error at C:/Program Files (x86)/Sysprogs/VisualGDB/CMake/embedded/bsp.cmake:245 (include):
    include could not find requested file:

    C:/_solo/final/EmbeddedProject2/build/VisualGDB/Debug/BSP.cmake
    Call Stack (most recent call first):
    CMakeLists.txt:5 (find_bsp)

    System.Exception: CMake exited with code 1
    at xd3.e(b a, Object b)

    ========== Project Configuration Summary ==========
    EmbeddedProject2 configured in 00:02
    ========== Configuration: 1 Succeeded, 0 Failed, 0 Skipped ==========

    #36252
    x_ruslan
    Participant

    Help me please

    #36253
    support
    Keymaster

    It looks like you are still using VisualGDB 6.0R5. Please make sure you install VisualGDB 6.0R6. You can check the installed version via Help->About VisualGDB.

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