Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  RockBox Plugins
« previous next »
  • Print
Pages: [1]

Author Topic: RockBox Plugins  (Read 6355 times)

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
RockBox Plugins
« 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)
« Last Edit: August 18, 2006, 09:34:00 PM by Jazz00006 »
Logged
Whats that got to do with the price of feet?

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: RockBox Plugins
« Reply #1 on: August 18, 2006, 09:58:52 PM »
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.
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: RockBox Plugins
« Reply #2 on: August 18, 2006, 10:06:15 PM »
There is a wiki page called SimpleGuideToCompiling:  http://www.rockbox.org/twiki/bin/view/Main/MenuLayoutDiscussion?topic=SimpleGuideToCompiling
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: RockBox Plugins
« Reply #3 on: August 18, 2006, 10:27:16 PM »
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
« Last Edit: August 18, 2006, 11:02:30 PM by Jazz00006 »
Logged
Whats that got to do with the price of feet?

Offline aliask

  • Member
  • *
  • Posts: 22
Re: RockBox Plugins
« Reply #4 on: August 18, 2006, 11:06:23 PM »
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.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: RockBox Plugins
« Reply #5 on: August 18, 2006, 11:07:51 PM »
Cygwin *or* VMWare both work in windows. VMWare is perhaps easier to set up, but a little more difficult to access the files in.
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: RockBox Plugins
« Reply #6 on: August 18, 2006, 11:12:33 PM »
Quote from: Jazz00006 on August 18, 2006, 10:27:16 PM
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
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: RockBox Plugins
« Reply #7 on: August 18, 2006, 11:34:57 PM »
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?
« Last Edit: August 19, 2006, 12:53:10 AM by Jazz00006 »
Logged
Whats that got to do with the price of feet?

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: RockBox Plugins
« Reply #8 on: August 19, 2006, 09:52:33 AM »
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
Logged

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: RockBox Plugins
« Reply #9 on: August 20, 2006, 07:12:14 AM »
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
Logged
Whats that got to do with the price of feet?

Offline barrywardell

  • Developer
  • Member
  • *
  • Posts: 55
Re: RockBox Plugins
« Reply #10 on: August 20, 2006, 07:19:27 AM »
Are you sure you followed the instructions on the CygwinDevelopment wiki page? It sounds like you missed step 3.
Logged

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: RockBox Plugins
« Reply #11 on: August 20, 2006, 07:53:57 AM »
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?
Logged
Whats that got to do with the price of feet?

Offline barrywardell

  • Developer
  • Member
  • *
  • Posts: 55
Re: RockBox Plugins
« Reply #12 on: August 20, 2006, 07:58:13 AM »
Can you be more specific? What error does it give?
Logged

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: RockBox Plugins
« Reply #13 on: August 20, 2006, 08:08:07 AM »
 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
« Last Edit: August 20, 2006, 08:10:17 AM by Jazz00006 »
Logged
Whats that got to do with the price of feet?

Offline barrywardell

  • Developer
  • Member
  • *
  • Posts: 55
Re: RockBox Plugins
« Reply #14 on: August 20, 2006, 08:38:59 AM »
Sounds like you missed part of step 2. Maybe you didn't select Devel - make when you were installin cygwin.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  RockBox Plugins
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.21 seconds with 22 queries.