#65 Build fails if project name include a space.


This is using the plugin "", as linked to in comments here on sourceforge and avr-gcc 4.7.2.

When a project name include a space, the build fails. Here is the console for an example project:

Invoking: AVR C Linker
avr-gcc -Wl,-Map,Nexa Controller.map -mmcu=atmega16 -o "Nexa Controller.elf" ./delay.o ./main.o
avr-gcc: error: Controller.map: No such file or directory
make: *** [Nexa Controller.elf] Error 1

I'm not very knowledgable about these kind of things, but it seems that on the second row above, avr-gcc is invoked with a filename (Nexa Controller.map) without the "-character surrounding it. Therefore avr-gcc next complains that "Controller.map" is not found.

When changing the name of the project to e.g. 'Nexa-Controller' all builds fine.

Sorry, I don't know (understand) how the makefile is generated, so there might already be an easy fix right under my nose, but I thought I would mention this here anyway.

Thanks for all the work on this plugin! :)


Log in to post a comment.