Menu

installing glui 2.35 for dev-c++

st_claire
2007-08-22
2012-09-26
  • st_claire

    st_claire - 2007-08-22

    Hi,

    How do I go about installing glui 2.35 on dev-c++? I installed 2.2 easily using the devpack, but not sure what to do for 2.35.

    I'm using dev-c++ 4.9.9.2 and Windows Vista Home Premium.

    Thanks.

     
    • st_claire

      st_claire - 2007-08-23

      Found them online. Thanks.

       
    • Wayne Keen

      Wayne Keen - 2007-08-22

      Did you download a binary, or source?

      Wayne

       
    • st_claire

      st_claire - 2007-08-22

      A source. It was the only option available.

       
    • Wayne Keen

      Wayne Keen - 2007-08-22

      Then you are going to have to build it.

      For exercises like this (among other things), I keep a seperate installation
      of MinGW/MSYS available on my machines, so I can do the classic Unix

      ./configure
      make

      dance, followed by copying the headers and libraries into my Dev include
      and lib (and bin if there is a dll build) folders.

      Wayne

       
    • st_claire

      st_claire - 2007-08-22

      So how can I go about building it? I tried running the vc++ file, and it built glui32.lib, but I think I need a .a file, not a .lib file.

      Any thoughts?

      Thanks.

       
    • pocdn

      pocdn - 2007-08-23

      here are the instructions to compile and install glui from dev-cpp using
      tarball from http://glui.sourceforge.net/
      download and unzip glui-2.35.tgz

      cd glui-2.35
      cd glui-2.35\src\devcpp

      move C:\Dev-Cpp\include\GL\glui.h to C:\Dev-Cpp\include\GL\glui_bak.h otherwise the comiler will ty to use the previously installed vesion of the header file
      copy glui-2.35\src\include\GL\glui.h C:\Dev-Cpp\include\GL

      double click "glui.dev"
      compile

      you may have to manually add a few files to the project like
      "glui_string.cpp" and any others that it complains about.

      compile again if necessary

      Then manually copy library and header as follows

      copy glui-2.35\src\devcpp\libglui.a C:\Dev-Cpp\lib
      copy glui-2.35\src\include\GL\glui.h C:\Dev-Cpp\include\GL

      Now you should have latest version of glui installed and compiled for
      your machine

       
    • st_claire

      st_claire - 2007-08-23

      Thanks very much.

       
    • st_claire

      st_claire - 2007-08-23

      Sorry, my mistake. It didn't work fully yet. Where do I find stdinc.h and glui_window.cpp?

       

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.