This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: graphics programming - beginner
- From: Chris January <chris at atomice dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Feb 2009 08:45:57 +0000
- Subject: Re: graphics programming - beginner
- References: <146021.91635.qm@web58602.mail.re3.yahoo.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 obsoleted.
>
> I try to compile some simple graphics program but unsure what libraries to #include and what compile parameters are needed.? If someone shows me or has a link to someplace where it has some simple program, and step by step 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/