Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 02:35:10 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Compiling C code
Message-ID:  <3EEE623E.80501@liwing.de>
References:  <20030616194629.73936.qmail@web10003.mail.yahoo.com> <3EEE25FB.7070905@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/16/2003 10:18 PM, Bill Moran wrote:
> Ronnie Clark wrote:
>> Hello all, 
>> 
>> I am trying to compile some C code and I get the
>> following errors:
>> windows.h: No such file or directory
>> 
>> Is there a library that I can install on my FreeBSD
>> 4.8 STABLE box to fix these silly errors???
> 
> Yes, Microsoft Windows.
> 
> Programs written to run in the Windows GUI include this header
> file to get the functions needed to create buttons and windows
> and input boxes and all the other parts of the Windows GUI.
> 
> This header does not exist in FreeBSD (or any Unix that I know
> of).  You either have to obtain a compatibility library (I don't
> know of any) or rewrite the GUI part to use X-windows or some
> other interface.

It doesn't have to be a GUI application, just the requirement of sockets
requires to include windows.h. If there're no more messages that missing
include file, simply remove the include.

Jens



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EEE623E.80501>