I have a game I'd like to finish with Gosu. I started the project back with Xcode 4 and now I am on Xcode 6.
I'm getting x86_64 architecture problems when not supporting C++11 where symbols are not defined. However I have added the Gosu Framework into my necessary Build Phases. When I do support C++11, I receive compiler problems (not C++11 syntax, wrong delimiters, etc...).
I've cleaned and rebuilt the project numerous times under different compiler settings, but no avail. Still linker and builder problems.
There is no
anymore. Can you please follow this guide and set up Gosu using CocoaPods: https://github.com/jlnr/gosu/wiki/Getting-Started-on-OS-X
It's a bit unusual for a C++ project, but it has been working pretty well for me. My deployment target is 10.7, I use the
(which is sadly incompatible with OS X 10.6.8 and below).
The biggest pain point was finding a version of boost that works.
brew install boost149
to my target's header search paths did the trick.
Thanks for the response! I followed the wiki and I'm compiling with one error:
"ld: library not found for -lPods-Gosu"
Sorry for the slow response. I've just gone through the steps and they work for me, but it is important to open the newly created
.xcworkspace file, not the
.xcodeproj. If I try to compile the latter, I receive the same error.
What CocoaPods does is essentially create a new
.xcodeproj for Gosu, and link it together with your project in the
.xcworkspace file. HTH :)
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill