AnsweredAssumed Answered

Linker looking for file generated makefile does not create

Question asked by Ron Wilson on Sep 12, 2016
Latest reply on Sep 18, 2016 by ZhangJennie

I am testing CW 10.7 for MCUs on a legacy project that previously used CW 6.3

 

The project built successfully under 6.3, however that version of CW doesn't support 64 bit Win7. While possible to set up a VM to run CW 6.3, my team and I have been directed to determine feasibility an up to date build environment to avoid IT support issues.

 

When I run the build, a makefile is generated. this makefile creates object files named like "main_c.obj". However, when the link phase is attempted, the linker is looking for "main_c.o", which not what the compile phase created.

 

The error message is "ERROR L1302: File main.c.o not found"

 

I have looked at the makefile and various (also generated) subdir.mk and other sub-make file, but I don't see where "main_c.o" came from.

 

Any suggestions how to work around this problem?

Outcomes