Compiling C code

Jens Rehsack rehsack at
Mon Jun 16 17:35:15 PDT 2003

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.


More information about the freebsd-questions mailing list