01-22-2009, 03:47 PM | #16 | |
Enthusiast
Posts: 26
Karma: 26
Join Date: Nov 2008
Device: iRex DR1000S
|
Quote:
|
|
01-23-2009, 06:54 PM | #17 | |
Guru
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:
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? |
|
Advert | |
|
01-24-2009, 05:27 AM | #18 |
ex-IRX developer
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. |
01-25-2009, 09:52 AM | #19 | |
Guru
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:
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? |
|
01-25-2009, 04:44 PM | #20 |
ex-IRX developer
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. |
Advert | |
|
02-03-2009, 04:05 PM | #21 |
Addicted to Porting
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. |
02-03-2009, 06:53 PM | #22 |
Addict
Posts: 373
Karma: 452000
Join Date: Nov 2008
Location: Hamilton, On
Device: Kobo Aura HD
|
post it on bittorrent?
|
02-04-2009, 01:13 PM | #23 |
iLiad Maniac
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
|
|
02-04-2009, 01:21 PM | #24 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
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. |
|
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 |