Advertisement

Tutorial 6 bug

Started by August 25, 2000 04:15 PM
21 comments, last by ARID 23 years, 11 months ago
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 ...
(you can find me on IRC : #opengl on undernet)
Advertisement
did you include opengl.h?
InFerN0Not all who wander are lost...
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
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.
Advertisement
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.
did you locate all the header files on your harddrive or not?
Did you include the lib and header paths in your VC++ project?

This topic is closed to new replies.

Advertisement