This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: graphics programming - beginner


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]