Skip to content

brownman/Go-GLUT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go bindings for GLUT: https://github.com/rhencke/Go-GLUT

Requires: https://github.com/banthar/Go-OpenGL

Please note that Go-OpenGL does NOT require SDL; only its examples do.

If you are using Mac OS X, and are unable to install Go-OpenGL, please apply Go-OpenGL.patch:
    patch -p1 -d your/path/to/Go-OpenGL < Go-OpenGL.patch
    cd your/path/to/Go-OpenGL
    make

If you are using Linux, please ensure you have installed GLUT or freeglut.

To install Go-GLUT:
    make install

To compile examples:
    cd examples
    make

Known problems:
    Calling a variadic function (e.g. fmt.Printf) from inside a GLUT callback will break your program.
    http://code.google.com/p/go/issues/detail?id=1323
    
    Some GLUT functionality (notably, entering game mode on Mac OS X) may cause your program to crash.
    http://code.google.com/p/go/issues/detail?id=1328

About

GLUT bindings for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published