![]() |
|
#1
|
|||
|
|||
OpenGL GLUT program window not loadingI bought the OpenGL Superbible Fourth Edition and I have reached the 'Your First Program' section (Listing 2.1 for reference). I spent a while getting all the libraries setup and the program finally compiles with no warnings or errors, but when I run the program, the window doesn't load up, there is just a blank console window. I copied the code pretty much word for word (with the exception of a char* constant for the window title). Here is the code:
CPP / C++ / C Code:
I am running on Vista using the Borland C++ compiler. As mentioned, the program complies fine using the command line: Code:
I have tried adding -L to each of the libraries and I get the same problem of the window not loading. I can't advance further into the book until this is sorted and I have searched high and low for someone with a similar problem and have found nobody, so I guess I'm a first. Does anyone understand why the window does not show? |
|||
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Equation solver | RazoR | C Programming Language | 3 | 18-May-2008 09:24 |
| Two-Tier data dissemination code installation problem | nidhibansal1984 | Computer Software Forum - Linux | 6 | 16-Sep-2007 10:13 |
| need help with a console menu system | BullBuchanan | C++ Forum | 6 | 20-Aug-2006 14:46 |
| Help with a complex program | lordfuoco | C++ Forum | 5 | 24-Jun-2006 06:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The