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
| | |-+  Compiling the Simulator
« previous next »
  • Print
Pages: [1] 2

Author Topic: Compiling the Simulator  (Read 6492 times)

Offline mschneider

  • Member
  • *
  • Posts: 235
Compiling the Simulator
« on: May 24, 2007, 05:22:52 PM »
To compile a UI simulator (with an album art patch) do you patch the source and then just compile as a simulator? I've done this and i get the rockbox files but i'm not sure how to execute them.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Compiling the Simulator
« Reply #1 on: May 24, 2007, 05:24:51 PM »
when building the simulator run "make install" afterwards. This does anything for you that is needed -- compiling works like for a normal build.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #2 on: May 24, 2007, 05:39:34 PM »
I did that but i get a .rockbox folder inside of the archos directory (which should happen) and then i have no .exe file to run it.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Compiling the Simulator
« Reply #3 on: May 24, 2007, 05:44:00 PM »
you run the file rockboxui.exe in the build directory.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #4 on: May 24, 2007, 05:47:08 PM »
I didnt get a rockboxui.exe. All i have is the archos folder with .rockbox inside of it.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Compiling the Simulator
« Reply #5 on: May 24, 2007, 05:49:06 PM »
Are you compiling in vmware?  If so, then you'll get a Linux executable (rockboxui), not a Windows .exe file.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #6 on: May 24, 2007, 05:55:22 PM »
no i am compiling in cygwin on windows. Is it still possible to make and run a simulator?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Compiling the Simulator
« Reply #7 on: May 24, 2007, 06:12:51 PM »
well, _if_ building worked you'll get an executable file in the build directory. Did your build work at all? It would be helpful if you could post some more details, like warnings / errors in your log or any information if building works with a clean svn.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #8 on: May 24, 2007, 06:20:32 PM »
Well when i began to compile (selected my player) i got two "Dr. Watson" errors but i was told that these were windows related and wouldnt affect my build. Next i ran "make" and got three more of the same errors. Next i ran "make install" and i got a "rockbox-full.zip" and my archos directory with the .rockbox folder in it.
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: Compiling the Simulator
« Reply #9 on: May 24, 2007, 11:08:51 PM »
This may or may not help anyone but anyways..  When I first tried to build a sim I tried to build it in my build directory where I had already built rockbox for my iPod.....very bad idea, all kinds of errors.  You really do have to put that in it's own directory.  Not sure if that helps anyone, but I thought it might be a common mistake so I thought I'd post it.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #10 on: May 25, 2007, 01:36:13 PM »
No my problem is that i am not get the simulator .exe file. I have the.rockbox folder but nothing to run it with.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Compiling the Simulator
« Reply #11 on: May 25, 2007, 01:42:22 PM »
Quote from: mschneider on May 24, 2007, 06:20:32 PM
Well when i began to compile (selected my player) i got two "Dr. Watson" errors but i was told that these were windows related and wouldnt affect my build. Next i ran "make" and got three more of the same errors. Next i ran "make install" and i got a "rockbox-full.zip" and my archos directory with the .rockbox folder in it.

What were the errors?  Does the "make" command look like it's completely building Rockbox, or does it stop?  It should take a minute or two, or maybe longer, to build the sim from an empty build directory.

If you can do the following, it may help us help you:

1) Delete your existing build directory and create a new one
2) Run ../tools/configure and select the sim build you want to build
3) Type "make &> logfile.txt" and then attach that logfile.txt to a message in this thread.
« Last Edit: May 25, 2007, 01:44:02 PM by linuxstb »
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Compiling the Simulator
« Reply #12 on: May 25, 2007, 01:52:42 PM »
Ok here is the .txt. I've been reading the index and looking through the simulator page. When i type in ./rockboxui after i've gone through all of the previous steps i get "no such file or directory". Isnt that suppposed to run the simulator?

[attachment deleted by admin for age]
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Compiling the Simulator
« Reply #13 on: May 25, 2007, 02:34:43 PM »
The logfile is showing that the compilation isn't happening - it's failing at the first file and stopping.

I don't know enough about cygwin to suggest a solution though - maybe others can.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Compiling the Simulator
« Reply #14 on: May 25, 2007, 03:50:47 PM »
the line
Code: [Select]
make: *** [tools] Error 2
shows you that there has a serious error occured. This also means that you can not expect any useable result, at least not in terms of an executable you can run.

No idea about the cygwin error though -- why not just try the vmware image?
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling the Simulator
 

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

Page created in 0.084 seconds with 14 queries.