Compilation and installation of opencv to work with QT on Ubuntu!

preview_player
Показать описание
This video shows how to compile and install opencv 2.4.9 to work with QT 5.4.
I used fresh Ubuntu installation and go through some errors which you may get.

In next video I'l show you how to create custom widget to display Mats and get cursor position.
Рекомендации по теме
Комментарии
Автор

That's all I need to understand
I'm waiting for your next video
Thank you soo much

dinhkhuongtran
Автор

Thank you so much! Your video has helped me a lot! :D

Augmented_AI
Автор

This video worked really well for me to get OpenCV installed and working with QT. Could you post future videos with you explaining what is happening instead of the music?

mikeneal
Автор

man! u r the most lovable person on this planet...
did u know that! ? :D

faridalijani
Автор

hey doctorexplicit ... tks for the video ...
unfortunately my Qt + opencv crashed in the cv::namedWindo and cv::imshow ...
debugging just gave me a segmentation fault and when I comment these two lines, then it works !!
when I configured with cmake-gui I left the original libs for Qt5 already present in my /usr/lib/ ...

MaikonNascimentoEng
Автор

please how to install nonfree libraries and contrib along with opencv??? Tanks!!

gustavo-visentini
Автор

how do we cross -compile to arm based board?

sachinacharya
Автор

In sudo make install, show in red: Linking cxx shared library
how do I do that? Please!!! Tanks!

gustavo-visentini
Автор

What's wrong:
Configuring done
CMake Error in
No known features for CXX compiler
""
version .

konstantinruzov
Автор

nice music! Can you provide me with link?

BipinOli
Автор

Thank you very much for this tutorial.
I have a problem related to NamedWindow().
I get

Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
is anyone faced the same problem ?
sorry for my bad english :)

RhazYassine
Автор

Hi i get this error when trying the example with QTcreator,  
realloc(): invalid pointer: 0x00007fd588a7b0e0 ***
i'm using OPENCV 3.0.0 with QTCreator 3.4.1 in UBUNTNU  14.04

simpledeveloper
Автор

i am able run this on my ubuntu pc, but while cross compile its giving me error

fatal error: opencv2/opencv_modules.hpp: No such file or directory
#include "opencv2/opencv_modules.hpp"

compilation terminated.
Makefile:647: recipe for target 'mainwindow.o' failed
make: *** [mainwindow.o] Error 1

sachinacharya
Автор

pls make for normal operating system windows

Ilya-hixq
Автор

I had some errors in the make part, it only reached 25%

inigomeniego
Автор

What went wrong?
"Starting
error while loading shared libraries: libopencv_highgui.so.3.0: cannot open shared object file: No such file or directory
/home/roman/cpp/opencv/opencv exited with code 127"

vprod
Автор

man! u r the most lovable person on this planet...
did u know that! ? :D

faridalijani