1.作用 go build:用于测试编译包,在项目目录下生成可执行文件(有main包). go install:主要用来生成库和工具.一是编译包文件(无main包),将编译后的包文件放到 pkg 目录下($GOPATH/pkg).二是编译生成可执行文件(有main包),将可执行文件放到 bin 目录($GOPATH/bin). 2. 相同点 都能生成可执行文件 3. 不同点 go build 不能生成包文件, go install 可以生成包文件 go build 生成可执行文件在当前目录下,…
VS低版本打开高版本常会出现的错: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project m…
How to setup multimedia on CentOS-5 CentOS ships with basic sound support for audio content encoded with codecs for a variety of sound formats, including .wav and .ogg files. The alsa-utils and sox audio players are included for a TUI (CLI) environme…