error LNK2019: unresolved external symbol ippiMean_16u_C1MR

error LNK2019: unresolved external symbol ippiMean_16u_C1MR

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

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

please add ippcv.lib where these symbols are defined,

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui