That helps quite a bit. That article describes a little more on how to configure CMAKE. Right now, I am stuck on installing FFMPEG, because Apt won't download the current version of YASM (I have already run apt-get update). Currently, I am performing a distribution upgrade of Ubuntu, because I am running 12.04. Hopefully that will help! What webcam do you guys suggest for powerful vision tracking? I was thinking of a camera with a high shutter speed, low ISO, and high aperture. That would allow me to set up a spotlight of light, to be retroreflected to the camera. The camera would only be able to capture that bright light!
Quote:
Originally Posted by hzheng_449
Also in Ubuntu 12.04 (which by the way is the LTS, so if you're gonna switch switch to 12.04) you can just apt-get the libraries (and of course it will also list out and allow you to install all the dependencies). This is what ended up doing since it's the easiest option...
link to apt-get installing opencv (the package may be slightly out of date)
On a slight tangent, I'm not really a fan of cmake, and if you aren't either, it's worth the time to google how to compile openCV projects with g++.
|
I agree. I am not a fan of CMAKE either. I was just going to use an IDE like Netbeans! That would get rid of all the confusion, caused by setting up! I will google about how to compile OpenCV projects using g++. I believe it uses PKG-CONFIG, so it shouldn't be rocket science!
PHP Code:
While compiling OpenCV, at 20%, I got this error:
[ 20%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/bitstrm.cpp.o
[ 20%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/rgbe.cpp.o
Linking CXX shared library ../../lib/libopencv_highgui.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libopencv_highgui.so.3.0.0] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2
Does anyone know what it could be?