ok, noob here. im not sure how (or possibly where) to install glut. ive extracted all the required files, but im not sure how to go about setting them up. ( the set up instruction that came with it require microsoft Developer Studio 6)
help please!
ok, noob here. im not sure how (or possibly where) to install glut. ive extracted all the required files, but im not sure how to go about setting them up. ( the set up instruction that came with it require microsoft Developer Studio 6)
help please!
Okay, but what are you using?
"Queen and huntress, chaste and fair,
Now the sun is laid to sleep,
Seated in thy silver chair,
State in wonted manner keep."
oh yeah, srry. i'm using codewarrior but i have been considering picking up borland. i do most of my c++ programming at school on linux/unix/bsd/solaris but i want to start playing with ogl graphics at home on windowsME.
I've never used CodeWarrior - but the concept should be the same. If you have downloaded the precompiled versions of GLUT then it is as simple as placing the files in the correct place.
Put the glut32.dll in your /windows/system directory.
glut32.lib goes in your compilers ../lib directory
glut.h goes in your ../include/GL directory.
I am not sure of the exact directory structure of the Metrowerks compiler package.. but this may be close.
the glut.h file goes into /Headers/Win32 SDK/GL/
the glut32.lib file goes into /Libraries/Win32 SDK/
"Queen and huntress, chaste and fair,
Now the sun is laid to sleep,
Seated in thy silver chair,
State in wonted manner keep."
well, thanks for the help. i found all the right places for the files but i get a "cannot open file" error when codewarrior tries to access them. i think im gonna look into borland or vc++
When you are including the files you are doing this?
#include <GL/glut.h>
and you are linking glut32.lib as well?
"Queen and huntress, chaste and fair,
Now the sun is laid to sleep,
Seated in thy silver chair,
State in wonted manner keep."
im doin it like that.Code:#include <windows.h> #pragma comment(lib, "glut32.lib") #include <gl/glut.h>
woohoo, got vc++ and evrything works fine. i guess it was just my out dated codewarrior having issues. thanx for your help
Excellent! I had completely run out of ideas to tell you the truth
"Queen and huntress, chaste and fair,
Now the sun is laid to sleep,
Seated in thy silver chair,
State in wonted manner keep."