Socket通信(1):搭建开发环境

一. 准备工具

1. mac环境下的VMware Fusion, 下载地址:https://www.newasp.net/soft/462096.html

2. ubuntu 14.04 LTS, 不一定是14.04,但最好是LTS版本。https://www.cnblogs.com/yongdaimi/p/11509640.html

3. qtcreator下载,这里使用的是2.5.2版本(qt-creator-linux-x86_64-opensource-2.5.2.bin)。http://download.qt.io/archive/qtcreator/ 

二. 安装环境

分别安装Vmware Fusion, VMware Tools, QT 安装下列工具:

sudo apt-get update                   // 更新软件源
sudo apt-get install vim                // 安装vim编辑器

sudo apt-get install build-essential         // 安装C/C++编译器
sudo apt-get install automake autogen autoconf    // 安装automake
sudo apt-get install libqt4-* libqml*          // 安装QT相关的一些库。libqt4-* 会安装qt4相关的所有东西。

安装开发过程中所用到的库:

// v4l (video for linux)
sudo apt-get install libv4l-dev

// x264            
sudo apt-get install libx264-dev

// alsa 音频
sudo apt-get install libalsa-ocaml-dev

三. 将虚拟机设置为桥接模式

猜你喜欢

转载自www.cnblogs.com/yongdaimi/p/11520688.html