Compiling Error in win32 console project

Dear All,
OS:WinXp
I am using VisualStudio.net 2003 .I have Created a new Win32 console application empty project.I include opengl32.lib,glu32.lib and glut32.lib in the Project->Setting->link tab.Then i Added a source file for a simple program and included glut.h in the source file.On compiling it gives an error "display1 fatal error LNK1104: cannot open file ‘C:\Documents.obj’
"
I am new to opengl so please reply .
I have another problem also i am reading the RedBook and was looking for a header “aux.h” as it is used in all the examples.Could some one mail me the source code of that file.
Regards,
Gaurav.

This is not an OpenGL related error. This error means that your project settings are messed up.

By the looks of it I guess the linker receives a command line like:

link C:\Documents and Settings\source\myclass.obj …

and stumples over the first space in C:\Documents and Settings because the filename is not in quotation marks.

Fix your project settings and the error goes away.

Please use the “OpenGL coding: beginners” board for further coding related questions.