Ask Your Question

Beto's profile - activity

2013-09-29 01:44:42 -0600 commented question VS2013 - cout - Mat - msvcp100d.dll

Again, everything works, excepting the code mentioned above. I'm still following the tutorial and no other problems have been found.

2013-09-28 04:26:02 -0600 commented question VS2013 - cout - Mat - msvcp100d.dll

Thanks for the response, but this doesnt touch the problem either. About the links, the debug configuration have the dependencies XXXd.lib and the release configuration have the dependencies XXX.lib. If this is what you ment. The Path goes through the ..\x86.. folder as mentioned in the tutorial. I know all those setting are right set since if it wasnt right set I would get errors mentioning it (as I got in the beginning of this openCV tutotial when setting it wrong on purpose to see what happens)

One other thing. The mentioned dll file "msvcp100d.dll" in the pop-up lays in the C:\Windows\System32 folder.

2013-09-27 19:26:57 -0600 commented question VS2013 - cout - Mat - msvcp100d.dll

I installed VS2010 and it worked very well. So i guess this is a issue between VS2013 and OpenCV's Mat functions

2013-09-27 17:20:59 -0600 asked a question VS2013 - cout - Mat - msvcp100d.dll

I have followed the whole tutorial untill this part: Creating a Mat object explicitly

My problem starts when i try to run the first lines of code. That is:

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

using namespace std;
using namespace cv;

int main()
{
    Mat O = Mat::ones(2, 2, CV_32F);
    cout << "O = " << endl << " " << O << endl << endl;

    return 0;
}

I then get the following pop-up window

image description

Has anyone run into the same problem?

I am runing this on Microsoft Visual Studio Ultimate 2013 RC, Windows 7 x64. All includes, libraries and paths are right set. I have noticed that the program runs well if i instead have this line:

cout << "O = " << endl << " " << O.at<float>(0, 0) << endl << endl;

It seems that there is a problem when combining cout with Mat. Does somebody know how to solve this? Thanks.