The system cannot find the file specified

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
njak
 
Posts: 3
Joined: Tue Jun 23, 2009 10:39 pm

The system cannot find the file specified

Post by njak »

When I type:

make program-minipov.hex

I get the below msg:
avrdude -p attiny2313 -P com1 -c dasa -U flash:w:minipov.hex
process_begin: CreateProcess(NULL, avrdude -p attiny2313 -P com1 -c dasa -U flas
h:w:minipov.hex, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [program-minipov] Error 2

I have no clue how to fix it.

ScreenShot:
Image

Using:
A kit
windows 2000
a serial port
Minipov does light up one at a time right to left

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: The system cannot find the file specified

Post by adafruit »

interesting, i vaguely remember this. are you an administrator?

njak
 
Posts: 3
Joined: Tue Jun 23, 2009 10:39 pm

Re: The system cannot find the file specified

Post by njak »

I am going to say yes; because, I am using windows 2000, and there is only one user. Otherwise, no clue.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: The system cannot find the file specified

Post by adafruit »


njak
 
Posts: 3
Joined: Tue Jun 23, 2009 10:39 pm

Re: The system cannot find the file specified

Post by njak »

echo %GCC_EXEC_PREFIX%, did not return anything. So, I tried reinstalling AVRDude, and it's working. Hmm...blinky, blinky.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: The system cannot find the file specified

Post by adafruit »

hurrah!

eegee
 
Posts: 6
Joined: Mon Aug 03, 2009 11:54 pm

Re: The system cannot find the file specified

Post by eegee »

I just got this tonight when I was revisiting the minipov3 project after not using it for awhile. I noticed that my makefile was setup as such:
# Default target.
all: begin gccversion \
mypov.hex \
minipov.hex all_leds.hex alt_leds.hex mypov.hex test_leds.hex \
largeimage.hex makefair.hex makezine.hex eyebeam.hex digg.hex make.hex \
finished end

where the following is defined later in the makefile:

finished:
@echo $(MSG_ERRORS_NONE)

end:
@echo $(MSG_END)
@echo


I found that the problem went away as long as the 'finished end' was not on a line by itself:
# Default target.
all: begin gccversion \
mypov.hex \
minipov.hex all_leds.hex alt_leds.hex mypov.hex test_leds.hex \
largeimage.hex makefair.hex makezine.hex eyebeam.hex digg.hex make.hex finished end

Can anybody who understands makefiles better explain why only the latter option avoids the error?

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”