Hi guys,
I'm having a problem compiling a project. This is not a new problem, many others have had it but I can't seem to fix it. Here's the output from Atmel Studio
------ Build started: Project: Control, Configuration: Debug AVR ------ Build started. Project "Control.cproj" (default targets): Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!=''). Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "\\**private directory path**" (target "Build" depends on it): Task "RunCompilerTask" Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs --output-sync /usr/bin/sh: C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe: command not found make: *** [main.o] Error 127 Building file: .././main.c Invoking: AVR/GNU C Compiler : 5.4.0 "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -x c -funsigned-char -funsigned-bitfields -DDEBUG -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328pb -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328pb" -c -std=gnu99 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o" -o "main.o" ".././main.c" \\**private directory path**\Debug\Makefile(88,1): error: recipe for target 'main.o' failed make: *** Waiting for unfinished jobs.... Building file: .././hd44780.c Invoking: AVR/GNU C Compiler : 5.4.0 /usr/bin/sh: C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe: command not found make: *** [hd44780.o] Error 127 "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe" -x c -funsigned-char -funsigned-bitfields -DDEBUG -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328pb -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328pb" -c -std=gnu99 -MD -MP -MF "hd44780.d" -MT"hd44780.d" -MT"hd44780.o" -o "hd44780.o" ".././hd44780.c" \\**private directory path**\Debug\Makefile(81,1): error: recipe for target 'hd44780.o' failed Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild" in project "Control.cproj" -- FAILED. Done building project "Control.cproj" -- FAILED. Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Now I did check and C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe is in that directory AND I can compile code from this week without any issues.
This has prevented me from updating my older projects. What can I do here?