I follow the documentation at
http://support.intel.com/support/performancetools/libraries/ipp/win/ia/sb/cs-014993.htm
But find some difference between the document and my environment.(I
know it may owing to some version difference)
My IPP version is 4.1. with eVC 4.0
Let me explain the difference between the documentation and my
environment:
the documentation says at 7. you would add C:\Program
Files\Intel\IPPSCxx\lib
and 8. e.g. default: C:\Program Files\Intel\IPPSCxx\include
I know that default setting, and mine is
C:\Program Files\Intel\IPP41\pca_xsc\lib
C:\Program Files\Intel\IPP41\pca_xsc\include
respectively.
I see the documentation
(http://support.intel.com/support/performancetools/libraries/ipp/win/ia/sb/cs-014993.htm)
add ippIP_XSCxxPPC_d.lib at 6.
I checked the documentation (ippman_pca.zip) in the installed directory
(C:\Program Files\Intel\IPP41\pca_xsc)
And find it's a function about Image Processing in debug mode.
In eVC, I choose WCE Application, CPU choose Win32[WCE emulator],
Win32[WCE_x86], and Win32[WCE ARMV4I]
And choose A empty project. Then I add all the lib
(ippAC_XSC41PPC_d.lib
ippIP_XSC41PPC_d.lib
ippJP_XSC41PPC_d.lib
ippSC_XSC41PPC_d.lib
ippSP_XSC41PPC_d.lib
ippSR_XSC41PPC_d.lib
ippVC_XSC41PPC_d.lib)
to Project->Setting->Link->Input->Object/Library.
When I new "A Simple Windows CE Application". It pass the compiling
process.
But Still failed in linking.
If I comment the line of "ippsCopy_16s(pSrc, pDst, SIZE); " as follows,
it passed.
but we I un-comment the lint, it failed in linking.
And shows :
--------------------Configuration: test8 - Win32 (WCE emulator)
Debug--------------------
Compiling...
test8.cpp
Linking...
test8.obj : error LNK2019: unresolved external symbol _ippsCopy_16s
referenced in function _WinMain
emulatorDbg/test8.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
D:\WinCE_jiing\test8\ippIP.h(1645): Could not find the file
ippi_plus.h.
test8.exe - 2 error(s), 0 warning(s)
My program is as following:============================
#include "stdafx.h"
#include "ippSP.h" //ippsCopy_16s declaration in here
#include "ipp.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
const int SIZE = 256;
Ipp16s pSrc[SIZE], pDst[SIZE];
int i;
for (i =0; i
pSrc[i] = (Ipp16s)i;
ippsCopy_16s(pSrc, pDst, SIZE); //this line has big problem
return 0;
}
Any suggestion is appreciated.
-jiing-