FIAS . Impressum . Privacy

Vc 0.7 on OS X 10.9 - Link error: Undefined symbol

Sandro Wenzel [please enable javascript to see the address]
Sat Nov 22 09:36:04 CET 2014


Hi,

I think you simply forgot to add the library: -lVc  to the compilation
flags.

Best

Sandro

[please enable javascript to see the address]>:

> Building Vc 0.7’s examples/matrix/main.cpp with:
>
> clang -std=gnu++11 -Wc++11-extensions -I/opt/Vc/include -L/opt/Vc/lib
> main.cpp
>
> I get the following error:
>
> Undefined symbols for architecture x86_64:
>   "Vc::v0::Common::checkLibraryAbi(unsigned int, unsigned int, char
> const*)", referenced from:
>       Vc::v0::Common::(anonymous
> namespace)::runLibraryAbiCheck::runLibraryAbiCheck() in main-253bd0.o
> ld: symbol(s) not found for architecture x86_64
>
> Can anyone suggest what might be wrong?
>
> Thanks.
>
> Herk
> _______________________________________________
> Vc mailing list
>[please enable javascript to see the address]
> https://compeng.uni-frankfurt.de/mailman/listinfo/vc
>



-- 
Dr. Sandro Wenzel
PH / SFT
CERN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://compeng.uni-frankfurt.de/pipermail/vc/attachments/20141122/5b25c815/attachment.html>


More information about the Vc mailing list
FIAS . Impressum . Privacy