Hi
I am trying to build opencv for windows from latest opencv source. I am using cmake with Visual Studio 2010 generator.
When i try to build from visual studio solution, i am getting some errors like "......\3rdparty\libpng\contrib\intel\filter_sse2_intrinsics.c(59): error C2275: 'png_uint_16' : illegal use of this type as an expression"
I can see that in the file "filter_sse2_intrinsics.c", there are some variable declarations in the middle of the code block.
Is there any fixes available for this already?
Thanks!