- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page