emscripten-core / emsdk

Emscripten SDK
http://emscripten.org
Other
3k stars 682 forks source link

how to install sdl2,boost_header when i offline #1348

Closed deloverzeus closed 7 months ago

deloverzeus commented 7 months ago

When i use flag -s USE_SDL=2 or -s USE_BOOST_HEADER=1,it will download sdl2 or boost_header.But sometime my internet doesn't work. So I have download sdl2 and boost_header in my local disk, how to install them offline when i execute -s USE_SDL=2

sbc100 commented 7 months ago

You can use embuilder to download and build any libraries you might need. e.g. ./embuilder build sdl2

deloverzeus commented 7 months ago

You can use embuilder to download and build any libraries you might need. e.g. ./embuilder build sdl2

thx