Fwd: different glut32 problem

"Conal Elliott" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi Sven,

Do you still maintain the OpenGL and GLUT packages?  Problem and solution
described below.

Thanks,
   - Conal

---------- Forwarded message ----------
From: Sigbjorn Finne <[email protected]>
Date: Thu, Oct 30, 2008 at 7:52 PM
Subject: Re: different glut32 problem
To: Conal Elliott <[email protected]>
Cc: Ivan Tomac <[email protected]>, David Sankel <[email protected]>,
Matti Niemenmaa <[email protected] <matti.niemenmaa%[email protected]>>,
Mark Wassell <[email protected]>, Jefferson Heard <
[email protected]>


Cool; looks as if there were some Cabal-related changes, so that
bit mb fell on the floor (and non-Windows users aren't bitten by it.)
Package data for older GHCen have it, but in the ld-options field.

If you could fwd the mod to the maintainers, that'd be great.

--sigbjorn

On 10/30/2008 19:23, Conal Elliott wrote:

> Problem solved, thanks to a suggestion from Sigbjorn.
>
> The OpenGL.buildinfo.in <http://OpenGL.buildinfo.in> and GLUT.buildinfo.in<
> http://GLUT.buildinfo.in> files were missing entries for
> 'extra-libraries'.  Once I added these entries, everything works.
>
> I wonder why other people aren't having the same problem.  Any theories?
>
>  - Conal
>
> On Wed, Oct 29, 2008 at 6:24 PM, Conal Elliott <[email protected] <mailto:
> [email protected]>> wrote:
>
>    I'm getting some more information now on failure with glut32 (not
>    freeglut).  After getting cygwin out of the way, now GLUT fails to
>    load in ghci (rather than crashing).  Quitting ghci shows a
>    missing symbol:
>
>    *Main> main
>    Loading package syb ... linking ... done.
>    Loading package array-0.2.0.0 ... linking ... done.
>    Loading package containers-0.2.0.0 ... linking ... done.
>    Loading package OpenGL-2.2.1.1 ... linking ... done.
>    Loading package GLUT-2.1.1.2 ... linking ... : unable to load
>    package `GLUT-2.1.1.2'
>    *Main> :q
>    Leaving GHCi.
>    <interactive>:
>    c:/Haskell/packages\GLUT-2.1.1.2\ghc-6.11.20081024\HSGLUT-2.1.1.2.o:
>    unknown symbol `_glutGet'
>
>    bash-3.1$ which glut32.dll
>    /c/WINDOWS/system32/glut32.dll
>
>    When I hide glut32.dll (rename it) and try again, I get the same
>    result.  Same result again when I copy glut32.dll into the
>    directory containing the Haskell test module.
>
>    Any ideas?
>
>    Thanks,  - Conal
>
>
>

_______________________________________________
HOpenGL mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hopengl
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.