How to compile Torque Game Builder in xcode
by Eyaly · in iTorque 2D · 12/30/2009 (9:21 am) · 22 replies
Hi,
Im trying to compile the Torque Game Builder ( the builder one /Application../../Compilers/xcode )
and i get this error:
error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'
so i go Group&Files->Torque2D Get Info
then i set Base Sdk to Mac OS x 10.6 and hit build.
build end with 671 errors and 193 warnings.
please help
Im trying to compile the Torque Game Builder ( the builder one /Application../../Compilers/xcode )
and i get this error:
error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'
so i go Group&Files->Torque2D Get Info
then i set Base Sdk to Mac OS x 10.6 and hit build.
build end with 671 errors and 193 warnings.
please help
About the author
#2
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file jcapimin.c)
any idea?
12/30/2009 (11:20 am)
I reinstall the xcode with the 10.4 sdk and now i get this error:GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file jcapimin.c)
any idea?
#3
12/30/2009 (1:22 pm)
"Get Info" on the project and change the "Compiler Version" setting to GCC 4.0. As the error message says, 4.2 is not compatible with the 10.4 SDK.
#4
this is what i see:
under build tab in Project info i can see:
GCC 4.2 - Code Generation
|
--->Enable SSE3 Extensions
i can only add/delete/edit the "Enable SSE3..." but not the GCC 4.2 ....
can you tell me how to do it please?
12/30/2009 (1:40 pm)
This is what im trying to do but i cant see any option to change from gcc 4.2 to 4.0this is what i see:
under build tab in Project info i can see:
GCC 4.2 - Code Generation
|
--->Enable SSE3 Extensions
i can only add/delete/edit the "Enable SSE3..." but not the GCC 4.2 ....
can you tell me how to do it please?
#5
12/30/2009 (1:46 pm)
In the Xcode version I'm using, it's in the "Compiler Version" group, between the "Code Signing" and "Deployment" groups.
#6
i can see that option from withing the xcode_iphone project but not the
source under XCODE folder.
12/30/2009 (2:16 pm)
iv seen this option before but not in this project.i can see that option from withing the xcode_iphone project but not the
source under XCODE folder.
#7
to build TGB and TGBGame for osx you must use the xcode project in the other compiler folder.
12/30/2009 (3:23 pm)
xcode_iphone will only build the iphone binary. you can not build anything but an iphone binary with it.to build TGB and TGBGame for osx you must use the xcode project in the other compiler folder.
#8
I'm not sure but I read somewhere on forum about problems to compile on Snow Leopard
12/30/2009 (3:55 pm)
I think there problem come from Snow leopard. Just find Mac with Leopard 10.5.8 and try to compile. I'm not sure but I read somewhere on forum about problems to compile on Snow Leopard
#9
12/30/2009 (4:08 pm)
I am on 10.6 actually, no problem here after XCode is installed with 10.4 SDK enabled and if the xcode project is beeing used, not the xcode_iphone one to generate an osx app (the xcode one contains TGB and TGBGame as targets, both in release and debug)
#10
but cant compile it.
i really really need some help please how to takle this problem.
can you please tell me how to do?
Thanks
12/30/2009 (4:14 pm)
My XCode is already installed with 10.4 sdk enabled but cant compile it.
i really really need some help please how to takle this problem.
can you please tell me how to do?
Thanks
#11
Go to tab general, select "base sdk for all configurations" dropdown and choose Mac OSX 10.4
Then go to the build tab.
Select all configurations again in the dropdown right at the top left
then look at the bottom of the currently visible settings area, you will see a folding "Compiler Version" there. Switch it to GCC 4.0
Close the settings
build and enjoy :)
12/30/2009 (5:48 pm)
Open the XCode project (not the xcode_iphone), open the project settings.Go to tab general, select "base sdk for all configurations" dropdown and choose Mac OSX 10.4
Then go to the build tab.
Select all configurations again in the dropdown right at the top left
then look at the bottom of the currently visible settings area, you will see a folding "Compiler Version" there. Switch it to GCC 4.0
Close the settings
build and enjoy :)
#12
i dont see this option the only thing i can see that relate to GCC is this part:
GCC 4.2 - Code Generation <-- THIS IS SECTION ( CANT BE CHANGED )
|
-->Enable SSE3 Extensions <-- THIS IS KEY/PAIR under the GCC 4.2 - Code Generation SECTION.
Again my system is:
Mac OS X 10.6.2 Snow Leopard
XCode: 3.2.1
Any thing else i can try?
12/30/2009 (6:34 pm)
Something really wierd here because i cant switch to gcc 4.0.i dont see this option the only thing i can see that relate to GCC is this part:
GCC 4.2 - Code Generation <-- THIS IS SECTION ( CANT BE CHANGED )
|
-->Enable SSE3 Extensions <-- THIS IS KEY/PAIR under the GCC 4.2 - Code Generation SECTION.
Again my system is:
Mac OS X 10.6.2 Snow Leopard
XCode: 3.2.1
Any thing else i can try?
#14
12/30/2009 (9:32 pm)
on that screenshot you also see the base sdk entry in Architectures. Thats where you need to have Mac OS X 10.4
#15
12/30/2009 (10:43 pm)
Note that if you don't actually have a PPC system you also need to run it on, you can skip that and say goodbye to the 10.4 in the first place. Then tick "Build Active Architecture Only" or change "Valid Architectures" to only i386.
#16
TGB will not build for 10.5 and 10.6 SDKs at all.
Blame apple for that as they are killing core functionality, rename them or change their declarations "just for fun" for developers
12/31/2009 (10:22 am)
Actually you can not skip 10.4TGB will not build for 10.5 and 10.6 SDKs at all.
Blame apple for that as they are killing core functionality, rename them or change their declarations "just for fun" for developers
#17
but i already saw it in other engine. ( i think in cocos2d )
any way at the moment i give up iTGB and test unity3d to see if this engine
are good or not for me.
shame i cant get my money back of product i cant use.
i hope garage game will fix the problem soon so i can enjoy their engine.
at the moment UNITY3D look very sexi.
Thank you all for help.
12/31/2009 (10:55 am)
The option of "Compiler Version" not apear in my project at allbut i already saw it in other engine. ( i think in cocos2d )
any way at the moment i give up iTGB and test unity3d to see if this engine
are good or not for me.
shame i cant get my money back of product i cant use.
i hope garage game will fix the problem soon so i can enjoy their engine.
at the moment UNITY3D look very sexi.
Thank you all for help.
#18
sure its not just bound to the tab beeing folded in?
you can search for compiler version in the dropdown above
12/31/2009 (10:57 am)
very strange, that option exists on any version of XCode and independent if they are desktop or iphone projects ...sure its not just bound to the tab beeing folded in?
you can search for compiler version in the dropdown above
#20
11/14/2011 (3:32 am)
even after converting to GCC 4.0, I get this error: LLVM GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file t2dBaseDatablock.cc) for most of .cc files.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
If you do that it will all work.
you can not compile TGB for 10.5 / 10.6 sdk