Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kashmoney2006

macrumors regular
Original poster
Dec 12, 2007
232
0
I am trying to build an application using GL User Interface.
http://glui.sourceforge.net/
Does anybody know how to get this working under Xcode? ive found this:
http://lukecyca.com/2007/02/14/glui-23-framework-for-mac-os-x/
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.
 

Muncher

macrumors 65816
Apr 19, 2007
1,465
0
California
I am trying to build an application using GL User Interface.
http://glui.sourceforge.net/
Does anybody know how to get this working under Xcode? ive found this:
http://lukecyca.com/2007/02/14/glui-23-framework-for-mac-os-x/
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.

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!
 

Daniel C.

macrumors newbie
Sep 11, 2008
1
0
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?
Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.