Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Installing Gosu on Mac with Ruby 1.9.3
- - By jsungholee Date 2013-07-24 13:05
I am getting an error of

/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h:57: error: expected `;' before ‘AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8’

and a bunch of other errors but the most important part (I think?) is the deprecated part. Does this mean that I am unable to use Gosu on my 10.8 Macbook?

As an aside, I do have the xcode command line tools installed.
Parent - By jlnr (dev) Date 2013-07-24 18:30
Seems related to- https://github.com/jlnr/gosu/issues/180

Do you have any other compilers installed (beside Xcode's command line tools)? The only explanation for this error would be a non-Apple compiler which chokes on Apple's API versioning.
Parent - By allcaps Date 2013-07-25 03:07
I know this isn't directly related the issue at hand, but if you use Jewelerybox to install Ruby 1.9.3, and then install the gosu gem via it's gemset manager, it will install correctly so long as the newest Xcode/cmd tools are installed and you tell Jewelerybox to use clang when it is installing Ruby 1.9.3

This is probably preferred to trying to upgrade/replace the system Ruby, as Jewlerybox installs it RVM-style.
Up Topic Gosu / Gosu Exchange / Installing Gosu on Mac with Ruby 1.9.3

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill