Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL support? #16

Open
maxplayrix opened this issue Aug 30, 2018 · 1 comment
Open

WebGL support? #16

maxplayrix opened this issue Aug 30, 2018 · 1 comment

Comments

@maxplayrix
Copy link

maxplayrix commented Aug 30, 2018

Hi! I was trying to use your lib in WebGL project, but I've got an error:
uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace

So, how difficult to make this lib works on WebGL platform? I can try to do it myself but I need some help with this. Can you give me some advice on how I can do it. Or the best way if you can do lib with WebGL support. Thank you!

@TimAidley
Copy link
Contributor

webp for unity3d uses native plugins to do the webp reading and writing, so I wouldn't normally expect it to work with Webgl. However, I did find this from Unity on using native compiled dlls in webgl:

https://blogs.unity3d.com/2017/01/19/low-level-plugins-in-unity-webgl/

I have no idea whether it will work, but good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants