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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Help With Installing/Configuring a Debian compiling & system
« previous next »
  • Print
Pages: [1]

Author Topic: Help With Installing/Configuring a Debian compiling & system  (Read 2771 times)

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Help With Installing/Configuring a Debian compiling & system
« on: January 24, 2007, 08:54:03 PM »
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
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #1 on: January 24, 2007, 08:57:23 PM »
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.)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #2 on: January 24, 2007, 10:44:56 PM »
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.
Logged

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #3 on: January 25, 2007, 10:38:17 AM »
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: [Select]
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!

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

-Dan
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #4 on: January 25, 2007, 10:44:16 AM »
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)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #5 on: January 25, 2007, 02:31:15 PM »
It's called libsdl1.2-dev on my ubuntu box
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #6 on: January 25, 2007, 03:24:48 PM »
In ubuntu you can go to the package manager in the start menu (or whatever its called in gnome) and just type SDL.  Hit install.
Logged

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #7 on: January 25, 2007, 04:34:44 PM »
Alright. I have it pretty much working. Except for the fact that when I try to use Themes, it refuses to load the WPS graphics. Flat out refuses. Says it does, but doesn't actually. Any ideas?
Logged

Offline riksweeney

  • Member
  • *
  • Posts: 74
    • Parallel Realities
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #8 on: January 26, 2007, 09:18:04 AM »
Quote from: DanManners on January 25, 2007, 04:34:44 PM
Alright. I have it pretty much working. Except for the fact that when I try to use Themes, it refuses to load the WPS graphics. Flat out refuses. Says it does, but doesn't actually. Any ideas?

Is there anything written to the console? Does it load the WPS and display it apart from the graphics? Also, what type of images are they (24bit BMP etc.)
Logged
The Legend of Edgar

Offline DanManners

  • Artist
  • Member
  • *
  • Posts: 161
  • Eating Babies Since 1991!
    • Myspace (Add Me!!)
Re: Help With Installing/Configuring a Debian compiling & system
« Reply #9 on: February 12, 2007, 05:21:53 PM »
Yes, all the images are rockbox standard 24-bit, but I've hit another problem. I can't run the rockboxdev.sh, it just crashes ubuntu and I have to reboot. Also, I can't seem to find out ANYWHERE how to find/download/install the arm-elf-gcc file, so I can't compile normal builds. And sorry to pull this up from this dead of page 6.

-Dan
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Help With Installing/Configuring a Debian compiling & system
 

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

Page created in 0.102 seconds with 15 queries.