raylib/projects/CodeBlocks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexandre Almeida 77353e7f31
Update GLFW to 3.5.1 (#6051)
* Update GLFW to 3.5.1

* Remove cocoa_time.c from rglfw.c

* Add macos_time.c to rglfw.c

* Redo changes from pull request #3863

* Makefile: add QuartzCore framework when building for macOS

* Add QuartzCore when building for macOS to other build files

* Remove unused GLFW dependencies
2026-08-12 13:02:51 +02: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 Update GLFW to 3.5.1 (#6051) 2026-08-12 13:02:51 +02:00
README.md Review projects details for raylib 4.2 2022-08-06 19:23:36 +02: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.2.0/raylib_installer_v420.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 installation 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