Compiling C code

Bill Moran wmoran at
Mon Jun 16 13:18:06 PDT 2003

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.

Bill Moran
Potential Technologies

More information about the freebsd-questions mailing list