a 3D physics platform game
POLLY-B-GONE is a 3D physics platform game that tells the story of a plucky wheeled robot named Polly, who has been imprisoned by the nefarious Dr. Nurbs in his laboratory. Polly must overcome a series of increasingly-elaborate obstacles to escape and regain her freedom.
Polly won the grand prize in the 10th annual CS 248 video game competition!
License: free
Requirements: libsdl
sdl-image
sdl-mixer
glew
tinyxml
opengl
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by frostwork on 2009-03-27.

"Source code is provided "as-is" under the GNU LGPL. If you do something cool with it, please let me know!"
I can't compile it... I changed some file using GL/gl.h instead OpenGL/gl.h and GL/glut.h instead GLUT/glut.h
But now I have an error that i don't know how to fix... look:
g++ -c -O2 -I/System/Library/Frameworks/GLUT.framework/Headers -I/System/Library /Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/SDL.framework /Headers -I/System/Library/Frameworks/SDL_image.framework/Headers -I/System/Library /Frameworks/SDL_mixer.framework/Headers -I/System/Library/Frameworks/TinyXML.framework /Headers -o obj/shader.o shader.cpp
shader.cpp: In destructor ‘virtual mbostock::GlslShader::~GlslShader()’:
shader.cpp:61: error: ‘glDeleteProgram’ was not declared in this scope
shader.cpp: In member function ‘virtual void mbostock::GlslShader::initialize()’:
shader.cpp:67: error: ‘glDeleteProgram’ was not declared in this scope
shader.cpp:69: error: ‘glCreateProgram’ was not declared in this scope
shader.cpp: In member function ‘void mbostock::GlslShader::attach(const char*, GLenum)’:
shader.cpp:76: error: ‘glCreateShader’ was not declared in this scope
shader.cpp:78: error: ‘glShaderSource’ was not declared in this scope
shader.cpp:80: error: ‘glCompileShader’ was not declared in this scope
shader.cpp:81: error: ‘glAttachShader’ was not declared in this scope
shader.cpp: In member function ‘void mbostock::GlslShader::link()’:
shader.cpp:85: error: ‘glLinkProgram’ was not declared in this scope
shader.cpp: In member function ‘virtual void mbostock::GlslShader::display(mbostock::Model&)’:
shader.cpp:90: error: ‘glUseProgram’ was not declared in this scope
You require at least the "1.0-libs.patch", but can also use the patched makefile from
"1.0-Makefile.patch". good luck!
But it runs fine now. Thanks a lot! :D
First apply the two patches in the ebuild: 1.0-libs.patch and 1.0-Makefile.patch using 'patch -p1 < *.patch'
Next download and compile tinyxml from sourceforge. Copy the .h and .cpp files into the main directory and the .o files into ./obj (make this directory in the main polly directory).
Finally, edit the makefile, remove '-ltinyxml' from LIBS=, and under 'obj/main.out' add the following to the list of .o files: