User:Fostermarkd/GTimerNotes

From ConShell

Jump to: navigation, search

First of all, it appears the GTimer on Ubuntu Intrepid is compiled for the GTK+ 1.2 libraries.

GTK 1.2

Before diving into GTK 2 I want to make sure the program compiles on GTK 1.2 libs. Download the source and extract.

Install this package as it contains gtk-config which is needed

sudo aptitude install libgtk1.2-dev

Now, the file gtimer-1.16/readme says to just type 'make' but that is wrong. The first step to compile is to run configure

./configure
make
gcc -DPACKAGE=\"gtimer\" -DVERSION=\"1.1.2\" -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBINTL_H=1  -I. -I.    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -g -O2 -c annotate.c
annotate.c: In function ‘ok_callback’:
annotate.c:98: error: cannot convert to a pointer type
make: *** [annotate.o] Error 1

GTK 2.0

I want to recompile for GTK+ 2.x so the first order of business is to get the headers and documentation installed.

aptitude install libgtk2.0-dev libgtk2.0-doc


Wishlist & Bugs

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox


check web page