Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Linkage problems with IPP in matlab

thorant
Beginner
114 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
114 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

Reply