Maybe this article gets the attention of a local optometrist or eye shop: I have a business opportunity for you! ;-).
I ran into a weird problem: I received an ARM GNU gcc project which failed during the generation of the S19 file in strange way:
'Executing target #80 Freedom_Zumo.siz' 'Invoking: ARM Ltd Windows GNU Create Flash Image' “C:/Freescale/CW MCU v10.3\eclipse\../Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy” -O srec Freedom_Zumo.elf "Freedom_Zumo.hex" ' ' Der Befehl "“C:" ist entweder falsch geschrieben oder konnte nicht gefunden werden. mingw32-make: *** [Freedom_Zumo.hex] Error 1
Interestingly, the error message is in German. I’m using a localized German version of Windows 8, so this message definitely was coming from the Windows operating system, and not from Eclipse or CodeWarrior?
Running the same project on a Windows with English local language returned the same thing, but in English:
'“C:' is not recognized as an internal or external command, operable program or batch file.
So Windows cannot find
C:/Freescale/CW MCU v10.3\eclipse\../Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy
But checking my files, that file exists, and it is working for other projects?
Checking the project settings, and everything looked fine:
Well, until I had a *realy* close look at the Console view:
Ahrg! It is not using the straight (programmers) double quotes! And this is really hard to spot in the Eclipse project settings. At least for myself, I can hardly see the difference:
Changing the double quotes to use “..” solved the problem 🙂
- Always use ‘straight’ double quotes (“…”) (typewriter or programmer quotation marks) and not “..” .
- Be careful with copy-paste things from documents or web pages as they can use different quotation marks which will not work.
- Check the Console view output in case of strange errors.
- I might get a call from a local optometrist 🙂
Happy Quoting 🙂