Re: Gtk -- trying to run pixmap example



ringo schrieb:

I downloaded the tarball but when I tried to do ./configure it gave me a
bunch of errors. It says in the documentation that you don't need to
compile it so I was trying to use it "as is", just unzipped. Some of the
other examples compile by just doing a "make". Is there something I need
to do since I didn't compile all the source?
Thanks
Ringo


-----Original Message-----
From: Benjamin [mailto:thronerbe gmx de]
Sent: Monday, March 07, 2005 12:35 AM
To: ringo; gtk-list gnome org
Subject: Re: Gtk -- trying to run pixmap example

ringo schrieb:

I downloaded gdk 2.0 and unzipped it. I've been compiling and looking
at
the examples. I just tried to compile the pixmap example and I get an
error: config.h: No such file...
In the main directory that was created when I unzipped I see
config.h.in
and config.h.win32, but no config.h . What do I need to do to fix
this?
Thanks
Ringo



_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list




first make sure that the config.h of whatever you are compiling is in
the include path -> compiler options

second, if the file is not there try to manualy copy the file
config.h.win32 or config.h.in to config.h if you are
using config.h.in (if compiling with automake etc. (./configure)) you
have to replace all sections surounded with '@'
with their coresponding values.

but if all libs have successfully compiled and you are trying to
compile
an example, i guess you are not using the
makefiles shiped with the source-tarball, so you have to modify your
makefile or commandline for your compiler
to include the directory where config.h is in (it depends also who is
trying to include config.h [???]).

the common compiler switch is -I{IncludeDir} -> note that you have to
replace {IncludeDir} with the directory where
config.h is in.

hope that helps a bit

Benjamin




if i may may ask: what os you are using

BENJAMIN



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]