cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX Error Message

Sidlauskas.David
Associate II
Posted on June 20, 2015 at 20:20

  I'm using CubeMX for a f407 project. When I generate the code I get a warning --The Code is successfully generated under c:/dev/MyProject but library creation and copy have a problem.--

Does anyone have a clue what this means?

Thanks,

Dave
6 REPLIES 6
Amel NASRI
ST Employee
Posted on June 22, 2015 at 12:40

Hi David,

What error message are you getting?

What do you mean by ''library creation and copy have a problem''?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Sidlauskas.David
Associate II
Posted on June 24, 2015 at 19:56

The error message I'm getting is exactly as stated in my original message.

''

 --The Code is successfully generated under c:/dev/MyProject but library creation and copy have a problem.--''

An my question in your question, what does this mean?

Dave

Posted on June 24, 2015 at 20:27

Do the directories exist, or have rights issues?

An issue with the source of the files, or the destination?
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Sidlauskas.David
Associate II
Posted on June 25, 2015 at 18:48

There are no problems with files or directories. The generated project builds and runs OK under Keil. The CubeMX project ran without this message until I made a couple of small changes to GPIO definitions.

Olivier GALLIEN
ST Employee
Posted on February 09, 2017 at 11:10

I just encountered and understood the problem. 

I have open some files from CMSIS library into KEIL which lock the files. 

Then STM32CubeMX fail to copy the files while generating project. 

This can be confirmed looking at STM32CubeMX.log located in 

~./.stm32cubemx/STM32CubeMX.log 

I have following obvious messages : 

2017-02-08 17:15:11,767 [ERROR] ProjectBuilder:2177 - Problem during Copy of File cmsis_armcc.h

2017-02-08 17:15:11,779 [ERROR] ProjectBuilder:2177 - Problem during Copy of File core_cm0plus.h

Closing KEIL instance locking the files fix the issue.

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Posted on May 09, 2017 at 15:43

One more remark: just closing the project in Keil5.17 does not help! I had to completely exit that Keil5 instance.