User forums > Help

Seems can't find the implementation?

(1/2) > >>

mihasic:
I try a simple OpenCV code:

int main(int argc, char *argv[])
{
    Mat img = imread("arnold_schwarzenegger.jpg");
    if(img.empty())
       return -1;
    namedWindow("arnold_schwarzenegger", WINDOW_AUTOSIZE );
    imshow("arnold_schwarzenegger", img);
    waitKey(0);
    return 0;
}

It compiles allright, but doesn't work.
On debugger, I receive a message:

In __cxa_throw () (/lib/x86_64-linux-gnu/libstdc++.so.6)
#5  0x00005555555553d4 in main (argc=1, argv=0x7fffffffe668) at /home/mikhail/CodeBlocksProjects/TryOpenCVALinux/main.cpp:15
/home/mikhail/CodeBlocksProjects/TryOpenCVALinux/main.cpp:15:372:beg:0x5555555553d4
15       namedWindow("arnold_schwarzenegger", WINDOW_AUTOSIZE );

Could anybody explain what it means or at least where I can look it up?
Thanks.

Miguel Gimenez:
This is an OpenCV issue, not a C::B one. Look here or here for more information.

mihasic:
Hi Miguel,
Thanks for your attempt to help.
Unfortunately, you didn't read my post up to the end.
The question was what the message meant or where I could look it up.
Sincerely,
mihasic.

Miguel Gimenez:
I did read all your message even though it is completely OT here (because your error is a runtime one, hence not related to C::B).

Even being OT, I gave you two links so you can look up the issue. One is for Windows, because there is little information for Linux and you did not care to state your OS.

mihasic:
Regret to see you don't want to to understand my question. Once again, the issue is the message, and given that it is produced by codeblocks, it is definitely codeblocks issue. As for the OS and so on, I questioned nothing about it. Once again, thanks for your attempt to help, but I have to say this attempt becomes a bit too insistent.

Navigation

[0] Message Index

[#] Next page

Go to full version