Skip to content

Commit

Permalink
add installation explanations to turtle README file
Browse files Browse the repository at this point in the history
  • Loading branch information
KaisenAmin committed Jun 27, 2024
1 parent e544324 commit 7b0783a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions turtle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ The Turtle Graphics library in C provides functions for drawing shapes and lines

## Installation and Compilation

### Installing Dependencies

To use this library, you need to have the `raylib` library installed. Follow the instructions below for your operating system:

#### Linux

Install `raylib` using your package manager or build from source. On Debian-based systems, you can use:

```bash
sudo apt-get install libraylib-dev
```

#### Windows

For Windows, it is recommended to use MSYS2 to install `raylib`. First, download and install MSYS2 from [msys2.org](https://www.msys2.org/). Then, open the MSYS2 terminal and run the following commands:

```bash
pacman -Syu
pacman -S mingw-w64-x86_64-raylib
```


To use this library, include `turtle.h` in your project and compile the source files with your C compiler. For GCC, the following command can be used:

```bash
Expand Down

0 comments on commit 7b0783a

Please sign in to comment.