Re: instal gtk on windows



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Feb 03, 2007 at 01:40:28PM +0100, nostradamo wrote:
I installed gtk2 on windows. I want 
compile with gcc. but compiler can not find the hedaer files. 

For example gtk.h

Ich i make a include with
"dir direkt to gtk.h" a list of a lot of unknow files und dirs will be showed.

What is wront. or what does i have to do that compiler can work correct

I don't know about Windows, but typically the gcc has a set of standard
places where it looks for the include files. Typically, the places where
the includes of an add-on package live (like gtk) aren't there. You cann
add some to gcc with the -I option, like so:

  gcc -I/usr/local/include/gtk2 blah.c

Moreover you might have to add path to library places with the option -L
(again, I afford the luxury of knowing zilch about Windows).

Hope that helps
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFxW6hBcgs9XrR2kYRApjRAJkBzP7guGxiRH1P1/z1/i9OcSOSNgCaAzEg
uK4DoAD2gO/zEQoKKnSBb6U=
=04ob
-----END PGP SIGNATURE-----




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