mirror of https://github.com/raysan5/raylib
de0fca51a8 | ||
---|---|---|
.. | ||
README.md | ||
compiler_settings.png | ||
core_basic_window.c | ||
core_basic_window.cbp |
README.md
Raylib template for Code::Blocks
- 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
-
Install and run Code::Blocks.
-
Windows only: Select
Settings
Compiler
Toolchain executables
. ChangeCompiler's instrallation directory
toC:\raylib\MingGW
. Do not press auto-detect. There is a screenshot below showing how it should look. PressOK
. -
Select
File
Open
and open thecore_basic_windows.cbp
file.
For an example with resources, see https://github.com/electronstudio/raylib-game-template-codeblocks