Build error on OSX [10.8]

Build error on OSX [10.8]

Postby SuperMat » 13 Oct 2013, 16:45

Hi all,

Today I tried to build SuperTuxKart on my Mac using Xcode 5. The first time I tried, it was giving an linking error that Ogg.framework is not installed. But it was installed.
Then I updated the DepsFrameworks. There is no IrrFramework and Xcode gives me an "irrString.h file not found"-error. I think Xcode is not building Irrlicht while building STK.
In CMake, there are errors with CIrrDeviceMacOSX.mm, so that the build fails. :(

Best regards,
SuperMat
OS: Arch Linux/OS X Yosemite (10.10)
IRC: mt/mteufel @ freenode
SuperMat
 
Posts: 51
Joined: 20 Jan 2012, 19:19
Location: /home/mteufel

Re: Build error on OSX [10.8]

Postby Auria » 14 Oct 2013, 01:32

Hi,

I do not have Xcode 5 so it will be a little hard to help.
Maybe you can share the errors you get when using CMake, this is now the preferred way to build.

I suspect it complains about a line that says "@try {", this is an unresolved problem I haven't been able to tackle. But it's easy to workaround, for now suffices to open the offending file, comment out or remove the "@try" line, and below comment out or remove the block starting with "@catch {" until the corresponding "}"
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Build error on OSX [10.8]

Postby SuperMat » 14 Oct 2013, 17:07

Hi,

thank you for helping. It works with this fix when I compile STK with cmake.
STK is such a great software.

Best regards,
SuperMat
OS: Arch Linux/OS X Yosemite (10.10)
IRC: mt/mteufel @ freenode
SuperMat
 
Posts: 51
Joined: 20 Jan 2012, 19:19
Location: /home/mteufel

Who is online

Users browsing this forum: No registered users and 1 guest