安裝ZeroC ICE
ZeroC ICE 是指ZeroC公司的ICE(Internet Communications Engine)中間件平臺。對于客戶端和服務端程序的開發提供了很大的便利。
git clone -b 3.6 https://github.com/zeroc-ice/ice.git
cd ice/cpp
make -j 8
make install
安裝protobuf
protobuf是google 的一種數據交換的格式,它獨立于語言,獨立于平臺。google 提供了多種語言的實現:java、c#、c++、go 和 python,每一種實現都包含了相應語言的編譯器以及庫文件。由于它是一種二進制的格式,比使用xml 進行數據交換快許多。可以把它用于分布式應用之間的數據通信或者異構環境下的數據交換。作為一種效率和兼容性都很優秀的二進制數據傳輸格式,可以用于諸如網絡傳輸、配置文件、數據存儲等諸多領域。
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar zxvf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1
./configure --prefix=/usr/local
make -j 8
make install
安裝boost
boost是一個可移植、提供源代碼的C++庫,作為標準庫的后備,是C++標準化進程的開發引擎之一
wget http://netix.dl.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz
tar zxvf boost_1_60_0.tar.gz
cd boost_1_60_0
./bootstrap.sh --prefix=/usr/local
./b2
./b2 --prefix=/usr/local link=static runtime-link=static install
安裝Qt
Qt 是一個跨平臺的C++圖形用戶界面應用程序框架。它提供給開發者建立圖形用戶界面所需的功能,廣泛用于開發GUI程序,也可用于開發非GUI程序。Qt是完全面向對象的,很容易擴展,并且允許真正地組件編程。
wget http://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.tar.gz
tar zxvf qt-everywhere-opensource-src-5.5.1.tar.gz
cd qt-everywhere-opensource-src-5.5.1
./configure --prefix=/usr -static -nomake examples -qt-xcb
gmake
gmake install