Advertisement

header file in OpenGL tutorial 1?????

Started by February 23, 2003 08:39 PM
3 comments, last by Dzap1 22 years ago
I was entering the code for tutorial 1 with VC++6 and when I compiled I received some errors. I downloaded the code and ran it and it did fine. I looked in the project tree and in the external dependencies folder there is a file basetsd.h???? I added the opengl32.lib, glu32.lib and glaux.lib in the project links. Where did this header file come from and how do I get it into me project??? Help Dzap1
What errors did you recieved ? basestd.h is a standard VC++6 header file with some type definitions. Nothing to worry about.
It will be ''included'' in every win32 app you will create.
The problem will be somewhere else. So maybe you should tell me
the error messages, and how did you create your project
Advertisement
Where each function is declared I''m getting an error "local function definitions are illegal". In the project I downloaded the header file showed up in an external dependencies folder, when I opened a new project and entered the code and compiled that folder and the basetsd.h didn''t. I hope the error while help.

Thanks
All the error means is that you have an open parenthese and your functions are in it. Hence "local function definition"

-~-The Cow of Darkness-~-
-~-The Cow of Darkness-~-
Thank you very much Cow of Darkness, after I found the missing parenthese it finished compiling and the header file got added. It ran too!!!

All the help is most graciously appreciated!!!!!!

This topic is closed to new replies.

Advertisement