Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2009, 03:47 PM   #16
vwinstead
Enthusiast
vwinstead began at the beginning.
 
Posts: 26
Karma: 26
Join Date: Nov 2008
Device: iRex DR1000S
Quote:
Originally Posted by Gertjan View Post
Nice tutorial! You may have noticed iRex recently added an iOn development manual to the public SDK folder, which explains how to set up and use the works:

http://developer.irexnet.com/pub/iOn...nvironment.pdf
Yeah, I noticed that iRex recently got the development manual online so that's a good resource help. However, I feel like it leaves out a lot of desirable info like troubleshooting, specific code, expected output, and "why am I doing this?" explanations about what's going on. It's a good start though!
vwinstead is offline   Reply With Quote
Old 01-23-2009, 06:54 PM   #17
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
The manual worked for me, as a novice Linux user, I installed Ubuntu 8.04 and nicely followed the instructions in the manual.
I started Anjuta and loaded the hello-world application (from the iRex website), and could compile and download it. I even figured out that the hello_world was copied in the /usr/bin directory on the emulator.

All seemed well until I tried to start the debugger from Anjuta. I only got a Terminal window with a prompt were I expected gdb to be running. It seems that the gdb in the poky-arm directory is build with libexpat.so.0, and Ubuntu has libexpat.so.1 installed.
With some googling I found the following patch.
Create a link (in /usr/lib) : sudo ln -s libexpat.so.1 libexpat.so.0
Although I am not sure if this has consequences for other programs...

So far so good, but then I noticed the following remark when running hello_world in the debugger:
Quote:
Error while mapping shared library sections:
/usr/lib/gtk-2.0/2.10.0/engines/libsato-engine.so: No such file or directory.
I checked the directory/library on the emu and it is available.

I tried running without the debugger and I expect to get some menu's (when looking in the code I see menus being created, but then... I am also a GTK newbe) but do not see them. I can see the three lines 'hello world', 'current view type ...' and 'started with'.

What did I mis?
Mackx is offline   Reply With Quote
Advert
Old 01-24-2009, 05:27 AM   #18
Gertjan
ex-IRX developer
Gertjan doesn't litterGertjan doesn't litterGertjan doesn't litter
 
Gertjan's Avatar
 
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
Did you try to open the Popupmenu? That's were the created menu items go. You open it by clicking the centered icon in the statusbar or by pressing F1.

Libsato is used for theming of windows. I don't know why that error is shown but when there are issues with this theming engine, it will probably fall back to the GTK default theme.
Gertjan is offline   Reply With Quote
Old 01-25-2009, 09:52 AM   #19
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Ai I see my mistake , I expected a menu (like the Sudoku-app) But I now see that no real gtk-menus are created, but that they are added to the 'reader-menu'. (So thats what the ipc.c file is for :-] )

When running hello-world from the Anjuta-IDE I do not see that the new items in the menu. I can see all the logging suggesting that they are added, but when I open the menu I get the default menu from the 'explorer'. Changing from Thumbnails to Details does not lead to any change in the messages on the screen, nor in the log messages.

However when I run the hello_world directly on the emu, it all works :-)
I.e. logging-in on the emu using ssh root@192.168.7.2 and then:
Quote:
root@qemuarm:~# export DISPLAY=192.168.7.2:0.0
root@qemuarm:~# /usr/bin/hello_world
I now see all menu items (Open, Copy, Cut, Paste and Close; and Thumbnails and Details) and the menu is called "Hello World Menu"
Selecting them also gives the expected behaviour on the screen.

So now I know my environment works, thanks for the small hint...

Anyone knows why the hello_world does not work when run from Anjuta? The logging from Anjuta and the logging in the ssh-window on the emu does not show any (obvious) differences. Did anyone get the hello_world running from the Anjuta-IDE correctly?
Mackx is offline   Reply With Quote
Old 01-25-2009, 04:44 PM   #20
Gertjan
ex-IRX developer
Gertjan doesn't litterGertjan doesn't litterGertjan doesn't litter
 
Gertjan's Avatar
 
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
The idea of the Reader's interface is that all applications use the context sensitive popupmenu. Good to see you've got it working.

You mean using the "Run Remote" feature in the QEMU menu? Hmm, I haven't actually tried that. I always ssh in or spawn apps from the 'explorer' (content browser) on the device using a shortcut. I'll give it a shot.
Gertjan is offline   Reply With Quote
Advert
Old 02-03-2009, 04:05 PM   #21
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I've created a VMWare image with everything setup, and HelloWorld compile-able.

Does anyone have any ideas on where this can be hosted? I'm waiting for a reply from Alex before I upload it to MobileRead. How about other mirrors? It's a 1.25GB file.
Adam B. is offline   Reply With Quote
Old 02-03-2009, 06:53 PM   #22
omro
Addict
omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.
 
Posts: 373
Karma: 452000
Join Date: Nov 2008
Location: Hamilton, On
Device: Kobo Aura HD
post it on bittorrent?
omro is offline   Reply With Quote
Old 02-04-2009, 01:13 PM   #23
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
Quote:
Originally Posted by Adam B. View Post
Does anyone have any ideas on where this can be hosted? I'm waiting for a reply from Alex before I upload it to MobileRead. How about other mirrors? It's a 1.25GB file.
I will set up a mirror on justread.
tribble is offline   Reply With Quote
Old 02-04-2009, 01:21 PM   #24
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by tribble View Post
I will set up a mirror on justread.
Thanks tribble, but we've got 3 mirrors setup now: https://www.mobileread.com/forums/showthread.php?t=37883

You can create another if you wish, but I don't think it's necessary at this point.
Adam B. is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 Plugin development for DR800/DR1000 yuri_b iRex Developer's Corner 0 09-18-2010 10:46 AM
iRex DR1000 Development VMWare Image Adam B. iRex 9 08-19-2010 05:23 AM
DR800/DR1000 Website archive browser (website in .ZIP file) luite iRex 44 08-14-2010 01:52 AM
Irex DR1000 Software Version 1.01, 20 October, Latest news Krishirex iRex 12 10-21-2008 12:16 PM


All times are GMT -4. The time now is 11:21 PM.


MobileRead.com is a privately owned, operated and funded community.