sincos_stret


#1

 

Anyone seen this one?
Undefined symbols for architecture x86_64: "___sincos_stret",
 

It's an xcode 5 or mavericks opimization, supposedly defined in the command line tools (Which are installed).  Not sure why the error is coming up (happens whenever I use sin and cos in close proximity).  The error refers to a function that returns a structure for sin and cos (since it's faster to calculate both at the same time, instead of one and then the other).


#2

Have you seen this: http://stackoverflow.com/questions/19015780/sincos-stret-undefined-symbol-when-linking

Rail


#3

 

Yeah.  I actually figured this out last night.  I was using 10.9 as the base SDK, but trying to deploy to 10.8.  So ... the SDK used the function, but then building failed to link for 10.8.