Advertisement

fatal error LNK1104 with visual 6.

Started by November 25, 2002 05:52 AM
1 comment, last by zwirdsch 21 years, 11 months ago
Hi, i''m just a beginner, so that I can''t solve this problem, maybe someone can help me out. I''ve written a opengl-file in vc++, i don''t have any problems when i complile the file, but when try to build the *.exe, i always get the following error message: "Linking... LINK : fatal error LNK1104: cannot open file "and.obj" Error executing link.exe. depth.exe - 1 error(s), 0 warning(s)" I think, I did everything right with setting up the enviroment, i''ve put the glut32.lib and GLu32.lib into drive:/../msv/vc98/lib and the glut.h and GLu.h into drive:/../msv/vc98/include/gl. I also copied GLUT32.DLL to drive:/windows/system. When opened a know new workspace, I used nehe''s tutorial to set up the settings. It would be nice when could help me, so that i can make the next steps in opengl-programming, because it''s very frustrating, if don''t make any progress. thanks for your support, zwirdsch.
project->settings->link tab

look in the "object/library modules:" entry field. is there an "and" or an "and.obj" string? if so, get rid of it.

this of course assume you don''t really want/have an and.obj to be linked into your exe.
Advertisement
oh my god what a stupid mistake!
thanks for helping me out anonymous poster

This topic is closed to new replies.

Advertisement