Re: Example Program and Compiliation?

Shae Matijs Erisson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
"Eric L. Zeltmann" <[email protected]> writes:

> Hi all,
>
> I recently downloaded the new version of HOpenGL (1.05) and ghc(6.0.1),
> compiled them, set them up without any problems.  
>
> Now I'm trying to strech my wings a little by doing some intial
> programs.  Unfortunately there isn't any recent tutorials, and I know
> that HOpenGL has gone through some interface name changes.  I was hoping
> that maybe somebody on the list could give me an short example program,
> or atleast how to run ghc to compile the Hello.hs program found in the
> examples/redbook_hs directory, outside of running the makefile (ie, what
> would be the command I would run to compile it, what packages etc.)
>
> I am currently working on a linux system, but if you only know windows,
> I can probably translate between the two.
>
> Thank you for your time, and if you just find this annoying, delete it.

I'm still not sure whether OpenGL or HOpenGL is the canonically correct
version, but the ghc6-hopengl debian package maintainer (Ian Lynagh) wrote this
cute demo script that works with the HOpenGL debs he created:

-- 
Shae Erisson 
If anyone lets loose with the secret that hearing a request doesn't force one
to obey it, sue 'em under the DMCA. After that, anyone who doesn't obey you is
obviously using a circumvention device (their brain), which you can have
confiscated by the authorities.  -- Baron_Yam on slashdot.org

_______________________________________________
HOpenGL mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hopengl
Cube.hs (application/octet-stream, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.