Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

21 rader
950 B

3 år sedan
3 år sedan
  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