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

Intel IPP 4.0 and Visual C++ 7.1 stransge problem

anselokar
Beginner
364 Views
Hi,
I am using Intel IPP 4.0 and VC++ 6.0 and all my code is working fine till now. Recently I decided to port the code to VC++ 7.1. I used the Visual Studio 2003 project conversion wizard to convert my project. I set the IPP include and lib path properly in the converted project. But now I am getting comiplation errors as follows. Anybody has any idea how to get around this problem ?



Command Lines
Creating temporary file "e:JpegLosslessJpegLosslessReleaseRSP000003.rsp" with contents
[
/O2 /I "C:Program FilesIntelIPP40include" /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_AFXDLL" /D "_MBCS" /FD /EHsc /MD /GS /Fo"Release/" /Fd"Release/vc70.pdb" /W3 /c /Wp64 /Zi /TP
.metadata.cpp
.membuffout.cpp
.membuffin.cpp
.jpegenc.cpp
.jpegdec.cpp
.jpegbase.cpp
.jpeg.cpp
.ippimage.cpp
.encqtbl.cpp
.enchtbl.cpp
.decqtbl.cpp
.dechtbl.cpp
.colorcomp.cpp
.itstreamout.cpp
.itstreamin.cpp
]
Creating command line "cl.exe @e:JpegLosslessJpegLosslessReleaseRSP000003.rsp /nologo"
Output Window
Compiling...
metadata.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
membuffout.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
membuffin.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
jpegenc.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
jpegenc.cpp(1273) : error C3861: 'ippiEncodeHuffmanOne_JPEG_16s1u_C1': identifier not found, even with argument-dependent lookup
jpegenc.cpp(2229) : error C3861: 'ippiYCbCr422_8u_C2P3R': identifier not found, even with argument-dependent lookup
jpegenc.cpp(2521) : error C3861: 'ippiDCTQuantFwd8x8LS_JPEG_16u16s_C1R': identifier not found, even with argument-dependent lookup
jpegenc.cpp(2578) : error C3861: 'ippiDiffPredRow_JPEG_16s_C1': identifier not found, even with argument-dependent lookup
jpegenc.cpp(2587) : error C3861: 'ippiDiffPredFirstRow_JPEG_16s_C1': identifier not found, even with argument-dependent lookup
jpegenc.cpp(2720) : error C3861: 'ippiEncodeHuffmanRow_JPEG_16s1u_P4C1': identifier not found, even with argument-dependent lookup
jpegenc.cpp(3072) : error C3861: 'ippiGetHuffmanStatisticsOne_JPEG_16s_C1': identifier not found, even with argument-dependent lookup
jpegenc.cpp(4105) : error C3861: 'ippiEncodeHuffmanOne_JPEG_16s1u_C1': identifier not found, even with argument-dependent lookup
jpegdec.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
jpegdec.cpp(2684) : error C3861: 'ippiYCbCr422_8u_P3C2R': identifier not found, even with argument-dependent lookup
jpegdec.cpp(2984) : error C3861: 'ippiDecodeHuffmanRow_JPEG_1u16s_C1P4': identifier not found, even with argument-dependent lookup
jpegdec.cpp(3208) : error C3861: 'ippiDCTQuantInv8x8LS_JPEG_16s16u_C1R': identifie r not found, even with argument-dependent lookup
jpegdec.cpp(3278) : error C3861: 'ippiReconstructPredRow_JPEG_16s_C1': identifier not found, even with argument-dependent lookup
jpegdec.cpp(3283) : error C3861: 'ippiReconstructPredFirstRow_JPEG_16s_C1': identifier not found, even with argument-dependent lookup
jpegdec.cpp(4002) : error C3861: 'ippiDecodeHuffmanOne_JPEG_1u16s_C1': identifier not found, even with argument-dependent lookup
jpegdec.cpp(4145) : error C3861: 'ippiDCT8x8To4x4Inv_16s_C1I': identifier not found, even with argument-dependent lookup
jpegdec.cpp(4172) : error C3861: 'ippiDCT8x8To2x2Inv_16s_C1I': identifier not found, even with argument-dependent lookup
jpegbase.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
jpeg.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
jpeg.cpp(249) : warning C4101: 'clk1' : unreferenced local variable
jpeg.cpp(248) : warning C4101: 'clk0' : unreferenced local variable
jpeg.cpp(243) : warning C4101: 'sz' : unreferenced local variable
jpeg.cpp(245) : warning C4101: 'JPEGSize' : unreferenced local variable
ippimage.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
ippimage.cpp(77) : error C3861: 'ippiSwapChannels_8u_C4IR': identifier not found, even with argument-dependent lookup
ippimage.cpp(185) : error C3861: 'ippiMax_16u_C1R': identifier not found, even with argument-dependent lookup
ippimage.cpp(219) : error C3861: 'ippiMax_16u_C3R': identifier not found, even with argument-dependent lookup
ippimage.cpp(262) : error C3861: 'ippiMax_16u_C4R': identifier not found, even with argument-dependent lookup
ippimage.cpp(289) : error C3861: 'ippiSwapChannels_8u_C4IR': identifier not found, even with argument-dependent lookup
ippimage.cpp(406) : error C3861: 'ippiSwapChannels_8u_C4IR': identifier not found, even with argument-dependent lookup
encqtbl.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
enchtbl.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
decqtbl.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
dechtbl.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
colorcomp.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
bitstreamout.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
bitstreamin.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
Generating Code...
Results
Build log was saved at "file://e:JpegLosslessJpegLosslessReleaseBuildLog.htm"
JpegLossless - 22 error(s), 4 warning(s)

0 Kudos
2 Replies
Vladimir_Dudnik
Employee
364 Views

Hello,

Please note that IPP version 4.0 is several years old! Why did not you upgrade to the latest version which is IPP 6.0 beta?

Looking at error messages I see that compiler can't find functions which were introduced after IPP 4.0. It seems you try to build some new version of IPP sample with old version of IPP libraries. It is impossible that you were able to build the same new code with the same old IPP versionwith MSVC 6.0. You definetly changed something when moving to MSVC 7.1

Regards,
Vladimir

0 Kudos
anselokar
Beginner
364 Views
I tried the same code with IPP 5.2 eval version. I am getting same errors. But the same code compiles fine with VC++ 6.0 & IPP 4.0 / IPP 5.2 ??
0 Kudos
Reply