raylib/projects/CodeBlocks
2021-11-02 18:49:53 +01:00
..
compiler_settings.png Re-write Code::Blocks template to work on Linux and Macos (#2073) 2021-10-19 19:50:21 +02:00
core_basic_window.c Re-write Code::Blocks template to work on Linux and Macos (#2073) 2021-10-19 19:50:21 +02:00
core_basic_window.cbp Re-write Code::Blocks template to work on Linux and Macos (#2073) 2021-10-19 19:50:21 +02:00
README.md Updated scripts 2021-11-02 18:49:53 +01:00

Raylib template for Code::Blocks

  1. Install Raylib.

On Windows you should install the Windows Installer (with MinGW compiler) package. On other platforms you can install however you like following the instructions in the wiki.

* https://github.com/raysan5/raylib/releases/download/4.0.0/raylib_installer_v400.mingw.exe
* https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux
* https://github.com/raysan5/raylib/wiki/Working-on-macOS
  1. Install and run Code::Blocks.

  2. Windows only: Select Settings Compiler Toolchain executables. Change Compiler's instrallation directory to C:\raylib\MingGW. Do not press auto-detect. There is a screenshot below showing how it should look. Press OK.

  3. Select File Open and open the core_basic_windows.cbp file.

Compiler Settings

For an example with resources, see https://github.com/electronstudio/raylib-game-template-codeblocks