Date: 02-09-08 02:39
I installed the x11-toolkits/gtk20 port and still have difficulties.
When I try to compile the following...
/* A sample GNOME program
Created By: Subhasish Ghosh
Date: 8th August, 2001
int main(int argc, char *argv[ ])
gnome_init("sample", "0.1", argc, argv);
ghosh = gnome_app_new("sample", "My Window");
gcc myapp.c -o myapp `gnome-config --cflags --libs gnomeui`
I get the following errors...
gnome-config: not found
myapp.c:8:23 error hnome.h no such file or directory
mpapp.c: In function 'main'
myapp.c:13:error 'GtkWidget' undeclared (first use in this function)
myapp.c:13:error (each undeclared identifier is reported only once
myapp.c:13:error for each function it appears in)
myapp.c:13:error 'ghosh' undeclared (first use in this function)
Now am I missing more pre-requisites for gnome programming?
Perhaps I should uninstall gnome and do your first suggestion and install x11/gnome2. If so how do I go about uninstalling gnome?
Thanking you in advance,