04-09-2007, 07:45 AM | #61 |
eink fanatic
Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
|
I could use fbreader without problem (apart from the fact that it still has quite a few bugs and rough edges).
I'm running Vista Ultimate 64bit, I gues you can't get much more incompatible these days but it did not cause any problems. I'm using a 1GB SD card, a Sandisk in the Iliad. |
04-09-2007, 11:11 AM | #62 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
The card works for everything else, documents, other applications etc. It is just FBReader that I can't get to work (and the MP3 daemon). |
|
Advert | |
|
04-09-2007, 11:15 AM | #63 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Code:
First error: ./FBReader: error while loading shared libraries: unexpected PLT reloc type 0x00r Second error: Illegal instruction |
|
04-09-2007, 02:08 PM | #64 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
That is odd....sounds like some file corruption problems. Do you have a different memory card you can try? Have you tried to copy it to the internal memory and run it from there?
I'm attempting to port version .8, but I've run into some issues. I'm still unable to get the screen refresh working as I expect it. I'm attempting to get it going with the standard libX11 library. The problem is that the screen is either refreshing too often, or not enough. I think that most of my problem stems from the screen updating before the updated window is painted. I may have to set a wait in there to give the screen time to refresh. The hardware buttons have also stopped working with the new version of FBReader. I've set gtk_window_set_wmclass(GTK_WINDOW(myMainWindow), "sh", "sh"); the same way I had in the .7 version, but it is no longer working. Hopefully I can get these issue resolved and release a good, working version of the software that is ready for mass consumption. |
04-09-2007, 02:59 PM | #65 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Code:
root@ereader:/mnt/free/newspapers/fbread# ./FBReader Illegal instruction By the way, what is the difference between the mmc version and the cf version? Are there hardcoded file/directory references? Is this related to the "fbread must be in the root folder" requirement? And could FBReader then possibly work from main memory the way I did it? (I used the MMC-zip for this). |
|
Advert | |
|
04-09-2007, 03:09 PM | #66 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
FBReader only allows the installed path to be set at compile time. If you have it it any directory other than the one it was compiled for, the graphics will not load properly. It shouldn't prevent the program from running.
Try the first part (all but step 4) of the instructions here: https://wiki.mobileread.com/wiki/ILia...e_Installation Copy the fbreader directory to your /mnt/newspapers. Then run: "ln -s /mnt/free/newspapers/fbreader /usr/local" You shouldn't have to export the LD_Library_path. Just set the display and run FBReader. Let me know what happens. |
04-09-2007, 03:37 PM | #67 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Second: I didn't copy the files again, I already had the binaries and libs from my mmc-zip. Are the binaries different, so I have to download the other zip and use that one, or should that be ok? Third: My files are in /mnt/free/newspapers/fbread. I tried this: Code:
root@ereader:/mnt/free/newspapers/fbread# ls -lF /usr/local lrwxrwxrwx 1 root root 27 Apr 9 19:28 fbread -> /mnt/free/newspapers/fbread/ lrwxrwxrwx 1 root root 27 Apr 9 19:33 fbreader -> /mnt/free/newspapers/fbread/ root@ereader:/mnt/free/newspapers/fbread# set |grep DISPLAY DISPLAY=':0' root@ereader:/mnt/free/newspapers/fbread# ./FBReader Illegal instruction root@ereader:/mnt/free/newspapers/fbread# |
|
04-09-2007, 03:46 PM | #68 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Download the files again. Use this link: http://projects.mobileread.com/iliad...r/fbreader.zip It is a different binary.
As far as hard coding, most programs are compiled to run from /usr/ or /usr/local/. It doesn't so much matter for the executable file, but the other files that it depends on. FBReader looks for it's graphics in /usr/local/share by default. /usr/local will need to point to /mnt/free/newspapers/fbreader, not a directory within local. There is no /usr/local in the iLiad by default, so this won't cause a problem. Last edited by Adam B.; 04-09-2007 at 03:50 PM. |
04-09-2007, 03:52 PM | #69 | ||
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Quote:
Anyway, will try the new binaries when my iLiad wants to talk to me again. The copying is going nowhere, fast, and a see a click on the reset button looming in the horizon... |
||
04-09-2007, 04:01 PM | #70 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Agreed. For .8, I'll change that.
I've setup seperate binaries so for those who don't want to touch their root file system. Once an unbricking option is available, I may change the way I build apps since there will be no danger of breaking anything permanantly. |
04-09-2007, 04:08 PM | #71 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
A possible (minor) problem with the different symlink scheme is that they may be removed in the next iRex update. But living on the cutting edige is never easy I am still waiting for the iLiad to recover. I am a bit afraid of just disconnecting it physically (file corruption...)... I don't know how to cleanly umount (or whatever the correct verb is) a USB connection from the iLiad, and the windows "Safely remove hardware" wizard doesn't allow me to stop the drive... |
|
04-10-2007, 09:41 AM | #72 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
So how did it go?
I've setup FBReader .8.1d. It includes Quote:
If the screen refresh does not work as expected, delete libX11.so.6 and rename libX11.so.6.hacked to libX11.so.6. http://projects.mobileread.com/iliad...ead8cf.tar.bz2 |
|
04-10-2007, 02:31 PM | #73 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
I have CF and would like to test. I'm still waiting on the shell hack from iRex, however.
|
04-10-2007, 03:51 PM | #74 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
|
|
12-29-2008, 11:49 AM | #75 | |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Quote:
According to info provided in iRex Forum, iRex used gtk_window_set_title() in their app. I have a strange problem now. I used the two lines independently in FBReader code, Code:
gtk_window_set_title(GTK_WINDOW(myMainWindow), "fbreader"); gtk_window_set_wmclass(GTK_WINDOW(myMainWindow), "sh", "sh"); Code:
<xResourceName>fbreader</xResourceName> <xResourceName>sh</xResourceName> When I test the two case with my homebrew image viewer, both case work. Now that I am trying to make djview4 (based on QT) work with flipbar, I found that setWindowTitle() (a QT function to set window title) doesn't work, either. I might have to read source code of contetlister to understand how does CL do the job. Last edited by ericshliao; 12-29-2008 at 12:24 PM. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic FBReader? | JDługosz | Barnes & Noble NOOK | 2 | 07-13-2010 10:28 PM |
Get FBReader 0.10.7 on OS 5.0 | rogue_ronin | Alternative Devices | 11 | 09-27-2009 05:53 AM |
fbreader on v3? | ckphk | HanLin eBook | 7 | 03-31-2009 03:04 AM |
where fbreader is placed? | artur | iRex | 11 | 07-23-2008 01:38 PM |
Why use FBReader? | DeathtoToasters | iRex | 4 | 01-21-2008 12:34 PM |