architecture i386; linker command failed; MacOS(highSierra)
-
Hey Guys,
i´m new to Hise and a total newbie in programming....Since 3 days im trying to export a Vst/Au plugin with integrated IPP....
I have installed the Intel Ipp thing and Xcode, Xpretty and Visual studio(2017) are already installed too.
Every time i try to export i get these Error message:
▸ Linking PianoSAMmini
️ ld: ignoring file /opt/intel/ipp/lib/libippi.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippi.a
️ ld: ignoring file /opt/intel/ipp/lib/libipps.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libipps.a
️ ld: ignoring file /opt/intel/ipp/lib/libippcore.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippcore.a
️ ld: ignoring file /opt/intel/ipp/lib/libippvm.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippvm.aUndefined symbols for architecture i386
Symbol: _ippsSum_32f
Referenced from: hise::ModulatorSamplerVoice::calculateBlock(int, int) in lto.old: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/PianoSAMmini.build/Release/PianoSAMmini\ -\ VST.build/Objects-normal/i386/PianoSAMmini normal i386
(1 failure)
Compiling finished. Cleaning up...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Maybe someone can help me?
Greets & thanks!!!!
Tobi
-
same. so what we cant use IPP with mac?
-
This post is deleted! -
having similar issue,
im trying to compile a fresh hise build.
im using the latest IPP,2019 update 3
all sdks are in place, using master branch.please help :) thanks!
ld: warning: ld: warning: ignoring file /opt/intel/ipp/lib/libipps.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libipps.a ignoring file /opt/intel/ipp/lib/libippcore.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippcore.a ld: warning: ignoring file /opt/intel/ipp/lib/libippvm.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippvm.a ld: warning: ignoring file /opt/intel/ipp/lib/libippi.a, file was built for archive which is not the architecture being linked (i386): /opt/intel/ipp/lib/libippi.a Undefined symbols for architecture i386: "_ippFree", referenced from: audiofft::IPP_FFT::init(unsigned long) in include_hi_core.o audiofft::IPP_FFT::~IPP_FFT() in include_hi_core.o fftconvolver::Buffer<float>::deallocate(float*) in include_hi_core.o hise::IppFFT::Buffer::setSize(unsigned int) in include_hi_tools.o hise::IppFFT::Buffer::~Buffer() in include_hi_tools.o hise::IppFFT::Buffer::releaseData() in include_hi_tools.o "_ippInit", referenced from: _WDL_fft_init in include_hi_modules.o "_ippsAdd_32f", referenced from: fftconvolver::Sum(float*, float const*, float const*, unsigned long) in include_hi_core.o "_ippsCplxToReal_32fc", referenced from: audiofft::IPP_FFT::fft(float const*, float*, float*) in include_hi_core.o "_ippsExp_32f_I", referenced from: icstdsp::VectorFunctions::fexp(float*, int) in include_hi_core.o "_ippsFFTFwd_CToC_32fc", referenced from: hise::IppFFT::complexFFT(float const*, float*, int) const in include_hi_tools.o "_ippsFFTFwd_CToC_32fc_I", referenced from: hise::IppFFT::complexFFTInplace(float*, int) const in include_hi_tools.o "_ippsFFTFwd_CToC_64fc_I", referenced from: hise::IppFFT::complexFFTInplace(double*, int) const in include_hi_tools.o "_ippsFFTFwd_RToPerm_32f", referenced from: hise::IppFFT::realFFT(float const*, float*, int) const in include_hi_tools.o "_ippsFFTFwd_RToPerm_32f_I", referenced from: hise::IppFFT::realFFTInplace(float*, int) const in include_hi_tools.o "_ippsFFTFwd_RToPerm_64f_I", referenced from: hise::IppFFT::realFFTInplace(double*, int) const in include_hi_tools.o "_ippsFFTGetSize_C_32fc", referenced from: hise::IppFFT::getSizes(int, int&, int&, int&) in include_hi_tools.o "_ippsFFTGetSize_C_64fc", referenced from: hise::IppFFT::getSizes(int, int&, int&, int&) in include_hi_tools.o "_ippsFFTGetSize_R_32f", referenced from: hise::IppFFT::getSizes(int, int&, int&, int&) in include_hi_tools.o "_ippsFFTGetSize_R_64f", referenced from: hise::IppFFT::getSizes(int, int&, int&, int&) in include_hi_tools.o "_ippsFFTInit_C_32fc", referenced from: hise::IppFFT::initSpec(int, unsigned char*, unsigned char*) in include_hi_tools.o "_ippsFFTInit_C_64fc", referenced from: hise::IppFFT::initSpec(int, unsigned char*, unsigned char*) in include_hi_tools.o "_ippsFFTInit_R_32f", referenced from: hise::IppFFT::initSpec(int, unsigned char*, unsigned char*) in include_hi_tools.o "_ippsFFTInit_R_64f", referenced from: hise::IppFFT::initSpec(int, unsigned char*, unsigned char*) in include_hi_tools.o "_ippsFFTInv_CToC_32fc", referenced from: hise::IppFFT::complexFFTInverse(float const*, float*, int) const in include_hi_tools.o "_ippsFFTInv_CToC_32fc_I", referenced from: hise::IppFFT::complexFFTInverseInplace(float*, int) const in include_hi_tools.o "_ippsFFTInv_CToC_64fc_I", referenced from: hise::IppFFT::complexFFTInverseInplace(double*, int) const in include_hi_tools.o "_ippsFFTInv_PermToR_32f", referenced from: hise::IppFFT::realFFTInverse(float const*, float*, int) const in include_hi_tools.o "_ippsFFTInv_PermToR_32f_I", referenced from: hise::IppFFT::realFFTInverseInplace(float*, int) const in include_hi_tools.o "_ippsFFTInv_PermToR_64f_I", referenced from: hise::IppFFT::realFFTInverseInplace(double*, int) const in include_hi_tools.o "_ippsLn_32f_I", referenced from: icstdsp::VectorFunctions::logabs(float*, int) in include_hi_core.o "_ippsMalloc_32fc", referenced from: audiofft::IPP_FFT::init(unsigned long) in include_hi_core.o "_ippsMalloc_8u", referenced from: fftconvolver::Buffer<float>::allocate(unsigned long) in include_hi_core.o hise::IppFFT::Buffer::setSize(unsigned int) in include_hi_tools.o "_ippsRealToCplx_32f", referenced from: audiofft::IPP_FFT::ifft(float*, float const*, float const*) in include_hi_core.o "_ippsSum_32f", referenced from: hise::ModulatorSamplerVoice::limitPitchDataToMaxSamplerPitch(float*, double, int, int) in include_hi_sampler.o "_ippsThreshold_32f_I", referenced from: hise::ModulatorSamplerVoice::limitPitchDataToMaxSamplerPitch(float*, double, int, int) in include_hi_sampler.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
-
figured it out, I was building for universal 32/64 bit, had to select "standard architecture 64 bit"