Error when trying to compile and link NeHe tutorials.
Hi,
I'm running into a problem when i try to compile your code in Lesson 01.
The compiler error, actually a linker error is: LINK : fatal error LNK1104: cannot open file "and.obj"
I have no idea what the problem is or where its originating.
I'm using MS VC++ 6.0 .
[edited by - deathtrap on March 17, 2003 9:45:34 PM]
an object file will usually be created for most major .cpp files you have. So it may be an issue with a file names and.cpp, or a lack of it. But, that being, sometimes VC gets confused. Restart VC and tell it to tell it to do a clean rebuild. All these files will be deleted and it will recompile the entire project.
| - Project-X - my mega project.. getting warmer
- | - adDeath - an ad blocker I made - | - email me - |
| - Project-X - my mega project.. getting warmer

quote:
Original post by deathtrap
The compiler error, actually a linker error is: LINK : fatal error LNK1104: cannot open file "and.obj"
Do you have a .cpp file named and? Have you modified the source code avaialble for download from NeHe''s site? (mean making your own header/source files?)
I did that as well... sometimes...this error comes when the file inclusion path in VC is not specified for partuclar files.
Please check the files that have been added to your project and try to compile the and.cpp(I assume that exists) BEFORE you use that in some other file(because the linker will require all the.obj files during linking)
Please correct me if I am wrong!
"Recovering Thinker"
Just do it!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement