Trying to compile Develop.....again.
-
@d-healey - yeah I get that but where do I set these new locations? and to what values?
Otherwise Im just randomly clicking on enable disable settings and (unsurprisingly) its not getting very far....
So - anyone? Who has built develop with IPP - what are the settings in Projucer?
@orange? Have you built develop branch with IPP enabled?
-
@lindon said in Trying to compile Develop.....again.:
where do I set these new locations?
In the extra header and extra library search paths for debug and release
and to what values?
Check what the values currently are and adjust so that they match the actual locations on your system.
So the current value is c:/intel/ipp but the actual install location is c:/programData/intel/ipp you would update it to match. The error message you posted earlier shows it's looking for
ipp.h
so find where that file is on your system and make sure the extra header path includes that location. -
@lindon said in Trying to compile Develop.....again.:
@orange? Have you built develop branch with IPP enabled?
On Windows 10, I am using the scriptnode version from June 2021, but it works here with IPP enabled.
FYI, I had to update the VS 2017 to version 15.9.36 because it was giving errors.
If your VS2017 version is ok, I think you need to install the ipp into the correct file locations.
-
On Windows 10, I am using the scriptnode version from June 2021, but it works here with IPP enabled.
FYI, I had to update the VS 2017 to version 15.9.36 because it was giving errors.
If your VS2017 version is ok, I think you need to install the ipp into the correct file locations.Exactly..You are right @orange
I use VS 2019 too with Rudra Ghosh (A former user / member) IPP Linker . It works perfect. -
Ok well Im not really getting much further sadly:
- I searched for ipp.h on my c drive, and found it and set up the projucer like this:
but I'm still getting this:
d:\hise\hi_streaming\hi_streaming.h(70): fatal error C1083: Cannot open include file: 'ipp.h': No such file or directory (compiling source file ....\JuceLibraryCode\include_hi_backend.cpp) -
@lindon hold on - ignore me I forgot to put the path in the header search area....
-
@lindon - ok some progress, it seems to compile - but it wont link here are the errors:
1>include_hi_core.obj : error LNK2019: unresolved external symbol ippFree referenced in function "public: virtual __cdecl audiofft::IPP_FFT::~IPP_FFT(void)" (??1IPP_FFT@audiofft@@UEAA@XZ) 1>include_hi_tools.obj : error LNK2001: unresolved external symbol ippFree 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsMalloc_8u referenced in function "private: float * __cdecl fftconvolver::Buffer<float>::allocate(unsigned __int64)" (?allocate@?$Buffer@M@fftconvolver@@AEAAPEAM_K@Z) 1>include_hi_tools.obj : error LNK2001: unresolved external symbol ippsMalloc_8u 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsMalloc_32fc referenced in function "public: virtual void __cdecl audiofft::IPP_FFT::init(unsigned __int64)" (?init@IPP_FFT@audiofft@@UEAAX_K@Z) 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsAdd_32f referenced in function "void __cdecl fftconvolver::Sum(float *,float const *,float const *,unsigned __int64)" (?Sum@fftconvolver@@YAXPEAMPEBM1_K@Z) 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsExp_32f_I referenced in function "public: static void __cdecl icstdsp::VectorFunctions::fexp(float *,int)" (?fexp@VectorFunctions@icstdsp@@SAXPEAMH@Z) 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsLn_32f_I referenced in function "public: static void __cdecl icstdsp::VectorFunctions::logabs(float *,int)" (?logabs@VectorFunctions@icstdsp@@SAXPEAMH@Z) 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsRealToCplx_32f referenced in function "public: virtual void __cdecl audiofft::IPP_FFT::ifft(float *,float const *,float const *)" (?ifft@IPP_FFT@audiofft@@UEAAXPEAMPEBM1@Z) 1>include_hi_core.obj : error LNK2019: unresolved external symbol ippsCplxToReal_32fc referenced in function "public: virtual void __cdecl audiofft::IPP_FFT::fft(float const *,float *,float *)" (?fft@IPP_FFT@audiofft@@UEAAXPEBMPEAM1@Z) 1>include_hi_sampler.obj : error LNK2019: unresolved external symbol ippsThreshold_32f_I referenced in function "public: static double __cdecl hise::ModulatorSamplerVoice::limitPitchDataToMaxSamplerPitch(float *,double,int,int)" (?limitPitchDataToMaxSamplerPitch@ModulatorSamplerVoice@hise@@SANPEAMNHH@Z) 1>include_hi_sampler.obj : error LNK2019: unresolved external symbol ippsSum_32f referenced in function "public: static double __cdecl hise::ModulatorSamplerVoice::limitPitchDataToMaxSamplerPitch(float *,double,int,int)" (?limitPitchDataToMaxSamplerPitch@ModulatorSamplerVoice@hise@@SANPEAMNHH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippMalloc referenced in function "private: bool __cdecl hise::PostGraphicsRenderer::Data::initGaussianBlur(int,float,int,int)" (?initGaussianBlur@Data@PostGraphicsRenderer@hise@@AEAA_NHMHH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippiFilterGaussianGetBufferSize referenced in function "private: bool __cdecl hise::PostGraphicsRenderer::Data::initGaussianBlur(int,float,int,int)" (?initGaussianBlur@Data@PostGraphicsRenderer@hise@@AEAA_NHMHH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippiFilterGaussianInit referenced in function "private: bool __cdecl hise::PostGraphicsRenderer::Data::initGaussianBlur(int,float,int,int)" (?initGaussianBlur@Data@PostGraphicsRenderer@hise@@AEAA_NHMHH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippiFilterBoxBorderGetBufferSize referenced in function "public: void __cdecl hise::PostGraphicsRenderer::boxBlur(int)" (?boxBlur@PostGraphicsRenderer@hise@@QEAAXH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippiFilterBoxBorder_8u_C4R referenced in function "public: void __cdecl hise::PostGraphicsRenderer::boxBlur(int)" (?boxBlur@PostGraphicsRenderer@hise@@QEAAXH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFree referenced in function "public: __cdecl hise::PostGraphicsRenderer::Data::~Data(void)" (??1Data@PostGraphicsRenderer@hise@@QEAA@XZ) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTGetSize_R_32f referenced in function "private: void __cdecl hise::IppFFT::getSizes(int,int &,int &,int &)" (?getSizes@IppFFT@hise@@AEAAXHAEAH00@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTGetSize_C_32fc referenced in function "private: void __cdecl hise::IppFFT::getSizes(int,int &,int &,int &)" (?getSizes@IppFFT@hise@@AEAAXHAEAH00@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTGetSize_R_64f referenced in function "private: void __cdecl hise::IppFFT::getSizes(int,int &,int &,int &)" (?getSizes@IppFFT@hise@@AEAAXHAEAH00@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTGetSize_C_64fc referenced in function "private: void __cdecl hise::IppFFT::getSizes(int,int &,int &,int &)" (?getSizes@IppFFT@hise@@AEAAXHAEAH00@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInit_R_32f referenced in function "private: void __cdecl hise::IppFFT::initSpec(int,unsigned char *,unsigned char *)" (?initSpec@IppFFT@hise@@AEAAXHPEAE0@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInit_C_32fc referenced in function "private: void __cdecl hise::IppFFT::initSpec(int,unsigned char *,unsigned char *)" (?initSpec@IppFFT@hise@@AEAAXHPEAE0@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInit_R_64f referenced in function "private: void __cdecl hise::IppFFT::initSpec(int,unsigned char *,unsigned char *)" (?initSpec@IppFFT@hise@@AEAAXHPEAE0@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInit_C_64fc referenced in function "private: void __cdecl hise::IppFFT::initSpec(int,unsigned char *,unsigned char *)" (?initSpec@IppFFT@hise@@AEAAXHPEAE0@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_CToC_32fc referenced in function "public: void __cdecl hise::IppFFT::complexFFT(float const *,float *,int)const " (?complexFFT@IppFFT@hise@@QEBAXPEBMPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_CToC_32fc referenced in function "public: void __cdecl hise::IppFFT::complexFFTInverse(float const *,float *,int)const " (?complexFFTInverse@IppFFT@hise@@QEBAXPEBMPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_CToC_32fc_I referenced in function "public: void __cdecl hise::IppFFT::complexFFTInplace(float *,int)const " (?complexFFTInplace@IppFFT@hise@@QEBAXPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_CToC_32fc_I referenced in function "public: void __cdecl hise::IppFFT::complexFFTInverseInplace(float *,int)const " (?complexFFTInverseInplace@IppFFT@hise@@QEBAXPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_CToC_64fc_I referenced in function "public: void __cdecl hise::IppFFT::complexFFTInplace(double *,int)const " (?complexFFTInplace@IppFFT@hise@@QEBAXPEANH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_CToC_64fc_I referenced in function "public: void __cdecl hise::IppFFT::complexFFTInverseInplace(double *,int)const " (?complexFFTInverseInplace@IppFFT@hise@@QEBAXPEANH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_RToPerm_32f_I referenced in function "public: void __cdecl hise::IppFFT::realFFTInplace(float *,int)const " (?realFFTInplace@IppFFT@hise@@QEBAXPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_PermToR_32f_I referenced in function "public: void __cdecl hise::IppFFT::realFFTInverseInplace(float *,int)const " (?realFFTInverseInplace@IppFFT@hise@@QEBAXPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_RToPerm_64f_I referenced in function "public: void __cdecl hise::IppFFT::realFFTInplace(double *,int)const " (?realFFTInplace@IppFFT@hise@@QEBAXPEANH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_PermToR_64f_I referenced in function "public: void __cdecl hise::IppFFT::realFFTInverseInplace(double *,int)const " (?realFFTInverseInplace@IppFFT@hise@@QEBAXPEANH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTFwd_RToPerm_32f referenced in function "public: void __cdecl hise::IppFFT::realFFT(float const *,float *,int)const " (?realFFT@IppFFT@hise@@QEBAXPEBMPEAMH@Z) 1>include_hi_tools.obj : error LNK2019: unresolved external symbol ippsFFTInv_PermToR_32f referenced in function "public: void __cdecl hise::IppFFT::realFFTInverse(float const *,float *,int)const " (?realFFTInverse@IppFFT@hise@@QEBAXPEBMPEAMH@Z) 1>D:\HISE\projects\standalone\Builds\VisualStudio2017\x64\Debug\App\\HISE Debug.exe : fatal error LNK1120: 36 unresolved externals 1>Done building project "HISE Standalone_App.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
@lindon Header path is correct but library path isn't.
-
@d-healey OK so I should be looking for (say) ippFree ?
-
@lindon - well not that as theres no match for ippFree on my C drive... any clues?
-
@lindon I'm not sure, what is the path that's set in the default download of HISE from github?
-
@d-healey there's nothing in the extra paths areas:
-
the intel IPP site tells me this:
"
required IPP libraries as additional dependencies (e.g. dynamic link: ippi.lib ipps.lib ippcore.lib or static link: ippimt.lib ippsmt.lib ippcorelmt.lib). All these lib files should be saved in following path by default:
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017..**\windows\ipp\lib<arch>_win
"where _win is Intel64 in this case...so thats what I added - but no change still linker errors...
using this as the add in lib path:
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.4.311\windows\ipp\lib\intel64_win
-
@lindon and its showing up correctly in VS
-
@lindon Try adding the path up to the
\lib
to the extra library paths