Re: Question about compiling GTK app under Windows
- From: Tor Lillqvist <tml iki fi>
- To: Dmitry Unruh <dmitryunruh googlemail com>
- Cc: gtk-list gnome org
- Subject: Re: Question about compiling GTK app under Windows
- Date: Wed, 8 Apr 2009 16:22:04 +0300
> I use "#include <gtk/gtk.h>" line in source file.
> I have received the message: gtk/gtk.h: No such file or directory.
> I think the problem is in the path separator (/) which in Windows is "\".
Not true. '/' works equally well on the Win32 level. It's just the
Windows kernel (well below Win32, with a mostly undocumented API) that
handles only backslashes (and UNICODE paths).
> When I corrected header file, my app was compilled.
Very weird. What compiler do you use?
> Why GTK header files for Windows include non-Windows path separators?
Even with Microsoft compilers it is perfectly OK to use '/' in the
#include lines, for instance for <sys/stat.h>.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]