1 | initial version |
The warnings are due to a problem with Visual C++ compilation of template members of an exported class. I have no idea whether this is due to a violation of the C++ ISO standard or whether it is in one of those "gray areas." Although best practice is certainly not to have tons of warnings show up in your build output, in this case you can work around this by turning off "OPENCV_WARNINGS_ARE_ERRORS" in the OPENCV node in the CMAKE GUI. The warnings will still show up, but your build will complete anyway (and the result will probably run.)