NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » Open up the command line and navigate to the folder with the code in it... Duh... What?
February 05, 2012 by tpdcoyne |
Page 43 of the NKmanual, it says: "Open up the command line and navigate to the folder with the code in it." That means nothing to me... I've got the Nerd Kit plugged into a Windows 98 machine, COM3, I am in Programmer's Notepad and I have managed to find initialload.c How do I "Open up the command line?" Please forgive my ignorance..... Tim |
---|---|
February 05, 2012 by treymd |
start menu > run change directories with the command cd cd c:Documents and SettingsuserDesktop |
February 05, 2012 by treymd |
absent in my post are backslashes as the directory separators
it is good practice to enclose paths that contain spaces in quotes
|
February 05, 2012 by treymd |
Oh, I'm sorry, it is Start Menu > run > cmd.exe |
February 05, 2012 by tpdcoyne |
Thanks for trying to help, treymd. But when I click on the Start menu in the bottom left, there is no "run" option. Sorry I seem so thick. :-) |
February 05, 2012 by hevans (NerdKits Staff) |
Hi typdcoyne, If you are on windows Vista or higher you can just type cmd into the little search box in the start menu then press enter. There is also a quick tutorial here for users new to the command line. Hope that gets you going. Humberto |
February 06, 2012 by tpdcoyne |
Thanks Humberto. I clicked on Start, then searched for cmd and it appeared. Brilliant. Now I am trying to get the make file to work, but am having trouble. I put the initialload file directly under c: So, I see this... C:initialload> if I type in dir, it comes back with..... Volume in C has no label Volume Serial Number is 6CDA-74BI Directory of C:initialload 06/02/2012 13:05 <DIR> . 06/02/2012 13:05 <DIR> .. 01/05/2010 16:31 969 initialload.c 06/02/2012 13:03 658 Makefile
C:initialload> when I type in make and hit enter, it comes back with.... make -C ../libnerdkits make: ../libnerdkits: No such file or directory. Stop. make: [initialload.hex] Error 2 C:initialload> in the make file, I changed the AVRDUDEFLAGS line to read... AVRDUDEFLAGS=-c avr109 -p m168 -b 115200 -p COM4 This is because the usb is plugged into COM 4 on my computer. Any ideas why this is not working? I am running the NK on an HP Netbook. |
February 06, 2012 by 6ofhalfdozen |
Hi tpdcoyne! In order for the makefile to run properly it needs several library files mentioned in the code. The simplest fix for this, is to find where your "libnerdkits" folder got put and copy it into the initialload folder you have the make file in. Once the folder is copied there, it should fix that error. |
February 06, 2012 by Rick_S |
Actually I don't think that will work, your best bet would be to re-download the code.zip file and unzip it somewhere maintaining it's folder structure. The libnerdkits folder is expected to be in the same parent folder as the project folders. So if done correctly, you would have a folder named code and in that folder would be the project folders like initialload, tempsensor, etc... and also the library folder libnerdkits. Rick |
February 06, 2012 by tpdcoyne |
Rick_S.... You SIR, are a gentleman and a scholar. I did exactly what you suggested and it worked a treat!!!! Thanks also to Huberto, 6ofhalfdozen and treymd! Going to try to hook up my LED Array now!! Get ready for lots more questions! :-) |
Please log in to post a reply.
Did you know that you can make a spooky Halloween Jack-O-Lantern with a microcontroller? Learn more...
|