Dark

How to use OpenCV with with Qt MinGW on Windows Platform?

Embedded Laboratory
Подписаться
Просмотров 7 986
97% 84 2

Post Link:
embeddedlaboratory.blogspot.in/2017/03/how-to-use-opencv-with-qt-mingw-on.html
(Download the template and libraries from the above link)
Blog Link:
embeddedlaboratory.blogspot.com
RUvid Channel:
ruvid.net/show-UCDBlAXL5NVb7HCgpTzC8vbg
Facebook Page:
facebook.com/embeddedlaboratory
Email Id:
matlab.academy@gmail.com
Skype ID:
embedded.laboratory

Опубликовано:

 

2 мар 2017

OpenCVQtCMake

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии 35
Сергей С_7
Сергей С_7 14 дней назад
Thanks man. Everything work)
Дмитрий Маслов
Дмитрий Маслов 20 дней назад
mingw32-make: *** No targets specified and no makefile found. Stop.
Natália Rosa
Natália Rosa 26 дней назад
THANKSSSSS!!!!!!
A O
A O Месяц назад
When I run my qt console application it does nothing. It doesn't display errors and runs without a problem. But it's as if the instructions are just ignored. What could be causing this problem?
Александр Александров
hello. i have problem: in cmd on 24% stopped. C:\opencv\opencv\sources\3rdparty\protobuf\src\google\protobuf\stubs\io_win32.cc:94:3: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] What doing 2 me? please help me.... thanks 4 video!
Govind Rao
Govind Rao 2 месяца назад
Hi getting error when i am running "mingw32-make" commad line ...please help on this ... issuse .. \Users\govind\Desktop\opencv\sources\3rdparty\protobuf\src\google\protobuf\stubs\io_win32.cc:94:3: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] return s == nullptr || *s == 0; ^ C:\Users\govind\Desktop\opencv\sources\3rdparty\protobuf\src\google\protobuf\stubs\io_win32.cc: In function 'bool google::protobuf::internal::win32::{anonymous}::null_or_empty(const char_type*)': C:\Users\govind\Desktop\opencv\sources\3rdparty\protobuf\src\google\protobuf\stubs\io_win32.cc:94:15: error: 'nullptr' was not declared in this scope return s == nullptr || *s == 0; ^ 3rdparty\protobuf\CMakeFiles\libprotobuf.dir\build.make:258: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.obj' failed mingw32-make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.obj] Error 1 CMakeFiles\Makefile2:715: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed mingw32-make[1]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2 Makefile:161: recipe for target 'all' failed mingw32-make: *** [all] Error 2
Johan Fick
Johan Fick 2 месяца назад
Thanks it works !
Angel Villalobos Moreno
Angel Villalobos Moreno 4 месяца назад
Error in step "mingw32-make" show me this message "C:\OpenCV\opencv\sources\3rdparty\protobuf\src\google\protobuf\stubs\io_win32.cc:94:3: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] return s == nullptr || *s == 0;"
Meriem S
Meriem S 5 месяцев назад
Hello! I just arrived at this point: [ 24%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj and had this error: modules\videoio\CMakeFiles\opencv_videoio.dir\build.make:132: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj' failed mingw32-make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dshow.cpp.obj] Error 1 CMakeFiles\Makefile2:5918: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed mingw32-make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 Makefile:161: recipe for target 'all' failed mingw32-make: *** [all] Error 2 WHAT SHOULD I DO ?
Flexey
Flexey 7 месяцев назад
if you get an error with libprotobuf build (mingw32-make) you can try to check ENABLE_CXX11 in cmake-gui
little turtle
little turtle 7 месяцев назад
hi sir, why there is nothing in my bin file?
little turtle
little turtle 7 месяцев назад
okay. thank you :)
Embedded Laboratory
Embedded Laboratory 7 месяцев назад
Re-run the complete steps again. Check the point of error this will help in debugging the problem.
Nauroze Hoath
Nauroze Hoath 10 месяцев назад
Thank yoooh!
Embedded Laboratory
Embedded Laboratory 10 месяцев назад
Welcome :-)
Kang Tajam
Kang Tajam Год назад
I can't Open the command window in the "release" folder. only "Open PowerShell Window" option appeared and when I select, I get this "This Operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator" message. any solution for this?
Embedded Laboratory
Embedded Laboratory 20 дней назад
You can open command prompt from search and then navigate to path by using cd commands
A O
A O Месяц назад
I just opened windows cmd and then entered "cd (insert path to that location here)"
Zeyad Obaia
Zeyad Obaia Год назад
CMake Error in modules/highgui/CMakeLists.txt: No known features for CXX compiler "GNU" version 5.3.0. I get this error though
bhuvana rao
bhuvana rao 4 месяца назад
i got the same error
Shriya Singh
Shriya Singh Год назад
sir it's urgent...it would be great help if you could reply...thanku!
Shriya Singh
Shriya Singh Год назад
sir please suggest how can I fix it..i followed each and every step as described but at last step on command promp I'm getting this error after building 2% objects....
aziz Jaiem
aziz Jaiem 10 месяцев назад
idk if it's helpful now but try disabling ENABLE_PRECOMPILED_HEADERS in cmake before generating.
Shriya Singh
Shriya Singh Год назад
sir I'm getting an error ---user/welcome/appdata/local/tempCcH4s5a.s...
Amir Poursadegh
Amir Poursadegh Год назад
Thank a lot for your helpful video. I have another question and I would be thankful if you could help me. How I can run OpenCV sample for example real_time_pose_estimation ("C:\OpenCV\opencv\sources\samples\cpp\tutorial_code\calib3d\real_time_pose_estimation") in QT?
Embedded Laboratory
Embedded Laboratory Год назад
In the project I haven't included all the libraries, so it might be possible that the demo you are trying to run may require some othet library. You just have to find that and add in your project. I don't have much idea about opencv, i started this task as hobby but due to other additional work loads i have to stop.
Abbas Hassanpour
Abbas Hassanpour Год назад
hi,thank you very much.............it works
Embedded Laboratory
Embedded Laboratory Год назад
Glad to know :-)
Tonny Donovan
Tonny Donovan Год назад
hey. thanks man. this works
Embedded Laboratory
Embedded Laboratory Год назад
Glad to Know :-)
Francisco D.
Francisco D. Год назад
Hi. I write mingw32-make...[100%] Built target opencv_version... but I don't read "Install the project"(10:14 ruvid.net/video/видео-ZOSu-2Oju-A.html?t=10m14s). Do you know why? that causes, I have not an order opencv/release/install.... Thank you
Embedded Laboratory
Embedded Laboratory Год назад
Sorry for late reply. I am glad that you solved your problem.
Francisco D.
Francisco D. Год назад
... I have the answer: mingw32-make install
Alfred Pennyworth
Alfred Pennyworth Год назад
Hey man thank you so much, i was going desperate to find a tutorial for the new settings. Keep up the good work!
Embedded Laboratory
Embedded Laboratory Год назад
Thanks for appreciation :-) You can also read this post on our blog embeddedlaboratory.blogspot.com/2017/03/how-to-use-opencv-with-qt-mingw-on.html
Следующие видео
Lucas The Spider - New Friend
7 дней назад
Why Does Linus Pirate Windows??
2 месяца назад
Install opencv 3.4.0 with VS2017
9 месяцев назад
Hello, CMake with Visual Studio
4 года назад
Qt Tutorial : C++ Notepad App
4 месяца назад
What is Tomcat?
Год назад
Qt Install Mac
7 месяцев назад
Easiest CMake Project Ever
4 года назад