Sysprogs forums › Forums › VisualGDB › VisualGDB Unable to find BSP.cmake
Tagged: bsp
- This topic has 6 replies, 3 voices, and was last updated 1 month ago by support.
-
AuthorPosts
-
December 9, 2024 at 06:05 #36231khalilParticipant
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.December 9, 2024 at 06:45 #36234khalilParticipantIf I place BSP.cmake by myself in <Project-Dir>build/VisualGDB/Debug/. The target is discovered and project is built successfully …
December 9, 2024 at 09:21 #36235supportKeymasterHi,
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.
December 11, 2024 at 22:28 #36238x_ruslanParticipantI confirm. I have the same problem on VisualGDB 6.0R6
December 18, 2024 at 06:12 #36251x_ruslanParticipantRunning 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 ==========December 18, 2024 at 06:13 #36252x_ruslanParticipantHelp me please
December 18, 2024 at 07:19 #36253supportKeymasterIt 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.
- Project is showing;
-
AuthorPosts
- You must be logged in to reply to this topic.