jawher / xavr

An AVR C project template for XCode
MIT License
68 stars 18 forks source link

fatal error: opening dependency file Builds/.dep/main.o.d: No such file or directory #12

Open Zenitram-Oriaj opened 9 years ago

Zenitram-Oriaj commented 9 years ago

Everytime I start an AVR project, I get the error below:

Compiling: main.c
/usr/local/CrossPack-AVR/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000UL  -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=Builds/main.lst  -std=gnu99 -gstabs -gstrict-dwarf -MD -MP -MF Builds/.dep/main.o.d "/Users/digimenet/Documents/ATmega328P_Dev/ATmega328P_Dev/main.c" -o Builds/main.o 
/Users/digimenet/Documents/ATmega328P_Dev/ATmega328P_Dev/main.c:16:1: fatal error: opening dependency file Builds/.dep/main.o.d: No such file or directory
 }
 ^
compilation terminated.
make: *** [Builds/main.o] Error 1

I installed the CrossPack AVR kit. Then I installed your provided python script, open up xcode, selected the avr project, then tried to compile the main.c template provided and I get that error.

Please help. I need to know what I screwed up, just can not figure it out. Also, I don't like switching back and forth between OS X and Windows.

Thanks in advance.

jawher commented 9 years ago

Did you try to build a second time ?