We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to compile it with the latest emsdk, compile code :
emcc renderer.cpp -Werror -std=c++11 -O3 -g0 -s USE_WEBGL2=1 -s USE_SDL=2 -s WASM=1 -s TOTAL_MEMORY=134217728 -s EXPORTED_FUNCTIONS="['_initializeOpenGL', '_render', '_loadJPEGImage']" -s EXTRA_EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap']" --post-js renderer_post.js -o renderer.js
If i open it in the browser now in my case Firefox (64-bit) it will show me the following errors :
Warning : wasm streaming compile failed: TypeError: Response has unsupported MIME type Warning : falling back to ArrayBuffer instantiation Warning : Error compiling shader
Error: TypeError: Argument 2 of WebGLRenderingContext.attachShader is not an object.
I used fo that Windows 10 1903 x64, Firefox x64, emsdk (1.38.40), Visual Studio Code 1.36.1
The text was updated successfully, but these errors were encountered:
I try to compile it with the latest emsdk, compile code : emcc renderer.cpp -Werror -std=c++11 -O3 -g0 -s USE_WEBGL2=1 -s USE_SDL=2 -s WASM=1 -s TOTAL_MEMORY=134217728 -s EXPORTED_FUNCTIONS="['_initializeOpenGL', '_render', '_loadJPEGImage']" -s EXTRA_EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap']" --post-js renderer_post.js -o renderer.js If i open it in the browser now in my case Firefox (64-bit) it will show me the following errors : Warning : wasm streaming compile failed: TypeError: Response has unsupported MIME type Warning : falling back to ArrayBuffer instantiation Warning : Error compiling shader Error: TypeError: Argument 2 of WebGLRenderingContext.attachShader is not an object. I used fo that Windows 10 1903 x64, Firefox x64, emsdk (1.38.40), Visual Studio Code 1.36.1
I have the same problem. If you have decided, please write a decision.
Sorry, something went wrong.
No branches or pull requests
I try to compile it with the latest emsdk, compile code :
emcc renderer.cpp -Werror -std=c++11 -O3 -g0 -s USE_WEBGL2=1 -s USE_SDL=2 -s WASM=1 -s TOTAL_MEMORY=134217728 -s EXPORTED_FUNCTIONS="['_initializeOpenGL', '_render', '_loadJPEGImage']" -s EXTRA_EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap']" --post-js renderer_post.js -o renderer.js
If i open it in the browser now in my case Firefox (64-bit) it will show me the following errors :
Warning : wasm streaming compile failed: TypeError: Response has unsupported MIME type
Warning : falling back to ArrayBuffer instantiation
Warning : Error compiling shader
Error: TypeError: Argument 2 of WebGLRenderingContext.attachShader is not an object.
I used fo that Windows 10 1903 x64, Firefox x64, emsdk (1.38.40), Visual Studio Code 1.36.1
The text was updated successfully, but these errors were encountered: