Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


NeHe OpenGL Tutorials

This topic is 5619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I can''t get even the first tutorials code to compile. I am using Visual C++ 6.0. Should I save the file as a .c or a .cpp file... I''ll give it a go and tell you guys how I went. If the program works all up by saving it as a .cpp file, then just ignore this. You''re free to write something if you like though. ____________________________ Everyone says that the world is corrupt. The World inside my head is more peaceful than this one.

Share this post

Link to post
Share on other sites
Humm...what did you do? Did you copy the tutorial to the VC++6.0 or did you donwloaded the sorce code??

If you donwloaded the source code, the troble maybe is because you downloadded the wrong source..

If you are doing it your self, is because you are forgeting something!!

If you post the compile errors would be cool!! and somno code too...

but in advance, as blind shots, I will try to say something taht cold help:
-start new Win32 project
-include libraries OpenGL32.lib and glu32.lib (#pragma comment(lib, "blabla.lib") )
-include windows.h *AFTER gl\gl.h or gl\glu.h
-chat if the window is sholy correctly...

once again, plz post the erros and what in fact is hapening!!

*My english is somekind of poor...
#include <windows.h>
#include <gl\gl.h> -> this is correct, altou I forgot the exact meaning of after and before in Portugues would be "windows.h antes do gl\gl.h"


Techno Grooves

[edited by - filami on March 3, 2003 7:57:17 AM]

Share this post

Link to post
Share on other sites
i also have some tutorials at:


for your perusal if problems still persists....

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!