PDA

View Full Version : help needed in avrstudio



snk_naveen
05-14-2009, 08:18 PM
hi friends
everytime i try to compile/build any program this error message shows up

Build started 14.5.2009 at 20:16:31
avr-gcc.exe -mmcu=atmega8 -Wall -gdwarf-2 -O0 -MD -MP -MT abc.o -MF dep/abc.o.d -c ../abc.c
process_begin: CreateProcess(NULL, "D:/Naveens data/Robots/zip soft/utils/bin/sh.exe -c D:/Naveen\s data/Robots/zip soft/utils/bin/sh.exe -c mkdir\ dep\ 2\>/dev/null", ...) failed.
../abc.c:2: fatal error: opening dependency file dep/abc.o.d: No such file or directory
compilation terminated.
make: *** [abc.o] Error 1
Build failed with 1 errors and 0 warnings...


i dont know wat to do please help!!!

elecrom
05-14-2009, 09:34 PM
Remove all spaces in the directory names. AVR gcc does not like blank spaces in file's path.

avinash_g
05-15-2009, 06:42 AM
Hello,

>> Uninstall both WinAVR and AVR Studio
>> Install WinAVR in C:\WinAVR (Note NO SPACE IN FOLDER NAME!!!)
>> Then Install AVRStudio
>> If required restart the System (PC)
>> Then try to compile


Refer to this to create a simple AVR Studio Project

http://extremeelectronics.co.in/avr-tutorials/part-iv-the-hello-world-project/

Bye 8)

snk_naveen
05-16-2009, 08:48 AM
now its working thanks for your help