红联Linux门户
Linux帮助

ubuntu14.04 for bagadus

发布时间:2015-11-10 09:55:07来源:linux网站作者:mydear_11000

1.gcc 4.7+ (for c++11, we use 4.8 as of writing this)


2.yasm (version 1.2+) http://yasm.tortall.net/Download.html
./configure
make -j8 && sudo make install


3.PylonSDK

3.1. Change to the directory which contains this INSTALL file, e.g.:
cd ~/pylon-4.0.0-x86

3.2. Extract the corresponding SDK into /opt
sudo tar -C /opt -xzf pylonSDK*.tar.gz

3.3. Install udev-rules to set up permissions for basler USB cameras
./setup-usb.sh
      
3.4. Unplug and replug all USB cameras to get the udev rules applied.
 
3.5. Execute /opt/pylon4/bin/PylonViewerApp to test your cameras.

3.6  setup env

export PYLON4=/opt/pylon4
export LD_LIBRARY_PATH=$PYLON4/lib64:$LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH=$PYLON4/include/pylon:$CPLUS_INCLUDE_PATH
export PATH=$PYLON4/bin:$PATH
export MANPATH=$PYLON4/doc/man:$MANPATH
export LC_ALL="en_US.UTF-8"
export PYLON_ROOT=/opt/pylon4
export GENICAM_ROOT_V2_3=/opt/pylon4/genicam
export GENICAM_CACHE="/tmp"
export GENICAM_CACHE_V2_3="/tmp"
export LD_LIBRARY_PATH=$PYLON4/genicam/bin/Linux64_x64/GenApi/Generic:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PYLON4/genicam/bin/Linux64_x64:$LD_LIBRARY_PATH


4.sudo apt-get install libudev-dev isc-dhcp-server libevent-dev postgresql libpq-dev libopenjpeg-dev libjasper-dev postgresql-server-dev-9.3


5.boost

下载boost1.53源文件http://sourceforge.net/projects/boost/files/latest/download?source=dlp

tar -xvf *.tar

./bootstrap.sh

修改  tools/build/v2/user-config.jam文件,在最后面加上一行“using mpi ;”(注意mpi后面有个空格,然后一个分号 )

./b2 --prefix=/usr/local/boost

sudo ./b2 install


6.install Dolphin:   

sudo add-apt-repository ppa:dolphin-emu/ppa 
sudo add-apt-repository ppa:dolphin-emu/gcc-for-dolphin 
sudo apt-get update 
sudo apt-get install dolphin-emu-master 


7.SISCI