OpenCV tutorial 3: how to compile OpenCV from source

preview_player
Показать описание
In this video we compile OpenCV from source! Enjoy!
Рекомендации по теме
Комментарии
Автор

I was following this tutorial - (my setup: Visual Studio 2010 SP1 and Qt Creator 5.2.1 with Qt 4.8.6). Despite the chosen OpenCV 2.3.1 in this video, I was using the latest version of OpenCV 2.x (OpenCV 2.4.9). Building the code no error was produced, but when I ran the code a message appeared 'program can't start because of missing QtGuid4.dll ' . 
I followed the example in this tutorial for setting the bin directory in OS Path variable, but this time I add [drive_name]:\Qt\4.8.6\bin where the missing *.dll file is located. Rebuild the system and the code now works... Good & useful tutorial. Thanks for sharing

sutops
Автор

Great stuff, as I watch the "18F4550videos" I think about fixing other software project opencv c++ bugs.My new learning curve is to make the Tracker Project work on the Beaglebone Black Debian OS circuit-board as a stand alone. Have you ever worked with the Beaglebone Black? Thank you.

qzorn
Автор

Great tutorials, helped so much, thanks
Any chance you could also show how to add cvblob to OpenCV. Been trying and failing at that miserably.

waleedqk
Автор

Hey, thanks for the vids. Any idea why I fail during the build of the solution in visual studio?  I get several such errors : fatal error LNK1104: cannot open file  . Could it be because i have wrong enviroment variables? I do not see any of them being set in this video so, maybe they are considered prerequisite? Trying to build 2.4.9 version with cuda support, any help would be appreciated, thanks.

horrogue
Автор

Got a debug error saying could not find 'opencv_core231d.dll'. I searched for it in OpenCV-2.3.1 directory and copy pasted it to my system32 folder which seemed to solve the problem. I copied the other opencv .dll files as well. Now when I try to debug it gives me an error saying "opencv_highgui231d.dll is not a valid Windows image. Please check this against your installation diskette."
I'm using Windows XP and Visual C++ 2010. Any ideas on where I'm going wrong?
Any help would be appreciated.

poojashroff
Автор

I tried to use the 2.4.2 version. It went fine during this tutorial, however i faced problems compiling it tutorial 5 because of dependencies of nvidia graphics drivers in 2.4.2.

Doing this again in 2.3.1 to avoid problems

arbitrarysolutions
Автор

Sir
nice work
I hope you help me I have problem
this show up when I use CMake 2.8.8
"Invalid license data. Reinstall is required."

shrooqi
Автор

Deleted the copy pasted files from the system32 folder and ran program again. The program runs but still several dlls are missing. :| The object isn't getting tracked.

poojashroff
Автор

Nice video! But I got an error (actually 621 errors), when trying to compile the "opencv_highgui.sln" project, everything else worked. Can you help me, please?

LeoMakotoMito
Автор

Does any one know what might be good source(s) to read and understand all those ideas and concepts of PATH, environmental variables, make, build, linker and library. I am not a computer science major and don't have these backgrounds. I can write code and program in C/C++/C#, but every time if i wan to use some opensource code or library, I have a lot of trouble to do the set up. Could someone suggest me some readings or key words, so i can learn these concepts from fundamental. Highly Appreciate!!

wisesoar
Автор

Thanks you were really helpful would you or anyone here have any idea on how to run OpenCV on a raspberry Pi ?

Will
Автор

Everything worked fine TILL I clicked on the Qt box (in the Red check box area) during the compile. I have Qt 5.3 and the OpenCV file requires Qt 4. Duh! Would have been nice if somebody said it DOES NOT WORK.

BOHICAMAN