No rule to make target

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

No rule to make target

1,418 Views
Federico_R
Contributor II

Hi,

I create a working project with Codewarrior 10.5, but when I import the project into Codewarrior I get this error:

 

 

**** Build of configuration DEBUG for project MyProject ****

 

 

"C:\\Freescale\\CW MCU v10.5\\gnu\\bin\\mingw32-make" -j8 all

mingw32-make: *** No rule to make target `C:\Users\Firmware\Generated_Code\Cpu.c', needed by `Generated_Code/Cpu_c.obj'.  Stop.

 

I try to do a Project clean, but after this clean the compiler gave me some error.

 

Could anyone help me?

 

Thanks

Labels (1)
0 Kudos
5 Replies

726 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Fed,

Please try create a new workspace, then put your project under it , then import it .

Hope it helps

Alice

0 Kudos

726 Views
BlackNight
NXP Employee
NXP Employee

Does that Cpu.c file exist on your machine, in that path?

C:\Users\Firmware\Generated_Code\Cpu.c

0 Kudos

726 Views
Federico_R
Contributor II

Hi Erich, thanks for the reply.

Yes the file in into that directory.

0 Kudos

726 Views
BlackNight
NXP Employee
NXP Employee

the make complains that it cannot find the file

C:\Users\Firmware\Generated_Code\Cpu.c

So if you say it is really, really there, then not sure what the problem is.

0 Kudos

726 Views
Federico_R
Contributor II

Every time I import my project the compiler gave me this for different file. If I do a clean project and then I build the project the compiler game me some error. In particular the compiler can't find types.h but this file is present in the folder before I build the project. Can the compiler delete some file during building?

Thanks

Error.JPG.jpg

0 Kudos