Problem of InitializeAWindowPlease()

This is a discussion on Problem of InitializeAWindowPlease() within the Windows Programming forums, part of the Platform Specific Boards category; I go the error of "InitializeAWindowPlease was not declared" when the program, as part of it listed below, was complied. ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Location
    China
    Posts
    11

    Question Problem of InitializeAWindowPlease()

    I go the error of "InitializeAWindowPlease was not declared" when the program, as part of it listed below, was complied. How should I fix it? Is any header or library missed to add in?

    ==============================================
    #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);
    ............
    ===============================================

  2. #2
    Registered User
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    375
    Quoted from http://glprogramming.com/red/chapter01.html

    The InitializeAWindowPlease() routine is meant as a placeholder for window system-specific routines, which are generally not OpenGL calls.
    Last edited by Salem; 04-08-2010 at 10:28 AM. Reason: Fixing URL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 10:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21