PDA

View Full Version : Problem of InitializeAWindowPlease()



JCheng
04-07-2010, 11:55 PM
I got the error of "InitializeAWindowPlease was not declared" as prt of program listed below. How should I fix it? Do I miss any header or library added? Tks

================================================== =============

#include <windows.h>
#include <GL/glut.h>

int main() {

InitializeAWindowPlease();

glClearColor (0.0, 0.0, 0.0, 0.0);
glClear (GL_COLOR_BUFFER_BIT);
glColor3f (1.0, 1.0, 1.0);
..............
================================================== ==========

Alfonse Reinheart
04-08-2010, 12:39 AM
Where did you get this code from? If this was from a tutorial or copied from a website, then they probably expect you to implement this function.