Updated by Anna Kogan over 11 years ago

Hi,

I get many build errors when compiling the latest OpenCV with openexr.
when I don't use with_openexr all is good!
Here is the error:
<pre>


Error 156 error: "restrict" has already been declared in the current scope \3rdparty\openexr\Imath\ImathMatrix.h 2530
Error 158 error: "restrict" has already been declared in the current scope \3rdparty\openexr\Imath\ImathMatrix.h 2531
Error 155 error: expected a ";" \3rdparty\openexr\Imath\ImathMatrix.h 2529
Error 157 error: expected a ";" \3rdparty\openexr\Imath\ImathMatrix.h 2530
Error 159 error: expected a ";" \3rdparty\openexr\Imath\ImathMatrix.h 2531
Error 160 error: identifier "ap" is undefined \3rdparty\openexr\Imath\ImathMatrix.h 2535
Error 162 error: identifier "bp" is undefined \3rdparty\openexr\Imath\ImathMatrix.h 2540
Error 161 error: identifier "cp" is undefined \3rdparty\openexr\Imath\ImathMatrix.h 2540
</pre>



I use use, Windows 7, VS 2008. 2008:

Back