When complete, ensure the Run MSYS2 now box is checked and select Finish. The same applies when you get to setting the start menu shortcuts step. In most cases, the recommended directory is acceptable. In the wizard, choose your desired Installation Folder. Note that MSYS2 requires 64 bit Windows 8.1 or newer. Run the installer and follow the steps of the installation wizard. You can download the latest installer from the MSYS2 page or use this direct link to the installer. To install the MinGW-w64 toolchain, check out this video or follow the steps below: This will provide you with the necessary tools to compile your code, debug it, and configure it to work with IntelliSense. Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries. You can install the C/C++ extension by searching for 'C++' in the Extensions view ( ⇧⌘X (Windows, Linux Ctrl+Shift+X)). To successfully complete this tutorial, you must do the following steps: If you have any problems, feel free to file an issue for this tutorial in the VS Code documentation repository. For those subjects, there are many good resources available on the Web. This tutorial does not teach you about GCC, GDB, minGW-w64, or the C++ language. After configuring VS Code, you will compile, run, and debug a Hello World program. In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from mingw-w64 to create programs that run on Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |