cancel
Showing results for 
Search instead for 
Did you mean: 

Hi I am relatively new to STM32 and Cube MX so was trying to compile the examples from CubeMX. Two issues. Some examples don't compile under CubeMX so had to select run under external IDE. I use CubeIDE be no selectable option so cannot build proj.

Mduff.1
Associate II

was specifically interested in the following.

C:\Users\user\STM32Cube\Example\QSPI_perfs

C:\Users\user\STM32Cube\Example\STemWin

C:\Users\user\STM32Cube\Example\TouchGFX

Can get TouchGXX to create and run its own GUI projects. its the stand alone ones that are a problm

12 REPLIES 12

Hello

to answer your last question re opening and compiling projects under cubeide.

Yes i can open and compile workspace projects designated as IDE projects. i.e CubeMx example projects opened in CubeIDE.

i cannot compile projects in the workspace designated c/c++ projects.

i.e. projects imported into IDE from non CubeMX examples.​

I can view all code but the properties of the project are different from IDE projects and i don't know how to get c/c++ projects to compile.

E g. The QSPI_perfs project i sent you.

i.e. selecting the c/c++ project then Build does not generate any code.

There must be some Property i need to add/change in order to get it to compile c/c++ projects.

This is where i need your assistance.

thanks

Mike

My reply is in the website not in this email chain.
Short version
Yes i can open and compile CubeIDE projects from CubeMX (IDE icon in workplace) examples.
I can open but not compile c/c++ projects (c/c++ icon in workplace) imported from external .zip projects or the CubeMX examples that will not compile within CubeMX.
e.g. QSPI_perfs project i sent you.
This was exported to Examples folder under CubeMX as a complete project and imported into CubeIDE workspace as a file system folder.
It seemed to work and i can open all files within CubeIDE after the import but not compile.
The Properties are different for the two types of project mentioned above.
The c/c++ project has less properties and no Properties/Settings folder that i can find.
This is where i need your assistance.
Thanks
Mike
Hello Khouloud
I tried compiling and running the STemWin project.
It compiled but there were errors.
To explain before i started looking at STemWin or other GUI generators i downloaded a file from GitHub called easyGUI.
I couldn't get it to work but put it down to my inexperience.
When i try to compile one of the STemWin projects it somehow tries to link in the libraries associated with easyGUI.
see screenshots. this shouldn't happen but i don't know why.
I expect STemWin to have a library somewhere that supports the graphical interface but i don't know where that is.
it isn't in the project.
so my request is how to resolve this. maybe i need to relocate the lib\... folders somewhere else that CubeIDE can use in its link but i don't know where that is.
Maybe it is just as simple to delete the easyGUI folder from the workspace - since i have one and you do not and you can run the application and i cannot.
In short can you provide some assistance in resolving this issue?
.Kind Regards
Mike