Skip to content

Commit e321e7f

Browse files
committed
Update README.md
1 parent 462fc9d commit e321e7f

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,31 @@ Note that launcher can also be compiled for other platforms, just need to link w
4040
bin/raylib-lua-sol examples/core_basic_window.lua
4141
```
4242

43+
## Prebuild On Windows
44+
45+
Require:
46+
47+
- C Compiler: MinGW([Cygwin](https://cygwin.com/install.html),...) or [Visual Studio](https://visualstudio.microsoft.com/downloads/).
48+
- [CMake](https://cmake.org/download/).
49+
50+
## Prebuild On GNU Linux
51+
52+
```bash
53+
sudo apt install build-essential git cmake
54+
```
55+
56+
### Unbuntu
57+
58+
```bash
59+
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
60+
```
61+
62+
### Fedora
63+
64+
```bash
65+
sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel
66+
```
67+
4368
## Build
4469

4570
*raylib-lua-sol* uses cmake as a primary development target. Would appreciate adding more project templates, however.
@@ -49,7 +74,7 @@ git clone https://github.com/RobLoach/raylib-lua-sol.git
4974
cd raylib-lua-sol
5075
git submodule update --init
5176
cmake -B build .
52-
cmake --build build
77+
cmake --build build --config Release
5378
```
5479

5580
## Development

0 commit comments

Comments
 (0)