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 […]
Tag: mingw
[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, […]
Visual Studio 2022 uses CMake+MinGW+Clang+LLDB as the development environment
The author wrote two blog posts about Visual Studio 2022 using MinGW: “Visual Studio 2022 uses MinGW to compile and debug C/C ++ programs”, “Visual Studio 2022 CMake + MinGW + GDB Debugging Target Program”, these two blog posts They all introduce the compilation and debugging of GCC + GDB, and the author of this […]
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 […]
Windows builds a C++ programming environment (VSCode+Mingw-w64)
Windows + VSCode + C++ (Mingw-w64) Because the ubuntu workstation has been shared with others recently, some small code logic hopes to be tested in the local windows10 environment, and some errors have been encountered during the configuration process, so I will share a smooth configuration process, hoping to write less bugs in the future […]
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 […]
Notepad++ uses mingw to compile C language under windows
mingw download link: https://winlibs.com/ The official website https://www.mingw-w64.org can also be downloaded, but the one downloaded from the official website will not work, try again later. The gcc compiler is also integrated in strawberry, and it can also be compiled with it, just tried it. After decompression, there are more than 1 G, just find […]