Ask Your Question

Revision history [back]

I cant solve your problem exactly,But here's a way i installed opencv link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/ Hope this helps you.

I cant solve your problem exactly,But here's a way i installed opencv link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/ Hope this helps you.

The contents of the above link: Install Opencv-2.4.6.1 as it has resolved bugs and stable

Step 1:- Open a new document and paste the following in it

*****TEXT STARTS HERE**** arch=$(uname -m) if [ "$arch" == "i686" -o "$arch" == "i386" -o "$arch" == "i486" -o "$arch" == "i586" ]; then flag=1 else flag=0 fi echo “Installing OpenCV 2.4.6.1″ mkdir OpenCV cd OpenCV echo “Removing any pre-installed ffmpeg and x264″ sudo apt-get -y remove ffmpeg x264 libx264-dev echo “Installing Dependenices” sudo apt-get -y install libopencv-dev sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm sudo apt-get -y install libtiff4-dev libjpeg-dev libjasper-dev sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev sudo apt-get -y install python-dev python-numpy sudo apt-get -y install libtbb-dev sudo apt-get -y install libqt4-dev libgtk2.0-dev sudo apt-get -y install libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev sudo apt-get -y install x264 v4l-utils ffmpeg echo “Downloading OpenCV 2.4.6.1″ wget -O OpenCV-2.4.6.1.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download echo “Installing OpenCV 2.4.6.1″ tar -xvf OpenCV-2.4.6.1.tar.gz cd opencv-2.4.6.1 mkdir build cd build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. make -j4 sudo make install sudo sh -c ‘echo “/usr/local/lib” > /etc/ld.so.conf.d/opencv.conf’ sudo ldconfig echo “OpenCV 2.4.6.1 ready to be used”

*****TEXT ENDS HERE********

b)save the file as opencv.sh on the desktop

Step2:- Open a terminal and type a)cd Desktop b)chmod +x opencv.sh c)./opencv.sh

wait till u get the message ” OpenCV 2.4.6.1 ready to be used “

I cant solve your problem exactly,But here's a way i installed opencv link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/ Hope this helps you.

The contents of the above link: Install Opencv-2.4.6.1 as it has resolved bugs and stable

Step 1:- Open a new document and paste the following in it

*****TEXT STARTS HERE****

arch=$(uname -m) -m)

if [ "$arch" == "i686" -o "$arch" == "i386" -o "$arch" == "i486" -o "$arch" == "i586" ]; then flag=1 else flag=0 fi then

flag=1

else

flag=0

fi

echo “Installing OpenCV 2.4.6.1″ 2.4.6.1″

mkdir OpenCV OpenCV

cd OpenCV OpenCV

echo “Removing any pre-installed ffmpeg and x264″ x264″

sudo apt-get -y remove ffmpeg x264 libx264-dev libx264-dev

echo “Installing Dependenices” sudo apt-get -y install libopencv-dev Dependenices”

sudo apt-get -y install libopencv-dev

sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm yasm

sudo apt-get -y install libtiff4-dev libjpeg-dev libjasper-dev libjasper-dev

sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev libv4l-dev

sudo apt-get -y install python-dev python-numpy sudo apt-get -y install libtbb-dev python-numpy

sudo apt-get -y install libtbb-dev

sudo apt-get -y install libqt4-dev libgtk2.0-dev libgtk2.0-dev

sudo apt-get -y install libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libxvidcore-dev

sudo apt-get -y install x264 v4l-utils ffmpeg ffmpeg

echo “Downloading OpenCV 2.4.6.1″ 2.4.6.1″

wget -O OpenCV-2.4.6.1.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download

echo “Installing OpenCV 2.4.6.1″ 2.4.6.1″

tar -xvf OpenCV-2.4.6.1.tar.gz OpenCV-2.4.6.1.tar.gz

cd opencv-2.4.6.1 opencv-2.4.6.1

mkdir build build

cd build build

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. ..

make -j4 -j4

sudo make install install

sudo sh -c ‘echo “/usr/local/lib” > /etc/ld.so.conf.d/opencv.conf’ sudo ldconfig /etc/ld.so.conf.d/opencv.conf’

sudo ldconfig

echo “OpenCV 2.4.6.1 ready to be used”

*****TEXT ENDS HERE********

b)save the file as opencv.sh on the desktop

Step2:- Open a terminal and type a)cd Desktop b)chmod +x opencv.sh c)./opencv.sh

wait till u get the message ” OpenCV 2.4.6.1 ready to be used “

I cant solve your problem exactly,But here's a way i installed opencv link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/ Hope this helps you.

The contents of the above link: Install Opencv-2.4.6.1 as it has resolved bugs and stable

Step 1:- Open a new document and paste the following in it

*****TEXT STARTS HERE****

arch=$(uname -m)

-m) if [ "$arch" == "i686" -o "$arch" == "i386" -o "$arch" == "i486" -o "$arch" == "i586" ]; then

flag=1

else

flag=0

fi

then flag=1 else flag=0 fi echo “Installing OpenCV 2.4.6.1″

2.4.6.1″ mkdir OpenCV

OpenCV cd OpenCV

OpenCV echo “Removing any pre-installed ffmpeg and x264″

x264″ sudo apt-get -y remove ffmpeg x264 libx264-dev

libx264-dev echo “Installing Dependenices”

sudo apt-get -y install libopencv-dev

Dependenices” sudo apt-get -y install libopencv-dev sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm

yasm sudo apt-get -y install libtiff4-dev libjpeg-dev libjasper-dev

libjasper-dev sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev

libv4l-dev sudo apt-get -y install python-dev python-numpy

sudo apt-get -y install libtbb-dev

python-numpy sudo apt-get -y install libtbb-dev sudo apt-get -y install libqt4-dev libgtk2.0-dev

libgtk2.0-dev sudo apt-get -y install libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev

libxvidcore-dev sudo apt-get -y install x264 v4l-utils ffmpeg

ffmpeg echo “Downloading OpenCV 2.4.6.1″

2.4.6.1″ wget -O OpenCV-2.4.6.1.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download

http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download echo “Installing OpenCV 2.4.6.1″

2.4.6.1″ tar -xvf OpenCV-2.4.6.1.tar.gz

OpenCV-2.4.6.1.tar.gz cd opencv-2.4.6.1

opencv-2.4.6.1 mkdir build

build cd build

build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

.. make -j4

-j4 sudo make install

install sudo sh -c ‘echo “/usr/local/lib” > /etc/ld.so.conf.d/opencv.conf’

sudo ldconfig

/etc/ld.so.conf.d/opencv.conf’ sudo ldconfig echo “OpenCV 2.4.6.1 ready to be used”

*****TEXT ENDS HERE********

b)save used”

Then save the file as opencv.sh on the desktop

Step2:- Step2: Open a terminal and type a)cd type

cd Desktop
b)chmod chmod +x opencv.sh
c)./opencv.sh

./opencv.sh

and wait till u you get the message ” OpenCV 2.4.6.1 ready to be used “

I cant solve your problem exactly,But here's a way i installed opencv link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/ Hope this helps you.link:http://abhishek4273.wordpress.com/2014/02/05/install-opencv/

The contents of the above link: Install Opencv-2.4.6.1 as it has resolved bugs and stable

Step 1:- Open a new document and paste the following in it

arch=$(uname -m)

if [ "$arch" == "i686" -o "$arch" == "i386" -o "$arch" == "i486" -o "$arch" == "i586" ]; then

flag=1

else

flag=0

fi

echo “Installing OpenCV 2.4.6.1″

mkdir OpenCV

cd OpenCV

echo “Removing any pre-installed ffmpeg and x264″

sudo apt-get -y remove ffmpeg x264 libx264-dev

echo “Installing Dependenices”

sudo apt-get -y install libopencv-dev

sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm

sudo apt-get -y install libtiff4-dev libjpeg-dev libjasper-dev

sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev

sudo apt-get -y install python-dev python-numpy

sudo apt-get -y install libtbb-dev

sudo apt-get -y install libqt4-dev libgtk2.0-dev

sudo apt-get -y install libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev 
libtheora-dev libvorbis-dev libxvidcore-dev

sudo apt-get -y install x264 v4l-utils ffmpeg

echo “Downloading OpenCV 2.4.6.1″

wget -O OpenCV-2.4.6.1.tar.gz http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz/download

echo “Installing OpenCV 2.4.6.1″

tar -xvf OpenCV-2.4.6.1.tar.gz

cd opencv-2.4.6.1

mkdir build

cd build

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

make -j4

sudo make install

sudo sh -c ‘echo “/usr/local/lib” > /etc/ld.so.conf.d/opencv.conf’

sudo ldconfig

echo “OpenCV 2.4.6.1 ready to be used”

Then save the file as opencv.sh on the desktop

Step2: Open a terminal and type

cd Desktop
chmod +x opencv.sh
./opencv.sh

and wait till you get the message ” OpenCV 2.4.6.1 ready to be used “

Hope this helps you :)