# GLFW Xcode getting started

**URL:** <https://discourse.glfw.org/t/glfw-xcode-getting-started/173>\
**Category:** support\
**Created:** [September 4, 2015, 8:51pm UTC](https://discourse.glfw.org/t/glfw-xcode-getting-started/173 "2015-09-04T20:51:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 4, 2015, 8:51pm UTC](https://discourse.glfw.org/t/glfw-xcode-getting-started/173/1 "2015-09-04T20:51:28Z")

</div>

**[euskad](https://sourceforge.net/u/euskad/)** wrote on [Friday, September 04, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/d9cc604c/#f54a):

**OS:** OSX Yosemite  
\*\*IDE:\*\*Xcode 6.4  
**GLFW verison:** 3.3.1

New to GLFW, need help getting started. This is what I have done so far:

**1. Build the binaries. Within the glfw-3.3.1 folder, called:**  
_cmake ._

**2. Installed the binaries by calling:**  
_sudo make install_

**3. In Xcode, added the following libraries under “link with binary libraries”:**

```
* libglfw3.a
* Cocoa.framework
* IOKit.framework
* OpenGL.framework

```

**4. Added the followind search paths to my project:**

- Header Search Path: /usr/local/include
- Library Search Path: /usr/local/lib

**5.Finally, I tried to compile the following code:** [http://www.glfw.org/documentation.html](http://www.glfw.org/documentation.html)

However, it did not compile and gave me the following errors:  
[![](https://i.imgur.com/removed.png) ](https://i.imgur.com/removed.png)

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 5, 2015, 8:52am UTC](https://discourse.glfw.org/t/glfw-xcode-getting-started/173/2 "2015-09-05T08:52:58Z")

</div>

**[dougbinks](https://sourceforge.net/u/dougbinks/)** wrote on [Saturday, September 05, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/d9cc604c/#f54a/734c):

None of those images work for me - perhaps you could try copy-pasting the  
text error as text?

On 4 September 2015 at 22:51, iker bilbatua [euskad@users.sf.net](mailto:euskad@users.sf.net) wrote:

> _OS:_ OSX Yosemite  
> \*IDE:\*Xcode 6.4  
> _GLFW verison:_ 3.3.1
> 
> New to GLFW, need help getting started. This is how I tried to do it:
> 
> ## First, I generated the binaries using cmake’s gui !(img)[[http://i.imgur.com/zka1o2Q.png](http://i.imgur.com/zka1o2Q.png)] !(img)[[http://i.imgur.com/T8VFxlu.png](http://i.imgur.com/T8VFxlu.png)] Then, attempted to install them using xcode but got the following error !(img)[[http://i.imgur.com/wrfRN2b.png](http://i.imgur.com/wrfRN2b.png)]
> 
> ## GLFW Xcode getting started [https://sourceforge.net/p/glfw/discussion/247562/thread/d9cc604c/?limit=25#f54a](https://sourceforge.net/p/glfw/discussion/247562/thread/d9cc604c/?limit=25#f54a)
> 
> Sent from [sourceforge.net](http://sourceforge.net) because you indicated interest in  
> [GLFW / Discussion / Using GLFW](https://sourceforge.net/p/glfw/discussion/247562/)
> 
> To unsubscribe from further messages, please visit  
> [SourceForge.net: Log In to SourceForge.net](https://sourceforge.net/auth/subscriptions/)
