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-17-2008, 06:34 AM   #1
mojojojo
Junior Member
mojojojo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2007
Device: Irex Iliad
Using cairo on iliad

Hi!

I'm thinking about attempting a simple note-taking app for the iliad. I'm not very versed in GUI development, so I looked around and found that the cairo library would probably be suitable for what I want to do.

Now, it doesn't seem to be delivered with the iliad, so if I wanted to use it I would have to cross compile it.

I guess my question is if anyone has any experience on using cairo on the iliad, or if it is possible at all?

What would some alternatives be? I basically just need a simple drawing app, and some scaling (zooming).
mojojojo is offline   Reply With Quote
Old 02-17-2008, 01:17 PM   #2
rincewind
Connoisseur
rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.
 
Posts: 58
Karma: 479
Join Date: Mar 2007
Device: iLiad
I ran libcairo on the iLiad when I did some Python testing, but are you sure it's not on the iLiad? If not, I managed to compile it. :-)

/R
rincewind is offline   Reply With Quote
Advert
Old 02-18-2008, 04:04 AM   #3
mojojojo
Junior Member
mojojojo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2007
Device: Irex Iliad
I don't see cairo on the SDK downloads on the irex webpage, but I haven't looked closer on the actual iliad.

I'll take a look and hope that it's already on there. That would ease things alot.
mojojojo is offline   Reply With Quote
Old 08-21-2008, 04:01 AM   #4
illiad_fan
Member
illiad_fan began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2008
Device: Illiad
Hi all, I have a same problem. I write one C program using cairo and compiled on scratchbox successfully. But I run it on Iliad with error: missing libpangocairo-1.0.so.0. Then I try finding it on /usr/lib but not found. Then I copy this file from my pc but not effected. Could you please give me advice to solve this problem?
Thank you very much!

Last edited by illiad_fan; 08-21-2008 at 04:32 AM.
illiad_fan is offline   Reply With Quote
Old 08-21-2008, 07:06 AM   #5
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 illiad_fan View Post
Hi all, I have a same problem. I write one C program using cairo and compiled on scratchbox successfully. But I run it on Iliad with error: missing libpangocairo-1.0.so.0. Then I try finding it on /usr/lib but not found. Then I copy this file from my pc but not effected. Could you please give me advice to solve this problem?
Thank you very much!
To find the libraries that your program is using, in scrtachbox, use ldd:

Code:
ldd ./my_program
ldd is included with scratchbox, so you should not have problems running that command. If you need/want ldd for the iliad, I once modified the ldd script in debian-x86 to work on the iliad (but I lost it in the reflash my iliad underwent)... anyway it should be easy to do again if needed.
Antartica is offline   Reply With Quote
Advert
Old 08-22-2008, 05:12 AM   #6
illiad_fan
Member
illiad_fan began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2008
Device: Illiad
Quote:
Originally Posted by Antartica View Post
To find the libraries that your program is using, in scrtachbox, use ldd:

Code:
ldd ./my_program
ldd is included with scratchbox, so you should not have problems running that command. If you need/want ldd for the iliad, I once modified the ldd script in debian-x86 to work on the iliad (but I lost it in the reflash my iliad underwent)... anyway it should be easy to do again if needed.
Hi Antartica, thank very much for your helps. I copied the ldd file from scratchbox to Iliad. By using ldd, I find which missing library and where is it. So I solved the Cairo problem.

Last edited by illiad_fan; 08-22-2008 at 05:26 AM.
illiad_fan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iliad-regutils: Easy editing of the iLiad registry Martijn iRex 7 09-04-2010 06:12 AM
POLL to Iliad owners: Should people buy an Iliad or not? ali iRex 20 01-20-2010 06:11 AM
iLiad How to make iliad into a SSH server and connect with iLiad tudou331100 iRex Developer's Corner 21 02-06-2009 05:35 AM
Ended Iliad iRex + Iliad cover for sale in London acorral Flea Market 0 01-16-2009 06:09 AM
iLiad Book Edition slower than iLiad v2: different sw version? SecondoMe iRex 17 05-14-2008 01:42 PM


All times are GMT -4. The time now is 10:59 AM.


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