From e331689959d8c1cb64c1d0f8a30b13ba2e55bf52 Mon Sep 17 00:00:00 2001 From: gtrxAC <59177874+gtrxAC@users.noreply.github.com> Date: Sun, 9 Jan 2022 22:56:14 +0200 Subject: [PATCH] Updated Working for Web (HTML5) (markdown) --- Working-for-Web-(HTML5).md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Working-for-Web-(HTML5).md b/Working-for-Web-(HTML5).md index d91d04a..b0e6fa4 100644 --- a/Working-for-Web-(HTML5).md +++ b/Working-for-Web-(HTML5).md @@ -57,6 +57,8 @@ After the path configuration, just execute the following command: `make PLATFORM=PLATFORM_WEB -B` +_If you get "emcc: command not found" or a similar error when running `make` but the paths are correct, add `-e` to the end of the make command._ + Generated `libraylib.a` is placed in `raylib\src\libraylib.a` directory. #### Using CMake @@ -135,6 +137,8 @@ Once `Makefile` has been reviewed, to compile raylib source code, just execute t make PLATFORM=PLATFORM_WEB -B +_If you get "emcc: command not found" or a similar error when running `make` but the paths are correct, add `-e` to the end of the make command._ + _Note that required resources should be embedded into a `.data` file using the compiler parameter `--preload-file filename.ext` or `--preload-file folder` (already configured in the `Makefile` to use `resources` directory)._ Compilation will generate several output files: