No rule to make target error

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mgroeneveld
 
Posts: 2
Joined: Sun Jan 11, 2009 2:03 am

No rule to make target error

Post by mgroeneveld »

OK, so I'm trying to program the MiniPOV3 kit that I assembled. I'm using the AvrMacPack from ObDev with OSX 10.5.6, a usb-serial adaptor (with the suggested driver from the instructions) and a 2 y/o Macbook Pro. It ran the test sequence, running through all the LED's when I assembled it, I've run the initial avrdude -p t2313 -c dasa -P command with the correct port selected, and that worked. I changed the Makefiel with the correct device path, but when I attempt to run a make command it gives me an error with: make: *** No rule to make target `program-alt_leds'. Stop.

I'm pretty new at using the Terminal, so I'm not sure if I'm missing anything or if I should try a different approach. I'd appriate any help anyone could offer.

Thanks

-M@
Attachments
Here's a picture of the terminal when I try to run the program.
Here's a picture of the terminal when I try to run the program.
Terminal.png (29.37 KiB) Viewed 3673 times

Fjornir
 
Posts: 58
Joined: Fri Nov 28, 2008 3:14 pm

Re: No rule to make target error

Post by Fjornir »

"cd" to the directory where you unpacked the sources before running the make command.

mgroeneveld
 
Posts: 2
Joined: Sun Jan 11, 2009 2:03 am

Re: No rule to make target error

Post by mgroeneveld »

Thanks so much! Works perfectly!

-M@

sensation_seeker
 
Posts: 3
Joined: Thu Apr 30, 2009 12:37 pm

Re: No rule to make target error

Post by sensation_seeker »

Fjornir wrote:"cd" to the directory where you unpacked the sources before running the make command.
I am having exactely the same problem but do not understand this reply. What is "cd"? and what am I to do with it?

Thanks

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

Re: No rule to make target error

Post by adafruit »

cd is the command in the dos window, it stands for Change Directory
you have to be in the right directory (where all the downloaded files are)

Jevanko
 
Posts: 13
Joined: Mon Nov 30, 2009 12:29 am

Re: No rule to make target error

Post by Jevanko »

so what would i type? if it was in my documents folder would i type "cd documents"?

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

Return to “MiniPOV”