Application could not be started (0xc000003b)

asked 2019-02-05 05:17:49 -0600

OpenCV-Version: 3.4.3

IDE: MVS v.: 12.0.21005.1

Hello, I am exausted... I cannot solve this problem:

I cannot execute my code. It is compiling fine, but when I try to start my program it shows this error message: "The application could not start correctly 0xc00003b..." I have reinstalled 3 different OpenCV versions, the path variable is set correctly and my code is a very simple example:

#include<iostream>
#include <conio.h>
#include <opencv2/opencv.hpp>
#include <opencv/cv.h>
int main()
{
    int x;
    cv::Vec2b vector_test;
    std::cout << "type a value for x" << std::endl;
    std::cin >> x;
    std::cout << "This is your x: " << x;
    getch();

    return 0;
}

OpenCv is properly installed since the test applications are running well... If I commend the #include < opencv2/opencv.hpp > out the program is running fine.

I would very much appreciate any help

edit retag flag offensive close merge delete