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

fix for ms.net sample in visual studio 2005

M_I_
Beginner
412 Views
Hi,
Just to share something I encountered that might be of help:

While compiling the ippi - ms.net sample in Visual Studio 2005, I got the following errors:
srcdecoder.cs(1586,31): error CS0118: 'ExampleIP.JPEGDecoder.m_ccHeight' is a 'field' but is used like a 'type'
srcdecoder.cs(1586,27): error CS0307: The variable 'i' cannot be used with type arguments
NMAKE : fatal error U1077: 'c:WINNTMicrosoft.NETFrameworkv2.0.50727csc.exe' : return code '0x1'
Stop.

To solve this: just change line 1586 in encoder.cs
from:
for(i = 0; i < m_ccHeight>>1; i++)
to:
for(i = 0; i < (m_ccHeight>>1); i++)
Menno
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
412 Views
Hi Menno,
thanks a lot for pointing to that. We plan to fix this in the nearest release, IPP v5.1, which is coming soon.
Regards,
Vladimir

Message Edited by vdudnik on 03-30-2006 06:44 PM

0 Kudos
Reply