2012-05-09 08:00 AM
Compile AN3413-Current_consumption_touch_sensing included in the STM32L_Discovery_Firmware_Pack_V1.0.2.
It compiles successfully by using the evaluation copy of MDK-Lite 4.50.0.0 in Windows 7. However, the compile failed on MDK-Lite 4.50.0.0 in Windows XP. The error message is: Rebuild target 'STM32L-Discovery'compiling core_cm3.c...core_cm3.c: error: L6002U: Could not open file .\Obj\core_cm3.o: No such file or directoryTarget not createdAnyone has similar experiences? Thanks.2012-05-10 06:28 AM
The error 'L6002U: Could not open file .\Obj\core_cm3.o: No such file or directory'
is a linker problem, telling you that the linker was unable to find the given object file. If the related source file compiled without errors, you might have an OS/file access rights problem. Do you have your project located in a Windows system folder (including ''C:\Program Files\'' and all it's architecture and locales-dependant similes) ?2012-05-15 07:40 PM
Solved the issue. The problem was that I was running Windows XP on Mac via virtual machine. For some reason, MDK failed to recognize the data directory of Mac. Coping te project directory from Mac to the Windows XP C: drive solves the problem.
2012-05-16 12:14 AM
> The problem was that I was running Windows XP on Mac via virtual machine.
It's sometimes helpful to note such little details in the first place. The more detailed the description of the problem, the more likely someone can help ...