VSCode configures C/C++ environment, editing (VSCode) + compiling (MinGW->GCC) + debugging (MinGW->GBD)

Table of Contents Install VSCode Install MinGW Download MinGW Install MinGW Early preparation, compilation, debugging Install prerequisite plugins add working directory gcc compile Select the GCC compiler Optimize compilation control file (tasks.json) GDB debugging Select the GDB debugger Optimize the debug control file (launch.json) Multi-project, multi-file compilation Install VSCode Directly go to the official website […]

[mingw-w64-x86_64-python in MSYS2] VC 6.0 is not supported by this module

Described in the order of the installation library and the possibility of various errors 1. Follow the normal tutorial_Use domestic source pip installation When installing the python third-party library pandas (after testing, it was found that many third-party libraries will have such problems at this time), the installation was successful when using pip at first, […]

How to use VScode + MinGW to write C++ programs

How to use VScode + MinGW to write C++ programs 1 Install VScode, configure MinGw environment 2 How to write a hello world 2.1 Preparations 2.2 open vscode 2.3 Create the corresponding json file 1 Install VScode, configure MinGw environment There are many tutorials on installing vscode and configuring gcc on the Internet, so I […]

Construction of C++ development environment-Windows: VSCode+mingw64+CMake

Article directory 1. Software installation 1. URL and downloaded software 2. Configure the simplest plug-in about C++ in VSCode: 2. Compilation requirements for C++ debugging environment 1. Take the -g parameter when compiling 2. Multi-file compilation requires step-by-step compilation 3. The debugging configuration of VSCode is as follows: 1. Single file debugging settings 2. Multi-file […]

windows install MSYS2 (mingw && gcc)

One, Introduction This article mainly introduces how to install the msys environment in the windows environment. Second, software installation steps 2.1 Official website download msys official website link: https://www.msys2.org/ Download completed: 2.2 Software installation: Select the directory to be installed according to the prompt on the webpage, and wait for the installation to complete. The […]

Mingw32/64 compiles LibTomCrypt encryption library and adds AES encryption function to VisualFreeBasic

As far as I know, there are four pure C encryption libraries, namely LibTomCrypt/OpenSSL/rijndael_alg_fst.c/CryptLib. OpenSSL is too large and has a confusing structure. I have been trying to compile one with only a few specific algorithms, but without success. The AES supported by rijndael_alg_fst does not feel very perfect. Currently, only three encryption methods are […]

Use mingw to compile protobuf under win10 system, and use cmake to configure the application in vscode

Use mingw to compile protobuf under win10 system, and use cmake to configure the application in vscode 1 Install the mingw compiler Here the author uses the mingw compiler that comes with QT6 to compile, and other versions are not tested, and it should be fine. 2 Install cmake editor You can refer to other […]