Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Linkage problems with IPP in matlab

thorant
Beginner
247 Views
Hi!

I am compiling mex files using matlabs lcc compiler. All files compile sucesfully, but the linking breaks. It complains about undefined reference to all IPP functions I have used. I have only used those in the ipps part, i.e signal processing. I have inlcluded the switch -L"C:Program...ia32stublib" -libpath"C:Program...ia32stublib" and added ipps.lib to the list of files to link with. Do any of you have any clues to why the linker is not finding the symbols to link with?

Thanks for any help

Thor Andreas
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
247 Views

Hi Andreas,

you can't use Win32 libraries directly for MEX files. The special wrapper is required, please refer to MATLAB documentation how to call functions from DLL in MATLAB

Regards,
Vladimir

0 Kudos
Reply