On Saturday 20 September 2008 19:13:43 Donnie Jones wrote:
[...]
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glu.h
Hello Brandon and Haskell-cafe,
(Sorry for the delayed reply...)
These seem to be the relevant lines from configure of OpenGL package.
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h
On 2008 Sep 20, at 12:57, Donnie Jones wrote:
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glu.h usability... yes
checking
Hello Brandon,
On Sat, Sep 20, 2008 at 1:02 PM, Brandon S. Allbery KF8NH
[EMAIL PROTECTED] wrote:
On 2008 Sep 20, at 12:57, Donnie Jones wrote:
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking
Hello Clifford,
Thank you for the quick reply.
I was able to get a test C program that draws a triangle with GLUT to work:
gcc -lglut triangle.o -o triangle.exe
However, when building the Haskell GLUT 'Hello World' it uses, -lGLU to link
GLUT, but that does not work; however, from the config.log
Hello,
ghc -package GLUT -lglut Hello1.hs -o Hello1 --- works! :)
I'm not sure why I must specify -package GLUT and -lglut but that
prevents the linker errors. Also, shouldn't configure correctly figure out
how to link the GLUT libraries? Can someone explain?
Thank you.
__
Donnie
On Sat,
On 2008 Sep 20, at 21:47, Donnie Jones wrote:
However, when building the Haskell GLUT 'Hello World' it uses, -lGLU
to link GLUT, but that does not work; however, from the config.log
output configure seems to think that -lGL should work. Is there a
way I can change the build to use -lglut?
On 2008 Sep 20, at 22:10, Donnie Jones wrote:
ghc -package GLUT -lglut Hello1.hs -o Hello1 --- works! :)
I'm not sure why I must specify -package GLUT and -lglut but
that prevents the linker errors. Also, shouldn't configure
correctly figure out how to link the GLUT libraries? Can
Hello Brandon,
Maybe this is a bug in the configure script of Haskell OpenGL or GLUT
packages? Any suggestion from the package maintainers (or someone more
familiar with these packages)?
Thanks! :)
__
Donnie
On Sat, Sep 20, 2008 at 10:13 PM, Brandon S. Allbery KF8NH
[EMAIL PROTECTED] wrote:
On 2008 Sep 12, at 0:24, Donnie Jones wrote:
I am trying to test do some OpenGL / GLUT programming in Haskell,
but I had linker issues testing the 'Hello World' OpenGL Haskell
program. I believe the linker issues were caused because the
Haskell GLUT package couldn't find the GLUT C
10 matches
Mail list logo