Coin @3.1.3 build failure on OS X 10.9 / Xcode 5.02

Mark Brethen mark.brethen at gmail.com
Thu Jun 19 19:16:06 PDT 2014


On Jun 19, 2014, at 9:07 PM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Thu, Jun 19, 2014 at 9:45 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> I am getting this runtime error:
> 
> :info:build 11 errors generated.
> 
> This is remarkable precision in starting your log snippet *right after* the useful errors. :/ It even tells us you chopped off 11 error messages!
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

You mean this? 

:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:679:86: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       acos(float __x) _NOEXCEPT       {return acosf(__x);}
:info:build                                                                                      ^
:info:build ../../include/Inventor/C/base/math-undefs.h:54:18: note: expanded from macro 'acosf'
:info:build #define acosf(x) NO_SINGLEPREC
:info:build                  ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:694:86: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       asin(float __x) _NOEXCEPT       {return asinf(__x);}
:info:build                                                                                      ^
:info:build ../../include/Inventor/C/base/math-undefs.h:56:18: note: expanded from macro 'asinf'
:info:build #define asinf(x) NO_SINGLEPREC
:info:build                  ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:709:86: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       atan(float __x) _NOEXCEPT       {return atanf(__x);}
:info:build                                                                                      ^
:info:build ../../include/Inventor/C/base/math-undefs.h:58:18: note: expanded from macro 'atanf'
:info:build #define atanf(x) NO_SINGLEPREC
:info:build                  ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:724:116: error: too many arguments provided to function-like macro invocation
:info:build inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __y, float __x) _NOEXCEPT             {return atan2f(__y, __x);}
:info:build                                                                                                                    ^
:info:build ../../include/Inventor/C/base/math-undefs.h:60:9: note: macro 'atan2f' defined here
:info:build #define atan2f(x) NO_SINGLEPREC
:info:build         ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:724:104: error: cannot initialize return object of type 'float' with an lvalue of type 'float (float, float)'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __y, float __x) _NOEXCEPT             {return atan2f(__y, __x);}
:info:build                                                                                                        ^~~~~~
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:765:85: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       cos(float __x) _NOEXCEPT       {return cosf(__x);}
:info:build                                                                                     ^
:info:build ../../include/Inventor/C/base/math-undefs.h:44:17: note: expanded from macro 'cosf'
:info:build #define cosf(x) NO_SINGLEPREC /* whatever that'll give us a compile error... */
:info:build                 ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:949:112: error: too many arguments provided to function-like macro invocation
:info:build inline _LIBCPP_INLINE_VISIBILITY float       pow(float __x, float __y) _NOEXCEPT             {return powf(__x, __y);}
:info:build                                                                                                                ^
:info:build ../../include/Inventor/C/base/math-undefs.h:50:9: note: macro 'powf' defined here
:info:build #define powf(x) NO_SINGLEPREC
:info:build         ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:949:102: error: cannot initialize return object of type 'float' with an lvalue of type 'float (float, float)'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       pow(float __x, float __y) _NOEXCEPT             {return powf(__x, __y);}
:info:build                                                                                                      ^~~~
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:976:85: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       sin(float __x) _NOEXCEPT       {return sinf(__x);}
:info:build                                                                                     ^
:info:build ../../include/Inventor/C/base/math-undefs.h:46:17: note: expanded from macro 'sinf'
:info:build #define sinf(x) NO_SINGLEPREC
:info:build                 ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1008:86: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       sqrt(float __x) _NOEXCEPT       {return sqrtf(__x);}
:info:build                                                                                      ^
:info:build ../../include/Inventor/C/base/math-undefs.h:52:18: note: expanded from macro 'sqrtf'
:info:build #define sqrtf(x) NO_SINGLEPREC
:info:build                  ^
:info:build In file included from SbTime.cpp:42:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:1024:85: error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float       tan(float __x) _NOEXCEPT       {return tanf(__x);}
:info:build                                                                                     ^
:info:build ../../include/Inventor/C/base/math-undefs.h:48:17: note: expanded from macro 'tanf'
:info:build #define tanf(x) NO_SINGLEPREC
:info:build                 ^


Mark






More information about the macports-users mailing list