I can't compile textures too many errors
Well I just finished NeHE''s texture toutorial and well sad to say but I can''t compile it I get too many errors. I am useing the same librarys as I did in the other toutourials and they compile fine. Here are the errors.
-------------Configuration: Textures - Win32 Debug---------------Compiling...
Textures.cpp
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(68) : error C2065: ''glGenTextures'' : undeclared identifier
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(68) : error C2064: term does not evaluate to a function
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(71) : error C2065: ''glBindTexture'' : undeclared identifier
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(71) : error C2064: term does not evaluate to a function
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(136) : error C2064: term does not evaluate to a function
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(219) : error C2061: syntax error : identifier ''fullscreenflag''
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(231) : error C2065: ''fullscreenflag'' : undeclared identifier
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(460) : error C2660: ''CreateGLWindow'' : function does not take 5 Parameters
C:\Msdevstd\3dengein\OpenGL_base\Textures\Textures.cpp(497) : error C2660: ''CreateGLWindow'' : function does not take 5 parameters
Error executing cl.exe.
Textures.exe - 9 error(s), 0 warning(s)
Well Can anyone help me I e-mailed NeHe on this one so please help.
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
You''re probably missing an include like #include in your texture.cpp or texture.h or in another included file.
nope can''t be I get the same errors with NeHe''s version. I think I''m missing a lib but i;m not certain of which one if I am missing it.
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
nope can''t be I get the same errors with NeHe''s version. I think I''m missing a lib but i;m not certain of which one if I am missing it.
A man walks into a bar.....ouch!?! Ya get it, do ya huh huh well....awww I give up.
Are you sure you have the gl.h and all that at the begining of your texture.cpp?
Because it can''t find the glBindTextures function, so that means you don''t have something included right. Also you need to extern the fullscreen flag. You must have it defined in another cpp.
ps. If I went over it too fast or anything like that, feel free to email me at blackscar@ticz.com . And then I''ll go over it better with you.
Hope that helps!
~-=-=-=-=-=-=~
~Justin Eslinger~
~.."BlackScar"..~
~-=-=-=-=-=-=~
Because it can''t find the glBindTextures function, so that means you don''t have something included right. Also you need to extern the fullscreen flag. You must have it defined in another cpp.
ps. If I went over it too fast or anything like that, feel free to email me at blackscar@ticz.com . And then I''ll go over it better with you.
Hope that helps!
~-=-=-=-=-=-=~
~Justin Eslinger~
~.."BlackScar"..~
~-=-=-=-=-=-=~
~-=-=-=-=-=-=~~Justin Eslinger~~.."BlackScar"..~~-=-=-=-=-=-=~
i think blackstars right do u have gl.h included in your project somewhere ie in the right place in the GL/gl.h directory along with GL/glu.h etc
Do you have something like #include at the start? If you do make sure that in you VC\Include\Gl folder\directory that there is a gl.h file.
Do you have the files opengl.lib or opengl32.lib?
If you do make sure that they are in the link box
(Alt + F7) Link Tab,Object/Libary modules:
if you don''t have the libary''s just e-mail me and i''ll send them to you, If you do make sure they are in the right folder/directory.
-Jamie
Do you have the files opengl.lib or opengl32.lib?
If you do make sure that they are in the link box
(Alt + F7) Link Tab,Object/Libary modules:
if you don''t have the libary''s just e-mail me and i''ll send them to you, If you do make sure they are in the right folder/directory.
-Jamie
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement