Menu

DevC++ 4.9.9.x and GLUI 2.35 - A solution.

floz
2007-01-27
2012-09-26
  • floz

    floz - 2007-01-27

    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. :)

    1. 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.

    2. Ignore the .devs - They are fubar.

    3. Import the MSVC project files via File->Import->Import MS Visual C++ Project.

    4. Add glui.h to this project, and to your Dev-Cpp/include/GL/ directory.

    5. Project->Project Options->Build Options->override output filename. Set it to 'libglui.a' (alternatively, just rename glui.a after compilation).

    6. Compile! Relatively hassle free - there are a few warnings but it should result in a perfectly functional libglui.a of 639Kb.

    7. Stick libglui.a in your Dev-Cpp/lib/ directory.

    8. 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!

     
    • Wayne Keen

      Wayne Keen - 2007-02-01

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.