'Compile error from cmake build of OpenCV on Windows 10 Visual Studio 2017
I downloaded opencv_contrib=master.zip
and opencv-4.0.0.zip
from GitHUB, uncompressed and ran CMake(cmake gui) configured, and checked the appropriate boxes and browsed for the opeencv_contrib_master/modules
folder that should generate the solution which I tried to build ALL+_BUILD with Visual Studio Community 2017.
But I get a 3 compile errors:
C2872 'TonemapDurand:ambiguous symbol open_python2 pyopencv_generated_funcs.h 29771
I don't want to change the source code if I don't need to, but I don't know what to do?
Solution 1:[1]
If you can build opencv without contrib then you might try this solution:
path .../opencv_contrib/modules
with forward slash '/' not ''
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Jan Rothkegel |