Xcode updated and now v76a apps won't compile

Monkey Forums/Monkey Bug Reports/Xcode updated and now v76a apps won't compile

Oddball(Posted 2013) [#1]
Xcode has just updated on my MacBookPro(Retina) to v5.0.1 and now apps fail when I try to build/run them in GLFW. I get the following output in the console window.



I'm going to roll back to v75d and see if that works.


Oddball(Posted 2013) [#2]
Nope v75d is giving me exactly the same warnings/errors. :(

Also checked Flash and HTML5 which are building/running fine, but iOS is also failing. Which I suppose makes sense since it was an Xcode update that borked everything.


programmer(Posted 2013) [#3]
I'm getting the same error.

Add
#include <pthread.h>
to yourgame.build/glfw/main.h:
#elif __APPLE__ 
...
#include <copyfile.h>
#include <pthread.h>



Oddball(Posted 2013) [#4]
Thanks that sorted it. Although I added the include line to the 'main.h' in '/MonkeyPro76a/targets/glfw/template/' which I believe means it's added to every glfw app I compile.