- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear IPP Users:
I got error LNK2019: unresolved external symbol ippiMean_16u_C1MR when I use ippiMean to calculate mean in a ROI with mask data. Here is my code:
#include "ippcv.h"
#include "ippi.h"
Ipp64f IppMean( const Ipp16u* pSrc, const Ipp8u* pMask, int roiWidth, int roiHeight ) { Ipp64f mean; Ipp16u* pDst = (Ipp16u*)malloc(sizeof(Ipp16u)*roiWidth*roiHeight); IppiSize roi = {roiWidth,roiHeight}; ippiSet_16u_C1MR(1, pDst, roiWidth, roi, pMask,roiWidth ); ippiMean_16u_C1MR( pSrc, roiWidth, pMask, roiWidth, roi, &mean); free(pDst); return mean; }
I have
1. included the ipp/intel64/inlcude in my project
2. added ippcore.lib, ippvm.lib, ipps.lib, ippi.lib in my input library in my project
3. linked ipp/intel64/dll in my projection as addtional library.
I don't understand, and I think it should work. Anyone can give me some suggestions where I did wrong, and how I should correct it? Thanks.
Nick
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please add ippcv.lib where these symbols are defined,

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