新电脑刚装好Ubuntu和无线网卡驱动,可以正常上网了。Ubuntu安装完后自带make,比如装无线网卡时候进入目录,make编译安装网卡驱动。也自带gcc,但不带g++编译器。而软件开发仅有gcc是不够的。现在开始配置项目环境。首先是CMake编译器。因为我故意没装Synaptic Package Manager,下文是用命令行安装。
Source code: cmake-3.1.0.tar.gz, can be download from: http://www.cmake.org/download/
1) 解压,配置。(其实安装包里的README.rst里的说明已经很详细。)
arac@test:~/Downloads$ cd cmake-3.1.0
arac@test:~/Downloads/cmake-3.1.0$ sudo ./bootstrap
---------------------------------------------
CMake 3.1.0, Copyright 2000-2014 Kitware, Inc.
C compiler on this system is: cc
---------------------------------------------
Error when bootstrapping CMake:
Cannot find appropriate C++ compiler on this system.
Please specify one using environment variable CXX.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------