On Oct 19, 2007, at 15:14 , Andrew Coppin wrote:
Peter Verswyvelen wrote:
I find it a petty the library does not work with GHCi :-( It has
to do with the threaded RTS I guess. Any hints how I could fix this?
Yeah, lots of things seem to dislike running in GHCi. (I'm guessing
this is to
Peter Verswyvelen wrote:
Yeah I missed that too at first sight... A hint to the author: rename
this into README.WIN32.txt or something :-)
But I don't think the author of that library reads this mailing list?
Mmm... I suppose technically somebody could submit a Darcs patch? ;-)
[Darcs even
I find it a petty the library does not work with GHCi :-( It has to do
with the threaded RTS I guess. Any hints how I could fix this?
Not sure how useful this is, but it works for me. I have a toy project
that uses OpenGL and SDL and I have no problems running it from within
GHCi in Linux.
Bit Connor wrote:
There should be a WIN32 file with instructions for installing on windows.
Thanks. I didn't spot that...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
http://darcs.haskell.org/~lemmih/hsSDL/
http://darcs.haskell.org/%7Elemmih/hsSDL/
How do I use this?
I've seen instructions floating around somewhere that if a library has a
Setup.hs, you're supposed to do
runhaskell Setup configure
runhaskell Setup build
runhaskell Setup install
There should be a WIN32 file with instructions for installing on windows.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
I write a lot of programs that build bitmapped images. (Some of you may
remember the Chaos Pendulum Simulator...) Currently, all of these
programs work by writing the final image data to a PPM file on disk.
(Because that's the only way I can figure out to do something *useful*
with the data!)
On Sunday 14 October 2007 13:31:56 Andrew Coppin wrote:
PS. I've investigated existing APIs and I'm not seeing anything that
looks useful. Lots of support for drawing lines and arcs and so on, but
not for plotting individual pixels.
I highly recommend OpenGL. Even if you are just filling
Jon Harrop wrote:
On Sunday 14 October 2007 13:31:56 Andrew Coppin wrote:
PS. I've investigated existing APIs and I'm not seeing anything that
looks useful. Lots of support for drawing lines and arcs and so on, but
not for plotting individual pixels.
I highly recommend OpenGL. Even if
On 14/10/2007, Andrew Coppin [EMAIL PROTECTED] wrote:
Jon Harrop wrote:
On Sunday 14 October 2007 13:31:56 Andrew Coppin wrote:
PS. I've investigated existing APIs and I'm not seeing anything that
looks useful. Lots of support for drawing lines and arcs and so on, but
not for plotting
I say someone binds SDL[1]. (If it hasn't been done already.)
Ask and you shall receive:
http://darcs.haskell.org/~lemmih/hsSDL/
I use those SDL bindings to plot pixels with OpenGL and play with 3D
stuff in Haskell.
___
Haskell-Cafe mailing list
Andrew said:
Oh, and the irony of using OpenGL (an API of unimaginable complexity) just to
write pixels to the screen. Isn't that kind of like using a thermonuclear
device to crack a nut?
Saying that using OpenGL to write pixels to the screen is like using a
thermonuclear device to crack a
Interesting! I just wanted to reply (although Andrew Coppin must have
unsubscribed by now...) that I have an application that plots pixels
using OpenGL (it's actually not that hard, just visit the new Haskell
OpenGL page, and look at the examples given, e.g.
YEEESSS!! W00t11 I've been looking for that for a long time. I
get so sick of glut... Thanks.
Luke
On 10/14/07, Roel van Dijk [EMAIL PROTECTED] wrote:
I say someone binds SDL[1]. (If it hasn't been done already.)
Ask and you shall receive:
http://darcs.haskell.org/~lemmih/hsSDL/
I
Andrew Coppin:
As far as I know, all of this is *possible* with Gtk2hs
right now - it's just vastly more complex than making
a single function call. So what I'd like to do is write
a small library which will enable me to do each of the
above tasks in 1 function call. However, I'm getting
15 matches
Mail list logo