Skip to main content
EL314
Associate III
Mar 17, 2021 10:36 PM UTC
Solved

One more bug. I can not create C++ project from Cube configurator in CubeIDE

If I want to create C++ project from Cube configurator then after my intentions it says that it is done (picture 1). After that it says that not all the necessary firmware pacakges is downloaded (picture 2). In the end it gives me empty project with .ioc file and do nothing (picture 3). But if I try to generate code after configuring everything - it's ok. There will be code.

0693W000008xDTBQA2.png0693W000008xDSfQAM.png0693W000008xDTLQA2.png 

This topic has been closed for replies.
EL314
EL314Best answer
Associate III
Mar 19, 2021 9:06 AM UTC

Problem was solved by reinstalling CubeIDE :alien:

7 replies

EL314
EL314Author
Associate III
Mar 18, 2021 10:17 AM UTC

Today I have tried it again. After warning from picture 2 there was a windows from picture 1 (Open folder / Close) 3 times. Then everything was closed and have becoming looking like I didn't invoke any command.

Paul1
Senior III
Mar 18, 2021 1:20 PM UTC

Quick notes from our internal wiki:

When starting new C++ project ensure set Targeted Language = C++ in MX's Project's Properties

useful: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:STM32_step_by_step_overview

EL314
EL314Author
Associate III
Mar 18, 2021 2:46 PM UTC

There is no any project before my actions. Nothing could be clicked and converted to C++. I want to create a new one with Targeted Language = C++ using internal STM32CubeIDE Cube-configurator. If I can't do that I wandering is it a bug and not tested feature or what? I just want this buggy software to work fine and not waisting time of developers.

Paul1
Senior III
Mar 18, 2021 1:21 PM UTC

I suggest you try STM32CubeMX to create project, it will download the MCU's firmware Pkg.

Also ensure you have latest and matching set of MX, IDE, PRG, Touch...

EL314
EL314Author
Associate III
Mar 18, 2021 2:48 PM UTC

This is just a workaround. I have already used CubeMX and Eclipse to do my work. Can anybody try do the same as me and watch this problem?

EL314
EL314Author
Associate III
Mar 19, 2021 7:01 AM UTC

Update: I can not create any project, and every time I get message from picture2. Then I see Cube configurator and it seems like I can setup my project. But after setting up and generating code I am trying to setup C/C++ building settings and Preprocessor Include Paths it tells me that "This project is not a CDT project". I can not build it

EL314
EL314AuthorBest answer
Associate III
Mar 19, 2021 9:06 AM UTC

Problem was solved by reinstalling CubeIDE :alien: