Import the MSVC project files via File->Import->Import MS Visual C++ Project.
Add glui.h to this project, and to your Dev-Cpp/include/GL/ directory.
Project->Project Options->Build Options->override output filename. Set it to 'libglui.a' (alternatively, just rename glui.a after compilation).
Compile! Relatively hassle free - there are a few warnings but it should result in a perfectly functional libglui.a of 639Kb.
Stick libglui.a in your Dev-Cpp/lib/ directory.
Use File->New->Project->Multimedia->Glui to setup your devs, remove main.cpp (this is analagous to example1.cpp, only using GLUI 2.2 style constructors) and add any exampleX.cpp to compile and start learning GLUI.
Hope this is of some help to anyone!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that there is a getting started with GLUT section in the "Please Read Before Posting a Question"
thread that deals with the GLUT part of this, with examples and all. The source it lists for GLUT
includes GLUI
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just posted this over on the GLUI forum, but it's very quiet over there, so I thought I'd crosspost it here too.
So, I spent about 6 hours yesterday trying to build GLUI 2.35 with DevC++, and I thought I'd share my eventual method of success. :)
Make sure GLUT is properly installed. Nigel's glut.3.7.6+.DevPak:
http://www.nigels.com/glt/devpak/glut.3.7.6+.DevPak
Is highly reccomended.
Ignore the .devs - They are fubar.
Import the MSVC project files via File->Import->Import MS Visual C++ Project.
Add glui.h to this project, and to your Dev-Cpp/include/GL/ directory.
Project->Project Options->Build Options->override output filename. Set it to 'libglui.a' (alternatively, just rename glui.a after compilation).
Compile! Relatively hassle free - there are a few warnings but it should result in a perfectly functional libglui.a of 639Kb.
Stick libglui.a in your Dev-Cpp/lib/ directory.
Use File->New->Project->Multimedia->Glui to setup your devs, remove main.cpp (this is analagous to example1.cpp, only using GLUI 2.2 style constructors) and add any exampleX.cpp to compile and start learning GLUI.
Hope this is of some help to anyone!
Note that there is a getting started with GLUT section in the "Please Read Before Posting a Question"
thread that deals with the GLUT part of this, with examples and all. The source it lists for GLUT
includes GLUI
Wayne