CodeWarrior Build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Build error

Jump to solution
137 Views
Julian99
Contributor III

Every so-often I get a build error:-

mingw32-make: *** No rule to make target Dropbox//Projects/\Project_x/\Project_Headers/\../\Sources/\Events.c',                     needed by `Sources/Events_c.obj'.  Stop.

The file Events_c.obj does, of course, exist, but the usual remedies do not work. I tried a Clean build, I deleted Events_c.obj', I deleted the whole Flash folder, I tried shutting down and re-starting but nothing worked. I ended up creating a new project and cut and pasted the source file content. This problem occurs once every few weeks and on a couple of occasions, after the computer was "sleeping", the problem cleared itself.

0 Kudos
Reply
1 Solution
73 Views
luis_maravilla
NXP Employee
NXP Employee

Hello,

Which version of CodeWarrior are you using?

Does the Clean build that you tried is by using the commander>Clean (All)?

When you move to a new project it works and after a few weeks happens again?

Probably your make files doesn’t match according to your directory.

Please try this to clean and make a re-creation of the make files

On the Project view>Clean>Select your project to build

 

luis_maravilla_1-1787091476012.pngluis_maravilla_1-1787091476012.png

 

Also, as a recommendation do not use the Dropbox folder, kindly change to a local path and add it or change it in the build directory.

Please refer to this post for more information No rule to make target | MCU on Eclipse

Best Regards, Luis

View solution in original post

0 Kudos
Reply
2 Replies
74 Views
luis_maravilla
NXP Employee
NXP Employee

Hello,

Which version of CodeWarrior are you using?

Does the Clean build that you tried is by using the commander>Clean (All)?

When you move to a new project it works and after a few weeks happens again?

Probably your make files doesn’t match according to your directory.

Please try this to clean and make a re-creation of the make files

On the Project view>Clean>Select your project to build

 

luis_maravilla_1-1787091476012.pngluis_maravilla_1-1787091476012.png

 

Also, as a recommendation do not use the Dropbox folder, kindly change to a local path and add it or change it in the build directory.

Please refer to this post for more information No rule to make target | MCU on Eclipse

Best Regards, Luis

0 Kudos
Reply
99 Views
Julian99
Contributor III
Thanks, the sync issue makes sense, but it will be a few days before I can try it.
0 Kudos
Reply