PDA

View Full Version : "cannot open file "and.obj"" error



01-06-2004, 03:38 PM
I get this error when i go to build the file im following the NeHe tutorials and im trying to get the first one to work but it just wont seem to work.

When i go build i get the error
"
LINK : fatal error LNK1104: cannot open file "and.obj"
"
im postitive ive goten the compiler setup to use openGL right but i guess i havnt can anyone help?

JanHH
01-06-2004, 03:54 PM
which operating system, which compiler?

01-06-2004, 04:07 PM
windows 98 and microsoft visual c++ 6.0

nexusone
01-06-2004, 05:24 PM
Which of NEHE tutors are you trying to compile?

Did you download the correct version for your compiler?


Originally posted by joefess53:
I get this error when i go to build the file im following the NeHe tutorials and im trying to get the first one to work but it just wont seem to work.

When i go build i get the error
"
LINK : fatal error LNK1104: cannot open file "and.obj"
"
im postitive ive goten the compiler setup to use openGL right but i guess i havnt can anyone help?

01-06-2004, 05:39 PM
teh very first nehe tutorial the one setting up a window in opengl for windows

JanHH
01-06-2004, 05:49 PM
hm. what is and.obj for? Maybe your compiler setup is broken. You added the lib files to your project?
l
Jan

01-06-2004, 06:11 PM
yeh included teh libaries and stuff with my project

01-06-2004, 06:45 PM
well ive set the compiler up and linked the libaries for teh file as for teh and.obj no idea i cant see it refered to in teh code

JanHH
01-06-2004, 07:15 PM
truly weird. But I am not the right person to answer this cause I only work with OpenGL under linux http://www.opengl.org/discussion_boards/ubb/wink.gif. If you exclude any link to and.obj in the projects setting?

01-06-2004, 08:20 PM
hmm what do u mean by did i exclude it....

mikael_aronsson
01-06-2004, 10:51 PM
Hi !

Do you have a file named and.c or and.cxx or and.cpp ? if not then you probably don't need and.obj either, one reason is that you have typed or by mistake pasted in "and" in a field in the project settings form for other file to link with, browse around a little in the project settings and see if there is an "and" somewhere.

Mikael

01-07-2004, 12:44 PM
thx man u where right i had the word and between two of the openGL libaries ill be sure to check for that in teh future thx again