common_util
|
When compiling this project locally, the following software needs to be installed:
Install Visual Studio The only thing you need to care about is to choose "Custom" installation and only install the "Visual C++" related modules (if you are only using it for developing C++ projects), otherwise the installation time will be very long.
Create a Console Application project, write some code to print "Hello World". Then compile and run it, if "Hello World" is printed correctly, the installation is successful.
Install CMake
Here are some things to note:
Choose "Add CMake to the system PATH" to add CMake to the system environment variables, otherwise you need to add CMake to the PATH environment mannually.
t is recommended to customize the installation directory, and the directory name should not contain spaces or special characters, otherwise there may be path-related issues when executing from the command line.
Test and verify
Open the command line and enter cmake --version
, If the version number is displayed correctly, the installation is successful.
Open the command line and enter cmake --version
, If the version number is displayed correctly, the installation is successful.
Open the command line and enter gcc --version
, If the version number is displayed correctly, the installation is successful.
If Homebrew is not installed, please install Homebrew first:
Open the command line and enter gcc --version
, If the version number is displayed correctly, the installation is successful.
Open the command line and enter cmake --version
, If the version number is displayed correctly, the installation is successful.