![]() Select C (this should be selected by default) and press Next again. On the next page, read the description of the project type and press Next. Go to File → New → Project, select Console application and press Go: Let’s see how you can create a new C project. ![]() Press OK (lower right corner) to register the changes.īuilding a C project with Code::Blocks: Please note that the Make program entry remained unchanged! Here are the file names after I’ve removed the mingw32- prefix and changed the compiler’s installation directory: You can see the default settings in the next image: Select the Toolchain executables: first change the first three names starting with mingw32- by removing the above prefix and second change the Compiler’s installation directory to point to the MSYS2 installation directory, in my case this is C:\msys64\mingw64. Open Code::Blocks and go to Settings → Compiler: Let’s configure Code::Blocks for building C and C programs. At the end of the installation you will get an error about not finding a compiler, ignore the message and close this window.Ĭonfigure Code::Blocks for building C and C programs: Start the installation process and accept all defaults. On this page, select the version of the installer that doesn’t contain mingw in his name, typically this is the first option:
0 Comments
Leave a Reply. |