Hi All,
I am sure this is a really stupid question but if anyone can tell me what I might be doing wrong, I'd be really greatful.
I am using Xcode to try and compile an example included in a SDK. The sdk only uses one .a static library file and one header file.
Included is another .h file that "(no need to directly include this)"
In Xcode I made a C++ 'Command Line Utility'. The Build Config is set to 1386 archiotecture and Mac OS X 10.4 Base SDK.
It seems to me that it compiles ok but in the link phase I get the error message:
-------------------------------------------------------------------------------
Undefined symbols:
"_MPProcessors", referenced from:
REDCORE:AL::GetNumberOfProcessors() in R3DSDKv1.a(R3DSDKv1.a-i386-master.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
-------------------------------------------------------------------------------
But I can't find any of the above in the .h file or the short .cpp file.
Would anyone be able to guess what might be going on here?
cheers
fred
I am sure this is a really stupid question but if anyone can tell me what I might be doing wrong, I'd be really greatful.
I am using Xcode to try and compile an example included in a SDK. The sdk only uses one .a static library file and one header file.
Included is another .h file that "(no need to directly include this)"
In Xcode I made a C++ 'Command Line Utility'. The Build Config is set to 1386 archiotecture and Mac OS X 10.4 Base SDK.
It seems to me that it compiles ok but in the link phase I get the error message:
-------------------------------------------------------------------------------
Undefined symbols:
"_MPProcessors", referenced from:
REDCORE:AL::GetNumberOfProcessors() in R3DSDKv1.a(R3DSDKv1.a-i386-master.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
-------------------------------------------------------------------------------
But I can't find any of the above in the .h file or the short .cpp file.
Would anyone be able to guess what might be going on here?
cheers
fred