Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6814 Discussions

Problem for using IPP under visual studio.net 2003

mallika75
Beginner
704 Views
We bought Intel IPP 4.0 one year ago. Serial No. of the product is 1580-81178847.
At that time I wrote a program for my research with IPP and Visual C++6.0. It worked well.
Now someone found a bug in thta software and I must fix the bug. The problem is that now I am using Visual Studio.Net 2003. When I try to debug the program, it always reports that ippCore.dll CAN NOT BE FOUND.
The program still can run on my pc, with bug. And I have set directories in Visual Studi.Net as I did with Visual C++. That is:
add C:Program FilesIntelIPP40include to Include,
add C:Program FilesIntelIPP40stublib to Library.

I just dont know how to do.

Can anyone give an advice?
Thanks!
0 Kudos
4 Replies
nicky_hoang270582
704 Views
Dear Mallika
Can you show me how you configured the library in visual C++ 6.0 to compile and run the ipp sample. I am currently using IPP4.1 and try to improve the H264 ipp sample code, but i couldn't run it. It always says it can't find the ipp.h or ippvc.h etc...although i already
add C:Program FilesIntelIPP40include to Include,
add C:Program FilesIntelIPP40stublib to Library.
as you did
I struggled with that for more than 1 week already and still don't know what's wrong. That's because i can use visual C++ to run the example code provided in the ipp4.0 but can't do that with the intel ipp4.1 sample code.
Thank you in advanced for all the help


0 Kudos
mallika75
Beginner
704 Views
I have solved my problem. Seems that it is due to the enviromental variable PATH. I moved path of IPP from end of the PATH to begining, than everything is fine. IT IS WEIRD. But it works.

I am not sure what is your problem. It seems to be a simple probelem as mine. ^_^
Have you ever run the bat file ippenv.bar which is under "C:Program FilesIntelIPP40 oolsenv" ?
You need to run that file to set enviromental variables for Windows.
0 Kudos
nicky_hoang270582
704 Views
Dear Mallika
I did run the env files and even tried to manually set up the env path by command, but i don't know why i couldn't compile and run propably the IPP 4.1videosample file. When i create the project in Visual C++ 6.0 and insert files into the project.When i tried to compiled, the following are the error. That mean it can't read the ipp library. Do you have any adivecs to overcome it?
cresidual.obj : error LNK2001: unresolved external symbol _ippiTransformDequantChromaDC_H264_16s_C1I@8
cresidual.obj : error LNK2001: unresolved external symbol _ippiTransformDequantLumaDC_H264_16s_C1I@8
cresidual.obj : error LNK2001: unresolved external symbol _ippiDequantTransformResidual_H264_16s_C1I@20
cresidual.obj : error LNK2001: unresolved external symbol _ippiDequantTransformResidual_SISP_H264_16s_C1I@28
cresidual.obj : error LNK2001: unresolved external symbol _ippiTransformDequantChromaDC_SISP_H264_16s_C1I@20
cresidual.obj : error LNK2001: unresolved external symbol _ippiTransformPrediction_H264_8u16s_C1@12
dai.obj : error LNK2001: unresolved external symbol _ippiPredictIntra_4x4_H264_8u_C1IR@16
dai.obj : error LNK2001: unresolved external symbol _ippiPredictIntraChroma8x8_H264_8u_C1IR@16
dai.obj : error LNK2001: unresolved external symbol _ippiPredictIntra_16x16_H264_8u_C1IR@16
decoder.obj : error LNK2001: unresolved external symbol _ippiFilterDeblockingChroma_HorEdge_H264_8u_C1IR@24
decoder.obj : error LNK2001: unresolved external symbol _ippiFilterDeblockingLuma_HorEdge_H264_8u_C1IR@24
decoder.obj : error LNK2001: unresolved external symbol _ippiFilterDeblockingChroma_VerEdge_H264_8u_C1IR@24
decoder.obj : error LNK2001: unresolved external symbol _ippiFilterDeblockingLuma_VerEdge_H264_8u_C1IR@24
dmc.obj : error LNK2001: unresolved external symbol _ippiInterpolateChroma_H264_8u_C1R@32
dmc.obj : error LNK2001: unresolved external symbol _ippiInterpolateLuma_H264_8u_C1R@32
main.obj : error LNK2001: unresolved external symbol _ippiYUV420ToRGB_8u_P3C3R@24
main.obj : error LNK2001: unresolved external symbol __imp__CreateStatusWindo wA@16
main.obj : error LNK2001: unresolved external symbol __imp__CreateToolbarEx@52
Debug/H264Decoder.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.
0 Kudos
Vladimir_Dudnik
Employee
704 Views
Hi,
when you see "unresolved external" error at linkage stage it usually means that linker can't resolve external dependances. It might be because it can't find IPP libraries or because function names were changed. Function ippiTransformDequantChromaDC_H264_16s_C1Iis exist in both IPP v4.0 and IPP v4.1, so most likely the problem is that linker can't find libraries.
Note, IPP folder structure has changes since IPP v4.0.
In v4.0 path for libraries was:
IPPlib
but inv4.1 it became
IPPia32_itaniumlib.
So, you need be careful when do switch between different IPP versions.
Regards,
Vladimir
0 Kudos
Reply