[Haskell-cafe] Code from Haskell School of Expression hanging.

michael rice nowgate at yahoo.com
Sun Jan 30 19:50:52 CET 2011

What you see below is what I get. No window opens. System Monitor shows CPU usage negligible.


[michael at localhost ~]$ cd ./SOE/SOE/src
[michael at localhost src]$ ghci
GHCi, version 6.12.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> :l Snowflake.lhs
Ok, modules loaded: Snowflake, SOE.
Prelude Snowflake> main
Loading package old-locale- ... linking ... done.
Loading package old-time- ... linking ... done.
Loading package OpenGLRaw- ... linking ... done.
Loading package GLURaw- ... linking ... done.
Loading package ObjectName- ... linking ... done.
Loading package StateVar- ... linking ... done.
Loading package Tensor- ... linking ... done.
Loading package OpenGL- ... linking ... done.
Loading package GLFW-0.4.2 ... linking ... done.


--- On Sun, 1/30/11, Paul L <ninegua at gmail.com> wrote:

From: Paul L <ninegua at gmail.com>
Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging.
To: "michael rice" <nowgate at yahoo.com>
Cc: "Daniel Fischer" <daniel.is.fischer at googlemail.com>, haskell-cafe at haskell.org
Date: Sunday, January 30, 2011, 1:03 PM

I'm the maintainer of the SOE code. This is rather puzzling, since apparently GLFW works on your setup. I don't think there is much big difference in SOE than the sample GLFW program from the Haskell Wiki. 

So when you run the SOE program, did you see the window but just all blank? Or you never see the window popping up?
Regards,Paul Liu

On Sat, Jan 29, 2011 at 7:34 PM, michael rice <nowgate at yahoo.com> wrote:

The sample program (the "active" version) here runs fine, so  the OpenGL GLFW must have been installed properly. Must be the SOE stuff causing the problem.



--- On Sat, 1/29/11, Daniel Fischer <daniel.is.fischer at googlemail.com> wrote:

From: Daniel Fischer <daniel.is.fischer at googlemail.com>

Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging.
To: "michael rice" <nowgate at yahoo.com>
Date: Saturday, January 29, 2011, 9:37 PM

On Sunday 30 January 2011 03:27:55, michael rice wrote:
> I'm using the OpenGL stuff (GLFW). Same set of problems?

No idea, I haven't used a graphics library
 for a long time.


Haskell-Cafe mailing list

Haskell-Cafe at haskell.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110130/f3dc0ced/attachment.htm>

More information about the Haskell-Cafe mailing list