vc examples build error on mac os x
Matthias Kretz
[please enable javascript to see the address]
Fri Jan 17 15:01:31 CET 2014
I have a feeling Khouri and I fixed this before. What Vc branch did you check
out? Could you try 0.8 please? 0.8 is mostly 0.7 but with a bit more freedom
for MacOS and Windows fixes.
Cheers,
Matthias
On Friday 17 January 2014 13:15:21 Tijskens Engelbert wrote:
> dear all
>
> When building the examples the following error comes up
>
> [ 65%] Building CXX object
> examples/polarcoord/CMakeFiles/example_polarcoord_scalar.dir/main.cpp.o In
> file included from
> /Users/etijskens/Downloads/vc-vc/examples/polarcoord/main.cpp:26: In file
> included from /Users/etijskens/Downloads/vc-vc/include/Vc/Vc:22: In file
> included from /Users/etijskens/Downloads/vc-vc/include/Vc/vector.h:26: In
> file included from /Users/etijskens/Downloads/vc-vc/scalar/vector.h:495:
> /Users/etijskens/Downloads/vc-vc/scalar/math.h:77:7: error: no member named
> 'sincos' in the global namespace; did you mean '__sincos'?
> ::sincos(x.data(), &sin->data(), &cos->data());
>
> ~~^~~~~~
> __sincos
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develop
> er/SDKs/MacOSX10.9.sdk/usr/include/math.h:647:29: note: '__sincos' declared
> here __header_always_inline void __sincos(double __x, double *__sinp,
> double *__cosp) {
>
> After replacing sincos with __sincos as suggested, everything builds fine,
> but maybe this breaks the code on other systems
>
> i am compiling on a machine with Intel® Core™ i7-3615QM Processor and Mac OS
> X (maverick) using the clang 5.0 compiler.
>
> kindest regards,
> bert
--
─────────────────────────────────────────────────────────────
Dipl.-Phys. Matthias Kretz
Web: http://compeng.uni-frankfurt.de/?mkretz
SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc
─────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://compeng.uni-frankfurt.de/pipermail/vc/attachments/20140117/fc5a8883/attachment.pgp>
More information about the Vc
mailing list