Rockbox Development > Starting Development and Compiling

Help With Installing/Configuring a Debian compiling & system

(1/2) > >>

DanManners:
So basically, I have Ubuntu installed on my laptop, and I make most of the themes on that with Gimp. But now that I'm learning how to code for rockbox, I'd love it if I could figure out how to install a compiler and such. I'm not sure entirely how to explain this...I Just need some assistance from anyone who knows what to use (program wise) for a Debian-like enviornment.

AIM = J3susjuLce
Email = J3susjuLce@yahoo.com

-Dan

Llorean:
Use http://www.rockbox.org/twiki/bin/view/Main/UsingSVN to check out the Rockbox SVN sources.

Then go into the /rockbox/tools folder, and there's a script, rockboxdev.sh, running that script can download and install all the compilers for you.

Once you've done that you simply need to add the compilers to your path so that they can be accessed from anywhere. At that point you're ready to compile Rockbox.

In the /rockbox folder, make a folder named "Build" or whatever you want to name it (as long as it's not one of the folders already in use), cd into it, and type ../tools/configure, follow the options, once that's done, run make, and then make zip, and you'll have a rockbox.zip for your target.

(I'm sorry for not clarifying on the add to path bit, it varies depending on various things about how you're set up.)

saratoga:
I've setup everything under ubuntu using the link Llorean provided.  Took about 4 minutes flat, and I had no particular knowledge of Ubuntu or the dev environment.  Its very easy.

DanManners:
Hey, whenever I try to do the ../tools/configure, it brings up the menu where you choose your MP3 player, and I hit 22 (for iPodvideo), and then it says Normal, Simulator, Devel, etc. I choose S, for simulator, then it says SDL? and I hit enter, and it comes up with this error message:


--- Code: ---Selected sdl simulator
Using source code root directory: /home/dan/rockbox
configure didn't find sdl-config, which indicates that you
don't have SDL (properly) installed. Please correct and
re-run configure!

--- End code ---

No idea what to do...I feel like a total n00b (haha)

-Dan

bluebrother:
install the sdl-devel package (don't know the exact name on debian / ubuntu, I guess it's something like sdl-dev or sdl1-dev)

Navigation

[0] Message Index

[#] Next page

Go to full version