clang linker error: symbols not found for architecture x86_64
Mac OSX 10.10 Yosemite
XCode 6.3.2
Intel IPP 2015
(Qt 5.4.2, IDE is Qt Creator)
I try to link statically the project depends on Intel IPP lib. In the dynamic linking case, everything is fine. But in static case I receive this error:
symbol(s) not found for architecture x86_64
linker command failed with exit code 1 (use -v to see invocation)
I am sure that the libs contain the necessary architecture:
lipo -info /opt/intel/ipp/lib/libipps.a
Architectures in the fat file: /opt/intel/ipp/lib/libipps.a are: i386 x86_64
The part of my .pro file:
LIBS += /opt/intel/ipp/lib/libipps.a\
/opt/intel/ipp/lib/libippcore.aINCLUDEPATH += /opt/intel/ipp/include\
/usr/local/include\
/opt/intel/ipp/tools/intel64/staticlib
What should I do?