• Advertisement
Sign in to follow this  

GLUT On Windows

This topic is 4323 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 recently made a little demo in GLUT showing some 2D procedural terrain generation. It compiles and runs perfectly on my Mac with no issues whatsoever. Then I come to Windows and it seems like GLUT is hardly supported. I've used three different IDEs and two compilers (the mingw/GCC compiler and the Visual Studio (lcc?) compiler) yet I get a bunch of undefined errors and something about the variable type 'short' being redefined. Is it really this hard or am I doing it wrong? It's possible. Is there a quick and easy process to making a simple GLUT application compile? I'd even be cool with command line compilers (that's how I'm working on my Mac). Thanks for any help and please be easy on the insults if I really am making this harder than it is.

Share this post


Link to post
Share on other sites
Advertisement
VisualStudio is Microsoft. LCC is not.

Imo, GLUT on Windows is not well supported.

Share this post


Link to post
Share on other sites
Quote:
Original post by NickGravelyn
I recently made a little demo in GLUT showing some 2D procedural terrain generation. It compiles and runs perfectly on my Mac with no issues whatsoever. Then I come to Windows and it seems like GLUT is hardly supported. I've used three different IDEs and two compilers (the mingw/GCC compiler and the Visual Studio (lcc?) compiler) yet I get a bunch of undefined errors and something about the variable type 'short' being redefined. Is it really this hard or am I doing it wrong? It's possible. Is there a quick and easy process to making a simple GLUT application compile? I'd even be cool with command line compilers (that's how I'm working on my Mac). Thanks for any help and please be easy on the insults if I really am making this harder than it is.

I've also been switching from a UNIX environment to Windows a lot recently. If you want to do things on Windows like they were in an UNIX (like) environment, download the mingw32 suite from their website and also get the MSYS package. It gives you a half working bash shell on Windows.

About GLUT, I downloaded it from here but if that doesn't work, search for freeglut on sourceforge, the original GLUT isn't developed any more.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement