应用程序无法正确启动(0xc00000be) [英] The application was unable to start correctly (0xc00000be)

查看:354
本文介绍了应用程序无法正确启动(0xc00000be)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

借助此链接。我认为我正确地遵循了所有步骤。

I installed OpenCV 2.4.0 in codeblocks IDE with help of this link in my windows 32bit pc. I follow the all the steps properly I think.

当我运行以下代码时,它运行良好:

when I run the following code it works well:

#include "opencv2/highgui/highgui.hpp"
#include <iostream>

using namespace cv;
using namespace std;

int main()
{
   cout<<"Hello"<<endl;

    return 0;

}

但是当我运行此代码时,它显示 应用程序无法正确启动(0xc00000be)

But when i run this code it shows that The application was unable to start correctly (0xc00000be)

#include "opencv2/highgui/highgui.hpp"
#include <iostream>

using namespace cv;
using namespace std;

int main()
{

    cv::Mat im = cv::imread("m.jpg");

    if (im.empty())
    {
        cout << "Cannot open image!" << endl;
        return -1;
    }

    cout<<"image is showing.......\n";

    cv::imshow("image", im);

   // waitKey(0);

   cout<<"Hello"<<endl;

    return 0;
}

是否还有其他配置可以在代码块中与opencv配合使用。

Is there any other configuration for working well with opencv in codeblocks.

我用Google搜索,发现配置Windows并不是问题。我花了许多小时进行谷歌搜索,发现没有任何帮助。

I googled and find that it is not a problem of configuring rather problem of windows. I stuck many hours of googling and find nothing helpfull.

推荐答案

您可能需要使用与您使用的相同的编译器来编译openCV编译程序。好像有人在这里找到了解决同一问题的方法: http ://answers.opencv.org/question/30343/application-unable-to-start-正确//

You might need to compile openCV with the same compiler you're using to compile the program. It looks like someone found a solution to the same problem here: http://answers.opencv.org/question/30343/application-unable-to-start-correctly/

这篇关于应用程序无法正确启动(0xc00000be)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆