Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Upgrading from older Gosu to Gosu 7.47
- - By Maverick Date 2015-03-04 19:29
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.
Parent - - By jlnr (dev) Date 2015-03-07 07:09
There is no Gosu.framework 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 gnu11 standard and libc++ (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 and adding /usr/local/opt/boost149/include to my target's header search paths did the trick.
Parent - - By Maverick Date 2015-03-11 03:31
Thanks for the response! I followed the wiki and I'm compiling with one error:
"ld: library not found for -lPods-Gosu"
Parent - By jlnr (dev) Date 2015-03-17 04:59
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 :)
Up Topic Gosu / Gosu Exchange / Upgrading from older Gosu to Gosu 7.47

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill