Re: help, glib 2.24.0 on windows



Thank you for reply.
What solution file exactly? The one from the glib 2.24.0 tarball, in
build\win32\vs9\glib.sln ?
Yes it is
 What file were you compiling when you got this error? sys/socket.h is
not included when compiling on Windows in any source file unless you
have broken something. The same holds for sys/wait.h and unistd.h.
The files are:
 
gtk+-2.16.6\glib-2.24.0\gio\gdesktopappinfo.c(28) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
gtk+-2.16.6\glib-2.24.0\gio\gunixconnection.c(37) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
gtk+-2.16.6\glib-2.24.0\gio\gunixfdlist.c(34) : fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
gtk+-2.16.6\glib-2.24.0\gio\gunixfdmessage.c(35) : fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
gtk+-2.16.6\glib-2.24.0\gio\gunixmount.c(29) : fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory
gtk+-2.16.6\glib-2.24.0\gio\gunixmounts.c(29) : fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory
gtk+go\gtk+-2.16.6\glib-2.24.0\gio\libasyncns\asyncns.h(25) : fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
regards,
Vadim


On Mon, May 3, 2010 at 9:27 AM, Tor Lillqvist <tml iki fi> wrote:
Please use a mailing list for questions like this in the future, not
private email. Adding gtk-devel-list to the Cc, as your message is
about building GLib itself, not an applicaiton that uses GLib.

On 3 May 2010 19:04, vadym nikolaiev <vadym nikolaiev gmail com> wrote:
> I try to build glib 2.24.0 on windows
> using a solution file for VS2008,

What solution file exactly? The one from the glib 2.24.0 tarball, in
build\win32\vs9\glib.sln ?

>  Cannot open include file: 'sys/socket.h' :  No such file or directory

What file were you compiling when you got this error? sys/socket.h is
not included when compiling on Windows in any source file unless you
have broken something. The same holds for sys/wait.h and unistd.h.

> How Can i solve this problem

Well, asking for help is a good start, but you need to give more information.

--tml



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