Community
cancel
Showing results for 
Search instead for 
Did you mean: 
thorant
Beginner
70 Views

Linkage problems with IPP in matlab

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
70 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