GLFW and Xcode

Xentery
Unregistered
 
Post: #1
Hey guys, I was contemplating wether to learn SDL or GLUT,
but the guys over at GameDev.net (on the IRC channel) pointed me
in the direction on GLFW.

I installed it on my system, but am Kind of confused as to how
I get it to work with Xcode.

Any pointers?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
use the Makefile to build the GLFW library.

Drag libGLFW.a into your project.

Add the directory containing the GLFW headers to your target's "header search paths".
Quote this message in a reply
Xentery
Unregistered
 
Post: #3
Thanks OneSad.
It works like a charm.
Quote this message in a reply
Member
Posts: 321
Joined: 2004.10
Post: #4
Quote:use the Makefile to build the GLFW library.

Call me stupid, but can you elaborate more on this step? Where and
how does one run the Makefile? Is this the entire command or just an
abbreviation?
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #5
cd into the directory and run the make program which by default executes the files called Makefile in the current working directory.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Xentery
Unregistered
 
Post: #6
..those directions have nothing to do with xcode.
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #7
Xentery Wrote:..those directions have nothing to do with xcode.
I was answering WhatMeWorry's question.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Moderator
Posts: 1,140
Joined: 2005.07
Post: #8
Xentery Wrote:..those directions have nothing to do with xcode.
You need to use the makefile to build the library, but once it's built you can link it in XCode.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GLFW Xcode 3 Problems Matt328 0 2,213 Nov 21, 2008 05:55 AM
Last Post: Matt328
  Setting OpenGL & GLFW on my new mac! AdrianM 3 3,751 Oct 12, 2008 07:24 AM
Last Post: AdrianM
  Xcode and glfw, the return of cryptic errors BarneyBear 6 6,234 Apr 19, 2008 04:35 AM
Last Post: BarneyBear