Tutorial 6 bug
When I typed in NeHE''s tut 6 I got several compiler errors I got most of them out but two are sticken with me. So I decided to download the Code I use VisualC++ 4.0 so I fixed the code to work with my compiler and I still got the same two errors (which cause several other errors). Then I read somewhere that I might not have the most up tdate SDK so I went to OpenGL.org and downloaded and installed the latest SDK. It didn''t help. Now I am desprate. I need textures to do what I am learning OGL for please help. The errors are as follows.
----------------Configuration: Lesson6 - Win32 Debug-------------
Compiling...
Lesson6.cpp
C:\Msdevstd\3dengein\OpenGL_base\Lesson06\Lesson6.cpp(66) : error C2065: ''glGenTextures'' : undeclared identifier
C:\Msdevstd\3dengein\OpenGL_base\Lesson06\Lesson6.cpp(66) : error C2064: term does not evaluate to a function
C:\Msdevstd\3dengein\OpenGL_base\Lesson06\Lesson6.cpp(69) : error C2065: ''glBindTexture'' : undeclared identifier
C:\Msdevstd\3dengein\OpenGL_base\Lesson06\Lesson6.cpp(69) : error C2064: term does not evaluate to a function
C:\Msdevstd\3dengein\OpenGL_base\Lesson06\Lesson6.cpp(134) : error C2064: term does not evaluate to a function
Error executing cl.exe.
Lesson6.exe - 5 error(s), 0 warning(s)
Here are my header files.
#include
#include
#include
#include
#include
and the Librarys I used.
opengl32.lib glu32.lib glaux.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
Please help thanks.
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
Well, I had never had any trouble (using VC++6)
the first error could be because the function declaration is missing, same for the third.
Check if you have the lastest GL drivers
Hey, and put the libs about GL at the end of the list ...
the first error could be because the function declaration is missing, same for the third.
Check if you have the lastest GL drivers
Hey, and put the libs about GL at the end of the list ...
(you can find me on IRC : #opengl on undernet)
He He for got about the whole HTML thing cant post stuff in the greater than less than signs
here are the includes
windows.h
stdio.h
gl/gl.h
gl/glu.h
gl/glaux.h
here are the includes
windows.h
stdio.h
gl/gl.h
gl/glu.h
gl/glaux.h
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
I don''t have Opengl.h (dose opengl.h even exsist)?
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
I''m still looking for help here.
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
The problem is not in your drivers, or dlls. You cannot compile your code because the header files are missing. Do a search for the files you include on your harddrive. If they''re not there, download them online. If they are, make sure they are in the VC path (tools | directories). That''s the only thing I can think of.
I still need help on this subject it''s been several days and I still haven''t goten it fixed
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
September 01, 2000 12:02 PM
Did you include the lib and header paths in your VC++ project?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement