您的计算机调试模式下Visual C ++ 2012缺少MSVCP100D.dll [英] MSVCP100D.dll is missing on your computer debug mode Visual C++ 2012

查看:96
本文介绍了您的计算机调试模式下Visual C ++ 2012缺少MSVCP100D.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道之前曾问过这个问题.但是我需要一个真实的答案,真实的解释! 在Visual Studio 2012 Express中以 Release模式运行(ctrl + F5)下面显示的代码时,一切正常.在调试模式中运行它时,我得到:

I know this question was asked before. But I need a real answer, a real explanation! When running (ctrl+F5) the code shown underneath, in Visual Studio 2012 Express, in Release mode, everything works. When running it in Debug mode, I get:

该程序无法启动,因为您的计算机上缺少MSVCP100.dll ...

我已经安装了可再发行软件包2010和2012.

I already installed the Redistributable Package 2010 and 2012.

发生了什么事???请详细解释,我可以理解:)非常感谢!!!

What is going on??? Please a detailed Explanation, that I can understand :) Thanks a lot!!!

#include "stdafx.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>

using namespace cv;
using namespace std;

int main( int argc, char** argv )
{
    Mat image = imread("Bild.jpg");

    namedWindow("Mein Bild");

    imshow("Mein Bild", image);

    waitKey(5000);

    //The member variable data is in fact a pointer to the allocated memory block that will contain
    //the image data. It is simply set to 0 when no image has been read.
    if(!image.data)
    {
        cout<<"No image has been createt"<<endl;
    }

    cout<<"height = " << image.size().height <<"\t width = "<< image.size().width<<endl;

    //page 27

    return 1;
}

推荐答案

通过设计.不允许您重新分发调试模式可执行文件.顾名思义,它们是用于调试而不是发布.

By design. You are not allowed to redistribute Debug Mode executables. As the name says, they are for debugging, not releasing.

这篇关于您的计算机调试模式下Visual C ++ 2012缺少MSVCP100D.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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