-
LNK1104 'and.obj'
Hello everyone,
I have a windows program that uses OpenGL libraries. It ran fine in Visual c++ v6.0 professional. Tried to run it under Visual C++ Express and the linker error
" cannot open file 'and.obj' "
comes up. I tried deleting everything except source, header and workspace files and still got the error. Have run other OPenGL programs that use the libraries and they seem to work...can anyone suggest something that I missed?
Thank you in advance...
-
I'm guessing this file is saved in X:\Documents and Settings, right? Well, it looks like your compiler doesn't support paths with spaces in the path name. Save it somewhere else, like X:\projects or whatever, as long as the name does not contain a space.
[edit] Either that or add double quotes around the name (I don't use MSVC so I'll put GCC here, but you get the idea):
Code:
C:\>gcc "c:\documents and settings\user\my documents\file.c"
[/edit]
-
Thanks, I'll give it a try...