eblern third-party installation

  • For core libraries libeblearn and libidx only (tools, testers and some demos may not compile):
    $ sudo apt-get install cmake g++ libatlas-base-dev imagemagick
  • For tools, demos and tester:
    $ sudo apt-get install libboost-filesystem-dev libboost-regex-dev libqt4-core libqt4-dev libqt4-gui libcppunit-dev libxml++2.6-dev mplayer mencoder
  • For developers only (tools for bug-free development):
    $ sudo apt-get install valgrind electric-fence doxygen

cppunit

CppUnit[1] 是Micheal Feathers由JUnit移植過來的一個在GNU LGPL條約下的並在sourcefogre網站上開源的C++單元測試框架


$ wget http://downloads.sourceforge.net/cppunit/cppunit-1.12.1.tar.gz
$ tar xzvf cppunit-1.12.1.tar.gz && cd cppunit-1.12.1
$ ./configure LDFLAGS='-ldl&& make && sudo make install


boost
$ wget http://sourceforge.net/projects/boost/files/boost/1.43.0/boost_1_43_0.tar.gz/download
$ tar xzvf boost_1_43_0.tar.gz && cd boost_1_43_0
$ ./bootstrap.sh --prefix=${HOME}/installed/boost && ./bjam install --with-filesystem --with-regex

Boost庫是一個可移植、提供源代碼的C++庫,作爲標準庫的後備,是C++標準化進程的開發引擎之一。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章