mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Working for Web (HTML5) (markdown)
@ -63,7 +63,7 @@ The compilation will generate some warnings but it should compile successfully.
|
|||||||
|
|
||||||
### 2.2 Using Makefile
|
### 2.2 Using Makefile
|
||||||
|
|
||||||
* For Windows users :
|
#### For Windows users :
|
||||||
|
|
||||||
Before compiling raylib, make sure all paths to emscripten installation (`EMSDK_PATH`) and emscripten required tools (Clang, Python, Node) are correctly configured on `raylib/src/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/src/Makefile#L181).
|
Before compiling raylib, make sure all paths to emscripten installation (`EMSDK_PATH`) and emscripten required tools (Clang, Python, Node) are correctly configured on `raylib/src/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/src/Makefile#L181).
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ If you are using the provided raylib installer with Notepad++, it comes with a N
|
|||||||
|
|
||||||
Note that current raylib/src/Makefile just adds/replace the compiled modules to any existing `libraylib.a` (instead of recreating it) so, if you had a previously compiled `libraylib.a` for desktop and you recompile raylib src for web, old modules are still inside `libraylib.a`. Solution: just delete `libraylib.a` and recompile it for `PLATFORM_WEB` or the new platform.
|
Note that current raylib/src/Makefile just adds/replace the compiled modules to any existing `libraylib.a` (instead of recreating it) so, if you had a previously compiled `libraylib.a` for desktop and you recompile raylib src for web, old modules are still inside `libraylib.a`. Solution: just delete `libraylib.a` and recompile it for `PLATFORM_WEB` or the new platform.
|
||||||
|
|
||||||
* For Linux/macOS users :
|
#### For Linux/macOS users :
|
||||||
|
|
||||||
Before compiling raylib, make sure all paths to emscripten installation (`EMSDK_PATH`) and emscripten required tools (Clang, Python, Node) are correctly configured on `raylib/src/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/src/Makefile#L181).
|
Before compiling raylib, make sure all paths to emscripten installation (`EMSDK_PATH`) and emscripten required tools (Clang, Python, Node) are correctly configured on `raylib/src/Makefile`, you must verify [these lines](https://github.com/raysan5/raylib/blob/master/src/Makefile#L181).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user