opencv build issues in VS2010

asked 2016-08-26 03:33:11 -0600

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!

edit retag flag offensive close merge delete

Comments

for now, can you try to check out the revision before this ?

berak gravatar imageberak ( 2016-08-27 00:15:44 -0600 )edit