Closed lilengqiang closed 4 years ago
It works for me using the latest version of Emscripten. What version of it are you using? Are you using the latest version of this repository from master
, with submodules updated (git submodule update --init --recursive
)?
Please try a clean build (make clean
) with a fresh copy of the latest version of Emscripten and see if the problem persists.
Have you installed SDL? What is the output for sdl2-config
?
@kisvegabor I'm pretty sure having SDL installed on the host doesn't affect Emscripten (since it uses its own version), but it's worth a try.
sudo apt-get install libsdl2-dev
@kisvegabor @embeddedt what's the problem?
These are present on https://lvgl.io/demos too but it's still working
yes i know, but i want to compile one on my localhost, and came out this problem.
Try running it so that lvgl.html
is in the root folder (i.e.. serve the emscripten
folder as the HTML root directory).
The streaming error shouldn't break the webpage; it's just letting you know that the site will fall back to a different way of downloading the WASM.
@embeddedt Yes, that's what I did
how can i correct it?
Please try in Firefox without a webserver. Pay attention to this: https://github.com/lvgl/lv_sim_emscripten#known-issue-with-firefox
yes, i did it, but it failed(same error reason), so i put it to the web server.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.