building supertuxkart on mac os x --- Help please

building supertuxkart on mac os x --- Help please

Postby badab » 04 Jul 2011, 10:24

Hi everyone,

I'm trying to build and run SupertuxKart on Mac os x using xCode, I downloaded the latest dev version ( Revision 9153 ). I added the frameworks to the xCode project and I could build it with no errors but then when it goes to run the application I get some warnings and an error related to fribidi framework. Here is a copy of the output :

GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".
tty /dev/ttys000
warning: Unable to read symbols for @executable_path/../Frameworks/fribidi.framework/Versions/A/fribidi (file not found).
warning: Unable to read symbols from "fribidi" (not yet mapped into memory).
warning: Unable to read symbols for @executable_path/../Frameworks/IrrFramework.framework/Versions/A/IrrFramework (file not found).
warning: Unable to read symbols from "IrrFramework" (not yet mapped into memory).
warning: Unable to read symbols for @executable_path/../Frameworks/Vorbis.framework/Versions/A/Vorbis (file not found).
warning: Unable to read symbols from "Vorbis" (not yet mapped into memory).
warning: Unable to read symbols for @executable_path/../Frameworks/Ogg.framework/Versions/A/Ogg (file not found).
warning: Unable to read symbols from "Ogg" (not yet mapped into memory).
[Switching to process 2040 thread 0x0]
dyld: Library not loaded: @executable_path/../Frameworks/fribidi.framework/Versions/A/fribidi
Referenced from: /Users/Adam/Library/Developer/Xcode/DerivedData/STK_XCode-hhhhesnoxycumyamxssvkamtfaxw/Build/Products/Debug/SuperTuxKart.app/Contents/MacOS/SuperTuxKart
Reason: image not found

sharedlibrary apply-load-rules all
No memory available to program now: unsafe to call malloc
kill
Program ended with exit code: 0

I was thinking that it some problem whit the headers search path but I'v already added the path " /Developer/Library/Frameworks/fribidi.framework/Headers.

Hope to have some help soon thank you :)
badab
 
Posts: 2
Joined: 04 Jul 2011, 09:59

Re: building supertuxkart on mac os x --- Help please

Postby Kinsu » 04 Jul 2011, 17:49

Hi !

Those error messages are never understandable... I can't help you a lot with that.

Maybe this forum answer can help you (source) :
Try deleting the frameworks from the project and from the resourse folder. (both) then clean the project. Add the framework again and add the copy files phase "frameworks" to your target and add it there as well.


I also found some similar problems here and there. Seems to be related to the xCode project (not really a surprise though...).
User avatar
Kinsu
 
Posts: 476
Joined: 15 Mar 2011, 14:28

Re: building supertuxkart on mac os x --- Help please

Postby Auria » 05 Jul 2011, 02:27

Hi,

the frameworks you can download from our website are not to be added into the Xcode project; they are already there. What you need to do is install the frameworks to /Library/Frameworks ; see http://supertuxkart.sourceforge.net/Bui ... ing_on_OSX
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: No registered users and 1 guest

cron