Mac compile errors and warnings
by James · in Torque Game Engine · 07/14/2006 (1:50 pm) · 2 replies
Just when you think you've heard the last of it...
I've been trying to compile a stock version of the Torque TLK 1.4 with no success yet. I've read the forums and I THINK I've done everything correctly but no.
System:
PowerPC
Mac OS 10.4.7
Xcode 2.2
Xcode project:
torque_xcode_2_1
Errors:
Sample output:
and finally:
Sample output
I have made sure my folder has no spaces (as you can see from the output above).
I've run the fix frameworks script.
What am I missing?
Thanks in advance.
I've been trying to compile a stock version of the Torque TLK 1.4 with no success yet. I've read the forums and I THINK I've done everything correctly but no.
System:
PowerPC
Mac OS 10.4.7
Xcode 2.2
Xcode project:
torque_xcode_2_1
Errors:
Command/Developer/Private/jam failed with exit code 1(sound familiar?)
Sample output:
cd /Volumes/Milly/torqueEngine/torqueLightingKit/pb setenv ASCII_OUTPUT_ANNOTATION YES setenv ENABLE_APPLE_JAM_EXTENSIONS YES setenv ENABLE_APPLE_JAM_OUTPUT_ANNOTATION YES setenv GROUP jamesallan setenv MACOSX_DEPLOYMENT_TARGET 10.3 setenv NATIVE_ARCH ppc <snip><edit for brevity>
and finally:
Undefined symbols
Sample output
/usr/bin/ld: warning prebinding disabled because of undefined symbols /usr/bin/ld: Undefined symbols: sgLightingFilter::sgRenderAllowedObjects(void*) SceneObject::installLights() SceneObject::uninstallLights() ShapeBase::renderShadow(float, float) WheeledVehicle::renderShadow(float, float) <snip><edit for brevity>
I have made sure my folder has no spaces (as you can see from the output above).
I've run the fix frameworks script.
What am I missing?
Thanks in advance.
#2
I actually have it compiling now using the older Xcode project simply by updating it and working through the few compile errors that popped up. Pretty straight forward. I'm really starting to get the hang of Xcode now which has been the biggest stumbling block.
I'll go through the DG and work through that next.
Thanks John for the quick response :)
Cheers
07/14/2006 (5:34 pm)
RTFM... figures ;)I actually have it compiling now using the older Xcode project simply by updating it and working through the few compile errors that popped up. Pretty straight forward. I'm really starting to get the hang of Xcode now which has been the biggest stumbling block.
I'll go through the DG and work through that next.
Thanks John for the quick response :)
Cheers
Torque Owner John Kabus (BobTheCBuilder)
You need to add the TLK source files to the Xcode 2.x project. The Developer's Guide covers how to do this and which files to add.
The TLK 1.4 release supports both Xcode 1.x and 2.x, but only the 1.x project file is up to date. We're in the process of migrating to 2.x and should support it out of the box in the next release instead of 1.x.