Rockbox Technical Forums
Support and General Use => Plugins/Viewers => Topic started by: Jazz00006 on August 18, 2006, 09:31:52 PM
-
hey, i love rockbox :) and i've been looking @ making my own plugin (but because im a newby @ C (but not at programming) i started to change around a few files. (to my spesifications)
eg; i make the disk tidy look for *.bmark files
but ive been having trouble following the tutorials on how to compile it again, are there any simpler ones around?
and i dont know the best one to choose just to compile a few files =S
Can anyone point out a few things to a guy thats lost, cheers
(and this is my first post so i dont know if this is the right place for it)
-
You don't even say which tutorials you're following, so it's hard for us to know if you're following a simple one or a complicated one.
Ideally, you should ask about specific problems you're having while trying to compile.
-
There is a wiki page called SimpleGuideToCompiling: http://www.rockbox.org/twiki/bin/view/Main/MenuLayoutDiscussion?topic=SimpleGuideToCompiling
-
well, sorry abut not being SO specific, a guy gave me this link
http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
and i got lost, and i think thats where i went wrong
looking over the other link now.
OK..
here the thing,
going from
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling#Compiling_The_Source_Code
I then have everything in my directory like so:
http://sf.greyfyre.info/Jazz/images/files.gif
then using command prompt (like it said)
# Enter that folder by typing cd folder, where folder is the name you chose for the folder (I chose build)
# In that folder type ../tools/configure which will bring up a list of all possible devices
And i get this
http://sf.greyfyre.info/Jazz/images/cmd.gif
and from then on im stuck.. any help please
-
You're trying to compile from DOS, which is impossible.
You'll either need CYGWIN, or access to a linux computer.
There are guides to installing CYGWIN in the wiki.
-
Cygwin *or* VMWare both work in windows. VMWare is perhaps easier to set up, but a little more difficult to access the files in.
-
looking over the other link now.
OK..
here the thing,
going from
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling#Compiling_The_Source_Code
You need to start at the beginning of that page. In particular, look at this section: http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling#What_You_Will_Need
-
o.O my bad, it said using the command window, i mostook it for the cmd prompt =S insted it was the cyg*** window :) my fault sry guys
now i can get up to the
* Once that is completed, you should see the text Created Makefile
Finally Compiling
* Now type make
i type make but it says command not found, it also (when compiling) tells me that im missing some m68k-elf-gcc file, on line1082 of the configure file, =S
what do i do from here?
-
By any chance, are you on a computer that is set up to be networked? I had that same issue with such a computer and it turned out that the Cygwin set-up set Cygwin up to look at the wrong file location for files--a quick redirection fixed that (after a huge amount of frustration and great help here). There's a thread here on this.
http://forums.rockbox.org/index.php?topic=5369.15
-
Actually i think i only need the file, m68k-elf-gcc file
From another TUT
4. Working PATH
Make sure you have sh-elf-gcc and siblings in the PATH. Make sure that you have 'perl' in your PATH too.
Reading deeper into the files then before, i rekon i just overlooked something =S
-
Are you sure you followed the instructions on the CygwinDevelopment (http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment) wiki page? It sounds like you missed step 3.
-
shh, i just found that in my last post an finished download it, it now works :)
now it just wont do the MAKE part? any help from here?
-
Can you be more specific? What error does it give?
-
4. Working PATH
Make sure you have sh-elf-gcc and siblings in the PATH. Make sure that you have 'perl' in your PATH too.
$ which sh-elf-gcc
$ which perl
Or, If making for an iriver target:
$ which m68k-elf-gcc
Or, If making for an iPod target:
$ which arm-elf-gcc
5. Build
Run 'make' in the build dir and soon the necessary pieces from the firmware and the apps directories have been compiled, linked and scrambled for you.
$ make
using make it says command not found.
Using a h340 (10) and a normal build
-
Sounds like you missed part of step 2. Maybe you didn't select Devel - make when you were installin cygwin.