A
A
Andrew2017-05-08 19:41:14
C++ / C#
Andrew, 2017-05-08 19:41:14

Why doesn't C++ code compile with OpenCV?

Hello ! Help me figure out the installation of OpenCV in Microsoft Visual Studio 2017. I read some resources and did as it was said. The studio sees OpenCV files (sort of), but when compiling, it gives 658 errors, which are mainly related to types. Here is a smaller part of them: 24764bf6921147bd89925d0842c4769a.png
I would be grateful for the answers!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2017-05-08
@null_object

#include <cstdlib>
#include <climits>

before#include <opencv2/core.hpp>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question