www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/25/03:46:17

X-Recipient: archive-cygwin AT delorie DOT 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 DOT 91635 DOT qm AT web58602 DOT mail DOT re3 DOT yahoo DOT 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 AT atomice DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019