Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Is SFML Compatable with Emscripten (Webassembly)?  (Read 11364 times)

0 Members and 1 Guest are viewing this topic.

JohnnyUrosevic

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Is SFML Compatable with Emscripten (Webassembly)?
« on: May 18, 2020, 03:26:07 am »
I know this has been posted before, but that was years ago and webassembly / emscripten have evolved a lot. I know emscripten hooks into cmake to make webassembly compatable .so files. Has anyone had success with this? Or is there something about SMFL currently that would make this not work

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Is SFML Compatable with Emscripten (Webassembly)?
« Reply #1 on: May 19, 2020, 09:40:11 am »
The main issue as mentioned in all the other threads isn't the integration or building, but the fact that SFML currently does not support OpenGL ES 2 and thus doesn't work with Emscripten.

There are still ongoing efforts in changing the handling of shaders in order to make SFML work with OpenGL ES 2.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laguna_1989

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Is SFML Compatable with Emscripten (Webassembly)?
« Reply #2 on: April 05, 2022, 03:19:08 pm »
Would be highly interested in this one as well. Any updates here?