From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 17:35:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44D3837B401 for ; Mon, 16 Jun 2003 17:35:15 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1D1243F85 for ; Mon, 16 Jun 2003 17:35:13 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 81185 invoked from network); 17 Jun 2003 00:35:10 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 17 Jun 2003 00:35:10 -0000 Message-ID: <3EEE623E.80501@liwing.de> Date: Tue, 17 Jun 2003 02:35:10 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (Compact - Build 2) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Moran References: <20030616194629.73936.qmail@web10003.mail.yahoo.com> <3EEE25FB.7070905@potentialtech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Ronj_clark@yahoo.com cc: FreeBSD Questions Subject: Re: Compiling C code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 00:35:15 -0000 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