Project Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-19 4:22 PM
Hi, when I use VSCode STM32 extension, VSCode always show this error. Could you help me solve this problem?
Thanks for your help!
Solved! Go to Solution.
- Labels:
-
VSCode for STM32
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-23 4:13 PM
Looking at your first sreenshot it looks like you are configured to use the MinGW compilers. You need either the STM32IDE or STM32CLT (command line tools) installed in the default location so the extension can find the compilers from ST.
To confirm, did you use the import function in the extension to bring an existing project into VS Code? That generates necessary configuration files to support the build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-19 4:43 PM
This is not an error. Does the program binary build? Can you run or debug it successfully?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-19 5:09 PM
Thanks for your reply. However, it shows as error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-19 9:45 PM
Not sure this is solves the problem but worth to try:
The filesystem path of your project contains weird characters - see the 2nd line from the bottom of the screenshot. Try to rename the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-23 1:05 PM
I am so sorry for replying late. I will try to change it. Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-23 4:13 PM
Looking at your first sreenshot it looks like you are configured to use the MinGW compilers. You need either the STM32IDE or STM32CLT (command line tools) installed in the default location so the extension can find the compilers from ST.
To confirm, did you use the import function in the extension to bring an existing project into VS Code? That generates necessary configuration files to support the build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-06 11:42 AM
I am so sorry for replying late. It is really helpful. I didn't install STM32CLT in the dafault location and didn't add it to system path.
