Jump to content

Glui

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Victor

Victor

    Programmer

  • Members
  • PipPipPipPip
  • 116 posts
Just a quick question about GLUI. For those of you who don't know what it is, it's a library for C++ user interfaces. I've downloaded it, I've looked through countless forums and googled until I was blue in the face. I just can't find any information or help on how to install and use it. I am using MSVC++ primarily but would also like to use it with Dev-Cpp. Anyone know how to install? Thanks in advance

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
---------- Windows ----------

The directory 'msvc' contains a Visual C++ workspace entitled
'glui.dsw'. To recompile the library and examples, open this
workspace and run the menu command "Build:Batch Build:Build". The 3
executables will be in the 'bin' directory, and the library in the
'lib' directory.

To create a new Windows executable using GLUI, create a "Win32 Console
Application" in VC++, add the GLUI library (in 'msvc/lib/glui32.lib'),
and add the OpenGL libs:

glui32.lib glut32.lib glu32.lib opengl32.lib (Microsoft OpenGL)

Include the file "glui.h" in any file that uses the GLUI library.


---------- Unix ----------

An SGI/HP makefile is found in the file 'makefile' (certain lines may need
to be commented/uncommented).

To include GLUI in your own apps, add the glui library to your
makefile (before the glut library 'libglut.a'), and include "glui.h"
in your sources.

Taken from SourceForge.net: Files

#3
Victor

Victor

    Programmer

  • Members
  • PipPipPipPip
  • 116 posts
Thanks for your help, I think I figured it out, I'm missing 'gl.h' but I'm going to try to download it.

Thanks again