# Seems not to find the implementation?

**URL:** <https://forum.opencv.org/t/seems-not-to-find-the-implementation/6824>\
**Category:** C++\
**Tags:** highgui\
**Created:** [December 22, 2021, 1:33am UTC](https://forum.opencv.org/t/seems-not-to-find-the-implementation/6824 "2021-12-22T01:33:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mihasic](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@mihasic](https://forum.opencv.org/u/mihasic)\
**Post date:** [December 22, 2021, 1:33am UTC](https://forum.opencv.org/t/seems-not-to-find-the-implementation/6824/1 "2021-12-22T01:33:35Z")

</div>

I try to use OpenCV 4.5.4 on CodeBlocks under Linux Mint.  
The code is as follows:

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 produces nothing. In Release it simply ends without any output, while in Debug it produces the following 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 );  
At /home/mikhail/CodeBlocksProjects/TryOpenCVALinux/main.cpp:15

And it’s like this with any highgui function I try. It is strange, as libopencv\_highgui.so.4.5.4 is located exactly in the same directory as libopencv\_imgcodecs.so.4.5.4 which works allright.  
Ant thoughts?  
Thank you.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [December 22, 2021, 10:43pm UTC](https://forum.opencv.org/t/seems-not-to-find-the-implementation/6824/2 "2021-12-22T22:43:16Z")

</div>

related:

> <https://stackoverflow.com/questions/70453266/opencv-on-codeblocks-under-limux-mint-seems-not-to-find-library>
