The "utils.c" file was removed in commit "dd7a194" on January 10th, 2026. The build instructions in section 2.1 as written will fail if followed. Updating to match the current state of the source code. The build instructions for Emscripten / HTML5 omitting "utils.c" were successfully run last night.

Kevin Kmetz
2026-02-10 14:37:19 -07:00
parent cb45ca7693
commit 18383ce583

@ -52,10 +52,9 @@ emcc -c rshapes.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rtextures.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rtext.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rmodels.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c utils.c -Os -Wall -DPLATFORM_WEB
emcc -c raudio.c -Os -Wall -DPLATFORM_WEB
emar rcs libraylib.a rcore.o rshapes.o rtextures.o rtext.o rmodels.o utils.o raudio.o
emar rcs libraylib.a rcore.o rshapes.o rtextures.o rtext.o rmodels.o raudio.o
```
Alternatively to `-DGRAPHICS_API_OPENGL_ES2`, the option `-DGRAPHICS_API_OPENGL_ES3` can also be passed.