Personal tools

Talk:OpenGLTutorial1

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Current revision (04:56, 21 January 2011) (edit) (undo)
(I get an error: new section)
 
Line 1: Line 1:
The program didn't display anything for me.
The program didn't display anything for me.
I changed the line "<hask>clear [ColorBuffer]</hask>" in the ''display'' function to <hask>"clear [ColorBuffer, DepthBuffer]"</hask>, and it worked.
I changed the line "<hask>clear [ColorBuffer]</hask>" in the ''display'' function to <hask>"clear [ColorBuffer, DepthBuffer]"</hask>, and it worked.
 +
 +
== I get an error ==
 +
 +
 +
When I compile the tutorial:
 +
 +
undefined reference to `Display_display_closure'
 +
.
 +
.
 +
.
 +
etc
 +
 +
What additional library am I missing?

Current revision

The program didn't display anything for me.

I changed the line "
clear [ColorBuffer]
" in the display function to
"clear [ColorBuffer, DepthBuffer]"
, and it worked.

I get an error

When I compile the tutorial:

undefined reference to `Display_display_closure'

. . . etc

What additional library am I missing?