![]() |
#1 |
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)
|
Need help getting started with gtk
Hi!
I am just starting to learn c++. I used the developer vmware image to setup a dev environment. I started scratchbox and i compiles fine. i can get the busy led to flash and the screen to refresh and the pagebar to show the pagenumber i want. What i want to do is paint anythin i want on the screen. But i have not really a clue on how to do that. I was trying to include <gtk/gtk.h>, but it doesn't find the library. There are gtk 1.2 and 2.0 installed in the scratchbox environment. How do i get them to be included, when i compile the program? |
![]() |
![]() |
![]() |
#2 |
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)
|
ok, i hvae just simply made a symbolic link from "gtk" to "gtk-2.0/gtk". Now the program complies. But i get an error on the iliad:
./myprogram: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory I thought the gtk libraries were installed on the iliad? What do i have to do to make my program load them correctly? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Only some of GTK is installed on the iLiad.
You'll may also find GTK frustrating to work with since it generally runs its own event loop processor making it difficult to properly refresh the iLiad's screen at the right times. You might find the learning curve for Java to be less steep. |
![]() |
![]() |
![]() |
#4 | |
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)
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
At least you can run the Java on your PC before sending it to the iLiad. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gtk frontend for Calibre | nbdarvin | Calibre | 6 | 05-06-2010 12:51 PM |
iLiad GTK Application Needed | Adam B. | iRex Developer's Corner | 8 | 04-04-2009 05:45 AM |
Is a gtk version possible? | frandavid100 | Calibre | 14 | 12-16-2008 03:09 PM |
iLiad [ILIAD]GTK developpement | Olivier78180 | iRex Developer's Corner | 7 | 07-14-2008 05:22 PM |
GTK+ Plucker viewer | rsperberg | Reading and Management | 0 | 11-21-2005 02:14 PM |