You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
950 B

3 years ago
3 years ago
  1. # raylib template for Code::Blocks
  2. 1. Install raylib.
  3. On Windows you should install the **Windows Installer (with MinGW compiler)** package.
  4. On other platforms you can install however you like following the instructions in the wiki.
  5. * https://github.com/raysan5/raylib/releases/download/4.2.0/raylib_installer_v420.mingw.exe
  6. * https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux
  7. * https://github.com/raysan5/raylib/wiki/Working-on-macOS
  8. 2. Install and run Code::Blocks.
  9. 3. **Windows only**: Select `Settings` `Compiler` `Toolchain executables`.
  10. Change `Compiler's installation directory` to `C:\raylib\MingGW`. Do *not* press auto-detect.
  11. There is a screenshot below showing how it should look. Press `OK`.
  12. 4. Select `File` `Open` and open the `core_basic_windows.cbp` file.
  13. ![Compiler Settings](compiler_settings.png)
  14. For an example with resources, see https://github.com/electronstudio/raylib-game-template-codeblocks