Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2009, 10:02 AM   #16
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
@Ericshliao,
Do yo mean that your gcc is an arm executable (not a cross compiler)? I tried that once, but could not find a complete set of sources for the 'soft float' version...

I switched back to compiling everything with the Irex sdk. Most things go fine, but even if I tell configure to use arm-linux-gcc (with --host=arm-linux --build=i686, and setting paths), it still gets mixed up sometimes (it starts looking in /usr/lib instead of /usr/local/arm-linux/oe...)

@all:
It would be great to have a stable and well defined reference platform for building... a platform capable of building the existing Irex apps and the newer stuff...

Something for a new thread?
hansel is offline   Reply With Quote
Old 02-27-2009, 10:11 AM   #17
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Quote:
Originally Posted by hansel View Post
Do yo mean that your gcc is an arm executable (not a cross compiler)?
IIRC, according to some info I got from Antartica, the GCC built by crosstool should not be an arm-executable.
I meant that I built a GCC to be used in ScratchBox by using crosstool as Antartica instructed. I just downloaded the GCC source code and used crosstool to create the binary. It took quite some time, but not tough. I remember that I have updated the process of compiling toolchain in Wiki.
Compiling in ScratchBox is quite convenient. I only use official SDK when building ipdf.
I am not sure if toolchain with libs not supported by original iLiad is proper. It is very easy to port apps, but it also requires additional storage space on iLiad. I estimate that the newer libs will takeup 100 MB. I am still comtemplating about whether to replace the original libs with my newly built libs on iLiad.

Last edited by ericshliao; 02-27-2009 at 10:26 AM.
ericshliao is offline   Reply With Quote
Advert
Old 02-27-2009, 12:10 PM   #18
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Antartica, your help is needed. Please check it. It seems that cellwriter won't work with xepdmgr. I always got "./xepdmgr: couldn't open display cellwriter" whether with or without "--show-window".
ericshliao is offline   Reply With Quote
Old 02-27-2009, 01:13 PM   #19
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
This is all available options for CellWriter:
Code:
Usage:
  cellwriter [OPTION...] grid-entry handwriting input panel

Help Options:
  -?, --help                    Show help options
  --help-all                    Show all help options
  --help-gtk                    Show GTK+ Options

GTK+ Options
  --class=CLASS                 Program class as used by the window manager
  --name=NAME                   Program name as used by the window manager
  --screen=SCREEN               X screen to use
  --sync                        Make X calls synchronous
  --gtk-module=MODULES          Load additional GTK+ modules
  --g-fatal-warnings            Make all warnings fatal

Application Options:
  --log-level=4                 Log threshold (0=silent, 7=debug)
  --log-file=cellwriter.log     Log file to use instead of stdout
  --xid                         Embed the main window (XEMBED)
  --show-window                 Show the main window
  --hide-window                 Don't show the main window
  --window-x=512                Horizontal window position
  --window-y=768                Vertical window position
  --dock-window=0               Docking (0=off, 1=top, 2=bottom)
  --window-struts               Reserve space when docking, see manpage
  --keyboard-only               Show on-screen keyboard only
  --profile=profile             Full path to profile file to load
  --read-only                   Do not save changes to the profile
  --disable-overwrite           Do not modify the keymap
  --display=DISPLAY             X display to use
You can get further explaination by "man cellwriter".

When I appended "--keyboard-only", I got a screen as attached. Now, the problem is: how to get this screen in text editor (such as LeafPad)?
Attached Thumbnails
Click image for larger version

Name:	2009-02-28_021022.png
Views:	409
Size:	21.0 KB
ID:	24559  

Last edited by ericshliao; 02-27-2009 at 02:08 PM.
ericshliao is offline   Reply With Quote
Old 02-27-2009, 01:53 PM   #20
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
Antartica, your help is needed. Please check it. It seems that cellwriter won't work with xepdmgr. I always got "./xepdmgr: couldn't open display cellwriter" whether with or without "--show-window".
The first parameter is the display in the version you are using, as in:

./xepdmgr :0 ./cellwriter

You are ommiting the :0, thus that error...
Antartica is offline   Reply With Quote
Advert
Old 02-27-2009, 01:56 PM   #21
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Ah! I forgot the parameter. Thanx.

To people who want to use cellwriter with xepdmgr, please insert the line in "run.sh":
Code:
./xepdmgr :0 ./bin/cellwriter --show-window
I should not forget the ":0 " parameter. What a shame of my memory.

Last edited by ericshliao; 02-27-2009 at 02:02 PM.
ericshliao is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using handwriting recognition ON iliad gono iRex 0 11-11-2009 05:44 AM
Please try this procedure for recognition Robertb Astak EZReader 5 09-22-2009 09:58 AM
Reader recognition nobicus Calibre 3 09-05-2009 12:00 PM
Unutterably Silly The alternative alternative Friday Question 21 August 2009 Wetdogeared Lounge 13 08-26-2009 09:47 AM
iLiad CellWriter? wallcraft iRex Developer's Corner 2 01-29-2008 11:22 PM


All times are GMT -4. The time now is 06:36 AM.


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