7.2. Rust environment building

发布时间 : 2025-10-25 13:33:19 UTC      

Page Views: 9 views

Rust supports many integrated development environments (IDE) or specialized text editors for development.

The supported tools announced on the official website are as follows ( https://www.rust-lang.org/zh-CN/tools ):

Image0

This tutorial will use Visual Studio Code as our development environment (Eclipse has a version dedicated to Rust development, which is also a good choice for beginners).

Note: IntelliJ IDEA is difficult to debug after installing plug-ins, so developers who are used to using IDEA are recommended to use CLion, but CLion is not free.

7.2.1. Build Visual Studio Code development environment #

First, you need to install the latest version of the Rust compilation tool and Visual Studio Code.

Rust compilation tool: https://www.rust-lang.org/zh-CN/tools/install

Visual Studio Code: https://code.visualstudio.com/Download

Rust’s compilation tools rely on C language compilation tools, which means that at least one C language compilation environment already exists on your computer. If you are using a Linux system, you often already have GCC or clang. If you are using macOS, you need to install Xcode. If you are using the Windows operating system, you need to install Visual Studio 2013 or above (requires Cmax Candle + support) to use MSVC or install the MinGW + GCC compiler environment (Cygwin has not been tested yet).

7.2.2. Install the Rust compilation tool #

The Rust compilation tool recommends using the Rustup installation that you just downloaded from the link above. The downloaded Rustup is an executable program on Windows rustup-init.exe . (on other platforms it should be rustup-init.sh ).

Execute now rustup-init File:

Image1

The figure above shows a command line installation wizard.

If you have already installed MSVC (recommended), then the installation process will be very simple, type 1 and enter, and go straight to the secondstep.

《地理信息系统原理、技术与方法》  97

最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。