How to use GLUI with Xcode?

Discussion in 'Mac Programming' started by kashmoney2006, Apr 17, 2008.

  1. kashmoney2006 macrumors regular

    Dec 12, 2007
    I am trying to build an application using GL User Interface.
    Does anybody know how to get this working under Xcode? ive found this:
    but im not sure how to incorporate the framework into my project. I believe I added it correctly added the framework but it still gives an error on the line #include<GLUI/glui.h> and says there is no such file or directory. Can anybody offer some help? can anyone tell me how to get the GLUI libraries added to my project? Thanks for any help.
  2. kashmoney2006 thread starter macrumors regular

    Dec 12, 2007
    Can nobody help me with this? I would greatly appreciate it.
  3. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    Just add the framework as you would with any other Mac OS X framework. Make sure it is stored in the same folder as the other frameworks though.

    That's it pretty much.
  4. Muncher macrumors 65816


    Apr 19, 2007
    Adding frameworks is easy:
    Step 1. Open your project.
    Step 2. In the Project window (the one with all the frameworks and files and headers and stuff), on the left there is a bar called "Groups & Files." Just beneath the name should be the name of the project and the xcode project icon. Right-click (or ctrl-click) and click on "existing frameworks." Find the framework, and click Add!
    Step 3. Find an old record player, and some old music and start randomly dancing/freaking other people out! It's fun!
  5. kashmoney2006 thread starter macrumors regular

    Dec 12, 2007
  6. Daniel C. macrumors newbie

    Sep 11, 2008
    Oh please please tell the world too how you got it to work.

    Personally, when I try to include <GLUI/glui.h> I get:

    “glui.h:59:19: error: cstdlib: No such file or directory
    glui.h:60:18: error: cstdio: No such file or directory
    glui.h:61:19: error: cstring: No such file or directory
    glui.h:62:18: error: string: No such file or directory
    glui.h:63:18: error: vector: No such file or directory

    Any sugestions?

Share This Page