X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <146021.91635.qm@web58602.mail.re3.yahoo.com>
References: <146021.91635.qm@web58602.mail.re3.yahoo.com>
Date: Wed, 25 Feb 2009 08:45:57 +0000
Message-ID: <2ce9650b0902250045s66108a1es297beb6af0eac5e7@mail.gmail.com>
Subject: Re: graphics programming - beginner
From: Chris January <chris@atomice.net>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

On Wed, Feb 25, 2009 at 1:39 AM, H Le wrote:
> Hi,
>
> The previous message I asked was "the path to graphics.h library" but it =
seems to get more confusion.
> After searching for awhile, it seems that the graphics.h library is obsol=
eted.
>
> I try to compile some simple graphics program but unsure what libraries t=
o #include and what compile parameters are needed.=A0 If someone shows me o=
r has a link to someplace where it has some simple program, and step by ste=
p to compile it to run under cygwin, I appreciate it.

I think this is what you're looking for:
http://www.cs.colorado.edu/~main/bgi/install.html

It's designed for use with MinGW, however, and not Cygwin. If you
don't need Cygwin's Linux API emulation layer for your program I
suggest you use MinGW itself, following the instructions on that
website.

You may be able to compile it from source to work on Cygwin. The
source code is here:
http://www.cs.colorado.edu/~main/bgi/source/
The makefile will need some changes to work.

Regards,
Chris

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

