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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Playing tracks with E260 simulator
« previous next »
  • Print
Pages: [1]

Author Topic: Playing tracks with E260 simulator  (Read 2243 times)

Offline OldSchool

  • Member
  • *
  • Posts: 26
Playing tracks with E260 simulator
« on: December 26, 2007, 05:55:32 PM »
Hello,

I'm new here, so please re-direct me if I've posted to the wrong forum; I haven't seen anything specific to simulator issues.

I'm attempting to run a new WPS on the E260 simulator (it runs on the target, but I want to tweak it a bit). I've built the simulator from source, and it runs on my PC except that when I try to play a track, the following errors appear in the Cygwin window, and the simulator WPS jumps the the next track in the play list:

failed to load archos/_temp_codec0.dll
dlopen(archos/_temp_codec0.dll): d~ûwxøwÿÿÿÿ´û5ÌÅX|´û5;ÆX|

I suspect I've done something wrong in building the simulator, but any help would be much appreciated.

Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Playing tracks with E260 simulator
« Reply #1 on: December 26, 2007, 06:27:22 PM »
Did you make and make install the simulator, or did you attempt to extract a regular sandisk build to the simulator folder (this is wrong)?
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: Playing tracks with E260 simulator
« Reply #2 on: December 26, 2007, 06:35:53 PM »
I used the instructions from:

"The Simplified Guide To Compiling The Rockbox Source Code"

- so yes, I did the make and make install - I'm using the Cygwin environment.
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: Playing tracks with E260 simulator - solved.
« Reply #3 on: December 26, 2007, 07:03:35 PM »
I've got it working now. I did an svn update and repeated the steps in the documentation.

BTW: Is there a way to log Cygwin sessions to a text file?

Thanks for your help.
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Playing tracks with E260 simulator
« Reply #4 on: December 26, 2007, 08:24:32 PM »
You can redirect output as in a normal linux terminal:

http://www.linuxsa.org.au/tips/io-redirection.html
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: Playing tracks with E260 simulator
« Reply #5 on: December 26, 2007, 09:41:13 PM »
That creates a log file, but there's nothing in it. I'm guessing the file isn't closed properly when I kill the simulator. Sorry, no Linux experience.
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Playing tracks with E260 simulator
« Reply #6 on: December 26, 2007, 10:15:28 PM »
Quote from: OldSchool on December 26, 2007, 09:41:13 PM
That creates a log file, but there's nothing in it. I'm guessing the file isn't closed properly when I kill the simulator.

You don't need to close redirected files.  If you're not getting output, I'd guess its because you're not redirecting the output correctly.  What did you type?

Quote from: OldSchool on December 26, 2007, 09:41:13 PM
Sorry, no Linux experience.

This works the same way on Windows.
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: Playing tracks with E260 simulator
« Reply #7 on: December 27, 2007, 12:47:23 PM »
So much for that excuse. :-)

What I typed (excluding the "$" prompt) was:

$ ./rockboxui.exe > rockboxui.log

From the ~/rockbox/sim directory, this starts the simulator and creates the ".log" file, but the log file is empty after I stop the simulator.

I also tried the examples from the linuxsa.org site:

$ echo This is a line of text > /tmp/file.txt
$ echo This is another line   >> /tmp/file.txt

Both of these work as advertised.

Thanks again for your help (and patience).
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Playing tracks with E260 simulator
« Reply #8 on: December 27, 2007, 03:04:48 PM »
Try ./rockboxui.exe &> rockboxui.log
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Playing tracks with E260 simulator
« Reply #9 on: December 27, 2007, 04:43:11 PM »
Quote from: OldSchool on December 26, 2007, 05:55:32 PM
I'm attempting to run a new WPS on the E260 simulator (it runs on the target, but I want to tweak it a bit).

This might be a stupid question, but is there a reason you haven't just downloaded the pre-built simulator?  Unless you're creating your own customized build it should be enough to test-run a WPS.
« Last Edit: December 27, 2007, 06:42:50 PM by MarcGuay »
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: Playing tracks with E260 simulator
« Reply #10 on: December 27, 2007, 06:41:04 PM »
Llorean:

Yes, that works. Thanks! I've done some more digging as well. I gather that ">" redirects "standard output" and "&>" redirects both "standard output" and "standard error"; the simulator code writes to "stderr",  correct (more-or-less)? Using "2>" also works to redirect just stderr.

MarcGuay:

I'm trying to learn the Cygwin environment. I did do some C programming - many moons ago - thought I might be able to contribute to RB eventually. It looks like I'm off to a slow start I'm afraid.

Cheers
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Playing tracks with E260 simulator
 

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

Page created in 0.084 seconds with 15 queries.