Thursday 30 April 2015

Display DNS Setting in UDOO using teminal

Display your DNS address using terminal in udoo

$ nano /etc/resolv.conf

Install new opencv on UDOO

Install new opencv on UDOO

 1) Remove existing opencv from UDOO by using this command:

    find the location of opencv file and delete (login as root)

    $ sudo find / -name "*opencv*" -exec rm -i {} \;



2) Update and upgrade by using this command
    $ sudo apt-get update
    $ sudo apt-get upgrade



3) Install this package
   $ sudo apt-get install build-essential cmake pkg-config
   $ sudo apt-get install libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev
   $ sudo apt-get install libgtk2.0-dev
   $ sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
   $ sudo apt-get install libatlas-base-dev gfortran

4)Start to build and compile opencv
  $ wget -O opencv-2.4.10.zip http://sourceforge.net/projects/opencvlibrary/files/opencv- unix/2.4.10    /opencv-2.4.10.zip/download
   $ unzip opencv-2.4.10.zip
  $ cd opencv-2.4.10
  $ mkdir build
  $ cd build
  $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON  -D BUILD_EXAMPLES=ON ..

 $ make -j4 (using 4 core) or $make(single core)
 *if you receive error message during compilation, retry again to compile until success..
 $ sudo make install
  done.....


source:
http://www.pyimagesearch.com/2015/02/23/install-opencv-and-python-on-your-raspberry-pi-2-and-b/

Monday 20 April 2015

Install PYZMQ on UDOO board

pip install pyzmq --install-option="--zmq=bundled"

Install pip on linux (Python Installer Package)


Before excute this command

sudo python get-pip.py

download get-pip.py file at here

https://pip.pypa.io/en/latest/installing.html#install-pip

Sunday 5 April 2015

A simple IDE for C/C++ based on windows

A simple IDE for C/C++ based on  windows

http://www.codecutter.net/tools/quincy/

Wednesday 1 April 2015

Transfer file between linux and windows

http://www.mpipks-dresden.mpg.de/~mueller/docs/suse10.2/html/opensuse-manual_en/manual/sec.filetrans.winssh.html

Hello World in Linux for C language

http://mylinuxbook.com/a-hello-world-c-program-on-linux/