#2015: SOE samples crash when running from ghci rather than compiling and
running
with ghc
----------------------+-----------------------------------------------------
Reporter: justinhj | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.8.3
Component: GHCi | Version: 6.8.2
Severity: normal | Resolution: worksforme
Keywords: SOE ghci | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Windows |
----------------------+-----------------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => worksforme
Comment:
It works fine for me, with GLFW installed using Cabal:
{{{
C:\cygwin\home\ian\soe\SOE\src>ghci Snowflake.lhs
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
[1 of 2] Compiling SOE ( SOE.hs, interpreted )
[2 of 2] Compiling Snowflake ( Snowflake.lhs, interpreted )
Ok, modules loaded: SOE, Snowflake.
*Snowflake> main
Loading package OpenGL-2.2.1.1 ... linking ... done.
Loading package GLFW-0.3 ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
}}}
I don't know what your `test.hs` is; SOE doesn't seem to come with one.
I notice that your GLFW is an older version than mine, so perhaps this
problem has been fixed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2015#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs