mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-12 10:09:09 -04:00
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.
@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user