http://www.freeorion.org/index.php/Compile_In_MacOsX
Now the requisite information for the XCode Project settings
And my own system:ADDITIONAL_SDKS =
ARCHS = i386
SDKROOT = macosx10.4
ONLY_ACTIVE_ARCH = YES
VALID_ARCHS = i386 ppc ppc64 ppc7400 ppc970 x86_64
GCC_VERSION = 4.0
MACOSX_DEPLOYMENT_TARGET = 10.6
Active Target: FreeOrion
Active Executable: FreeOrion
The error I'm getting on compile has to do with placeholder (template) classes in AppInterface.cpp. Specifically:
Model Name: MacBook Pro
Model Identifier: MacBookPro8,2
Processor Name: Intel Core i7
Processor Speed: 2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 4 GB
System Version: Mac OS X 10.6.8 (10K549)
Kernel Version: Darwin 10.8.0
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: Yes
Applications:
Xcode: 3.2.6 (1761)
Interface Builder: 3.2.6 (851)
Instruments: 2.7 (3017)
Dashcode: 3.0.2 (333)
SDKs:
Mac OS X:
10.4: (8S2167)
10.5: (9L31a)
10.6: (10M2518)
My understanding of templates in C++ is not perfect, but something (probably in my settings) is causing the compiler to interpret '<' as a less-than token rather than as a template identifier. What am I missing?#ifdef FREEORION_BUILD_SERVER
return GetUniverse().Objects().Object<T>(object_id); [!] expected primary-expression before '<' token
Cheers, and Thanks