GLUI libray

From NoskeWiki
Jump to: navigation, search


GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications. In theory it is platform independent, relying on the GLUT library to handle all system-dependent issues, such as window and mouse management.

Its advantages are: it uses live variables and it was easy for me to code up a useful interface in a few hours... the disadvantages: it's hard to compile, poorly supported (it's a backyard job with not much discussion on the web) and I couldn't get it compiling on MAC. ... I ended up using the open source version of Qt instead.

Installing using Visual Studio 2003

I had a bit of difficulty compiling and installing GLUI 2.35 from the GLUI source forge site on Visual Studio 2005. Following instructions - I got lots of "exit" error messages. Fortunately I found the instructions/files HERE.

.. this allowed me to use glui without compiling it properly by placing glui32.lib in ..\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib and glui.h in ..\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Gl