How to solve libpng function already defined error?
I am using ITK-4.11 and OpenCV-3.2 together in one of my C ++ projects, when I compile the project I get the error:
Error 1 LNK2005 error: png_get_uint_31 is already defined in itkpng-4.11.lib (pngrutil.obj) "
Both my ITK and OpenCV are built using a multi-threaded DLL (/ MD), what should I do to avoid this error?
+3
source to share