Hi i make simple C++ example.
This example is compiling with :
Code:
gcc test-gnome.c -o test-gnome `gnome-config --cflags --libs gnomeui`
...but i got errors with this command:
Code:
$ gcc test-gnome.c -o test-gnome -I /usr/include/gnome-1.0/ -L /usr/include/gnome-1.0/
In file included from test-gnome.c:6:0:
/usr/include/gnome-1.0/gnome.h:12:26: fatal error: gnomesupport.h: No such file or directory
compilation terminated.
I search and i not find the file
gnomesupport.h
I use Fedora 15.
Can you tell what it is , or what is wrong.
Also I want use
-I /usr/include/gnome-1.0/ , because it is in many distro...
Is true ?
If you have additional infos about how to compile same source code in many distro , please tell me.
Thank you . Regards.