
These configurations are saved in "%AppData%\CodeBlocks\nf` file. The window will look like this screenshot: Then select the compiler, linker, make programs one-by-one. Choose the extraction folder of mingw-w64 (here E:\mingw64). Go to Settings > Compiler > Global Compiler Settings > Toolchain executables > Compiler's Installation Directory. Open Code::Blocks and click FIle > Create a new Project. Copy the 'raspberrypi' folder into this folder. Close the 'compilers' folder, open up the 'templates' folder, and then open the 'wizards' folder. There will be a warning like 'No compiler found'. Navigate to /usr/share/codeblocks Open the 'compilers' folder and copy 'compilerrpi.xml' and 'optionsrpi.xml' into it.

Open CodeBlocks.exe from that extraction folder. When posting this problem, include the name of your compiler, operating system, Code::Blocks version, compiler log (go to Settings->Compiler and debugger.->Build options (tab) and check Save build log and Always output the full command line), and, if it caused Code::Blocks to crash, the codeblocks.RPT file (located in the Code::Blocks. For example, here I choose E:\CodeBlocks and E:\mingw64. The mingw-w64 file may be with seh or sjlj Extract those in any drive or any folder with 7zip.

The required links will be in last section.ĭownload Code::Blocks and mingw-w64 from it's download page, the file name will be like '' and 'x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z' respectively. However, if we want to execute C programs from command prompt, we have to add its bin. The next step, don’t do anything, just click the Next > button to install packages. Now click I Agree to accept the license agreement. These settings may vary in other languages. Once Codeblocks is installed, GCC compiler also gets installed with it. Download CodeBlocks IDE online installer (Ex: ) Double-click to run the downloaded installer and click the Next > button. Here I explain the procedure with the ZIP files which does not requires administrator privilege or a setup.exe, just extract those with any decompression tool.
