I´m just starting out with both C++ and OpenGL, so go easy on any hardcore technical answers =). Often, when I compile small tutorial examples I get a strange error when linking:
C:\DevStudio\VC\LIB\glut32.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x392502b3
I know my harddrive isn´t full and the glut32.lib is not corrupted. I´ve tried with several different downloads of it.
The last error is most likley to occur when you choose wrong type of project when you first create your project. If you want to use GLUT (which is a console-based API), you should create a “Win32 Conssole Application”. This will create a project that uses main() as startingpoint. If you instead want to create a “standard” Windows program, you should create a “Win32 Application”, and use WinMain() as startingpoint. This is probably what you have done, created a “Win32 Application” with main() as startingpoint.
All this can be found under the Project-tab in File->New in MSVC 6. You can do it other ways aswell, but then you might have to mess with linkerswitches, which you probably don’t want to.
[This message has been edited by Bob (edited 08-10-2000).]