[Haskell-cafe] Installation of GLFW package

Immanuel Normann i.normann at iu-bremen.de
Mon Oct 1 18:43:09 EDT 2007


Hello,

I have just read the thread about "installation of GLUT package" started
at 9/3/2007 by Ronald Guida. Installation of the GLFW package is very
much related to that. However, I haven't found the solution for
installing the GLFW successsfully.

I have downloaded 

http://www.cs.yale.edu/homes/hl293/download/GLFW-20070804.zip

and followed the compile and installation instructions from the
README.txt file. Actually I haven't noticed any error messages.

Then I tried SimpleGraphics from SOE (downloaded from
http://www.cs.yale.edu/homes/hl293/download/SOE-20070830.zip)
with ghci-6.6. Again loading the file did not raise any error.

But when I tried to start 

main
  = runGraphics (
    do w <- openWindow 
              "My First Graphics Program" (300,300)
       drawInWindow w (text (100,200) "Hello Graphics World")
       k <- getKey w
       closeWindow w
    )

I got this error message:

"During interactive linking, GHCi couldn't find the following symbol:
  GLFWzm0zi1_GraphicsziUIziGLFW_initializze_closure
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session.  Restart GHCi,
specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi."

Here I am lost. What is the missing library?

Regards,
Immanuel



More information about the Haskell-Cafe mailing list