emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

Emscripten: An LLVM-to-WebAssembly Compiler

Results 375 emscripten issues
Sort by recently updated
recently updated
newest added

In OpenGL or WebGL, i can create a offscreen canvas app, the code just like: ```c++ ...... void initContextGL() { EmscriptenWebGLContextAttributes attr; emscripten_webgl_init_context_attributes(&attr); attr.explicitSwapControl = EM_TRUE; attr.alpha = 0; #if...

_glGen*_ in library_webgl.js implemented with assumption that it called rarely: https://github.com/emscripten-core/emscripten/blob/619f08d9498f417eae94deab129f3e97df8995eb/src/library_webgl.js#L303-L311 I'm not a 3D developer, so I really don't know, but I think this assumption is correct for most...

Hi! This one should be easy but I have not found an elegant way to solve it. Using emscripten v3.1.59. I have a JS function which is called from C,...

Hi! Maybe I’m wrong but I believe the output should be the same. Here are the differences (using emscripten v3.1.59): ``` diff 5366,5429c5366,5369 < isAbs: path => path.charAt(0) === '/',...

Hi! Using emscripten v3.1.59, here are the two lines at the very beginning that should be fixed: ``` javascript var _scriptName = typeof document != 'undefined' ? document.currentScript?.src : undefined;...

I need help understanding how I would use emscripten with glfw. My first initial problem was the cmake configure command complain about this: ``` CMake Error at /home/mrmav/cmake/cmake-3.27.7-linux-x86_64/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could...

GLFW
help wanted

**Version of emscripten/emsdk:** ``` emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.59 (0e4c5994eb5b8defd38367a416d0703fd506ad81) clang version 19.0.0git (https:/github.com/llvm/llvm-project df762a1643bb5b0b3c907611d118c82d4b68a39d) Target: wasm32-unknown-emscripten Thread model: posix ``` **Failing command line in...

When compiling a simple WebAudio program, typescript type generation fails to register runtime exports. In fact, it fails as soon as I use ```-sAUDIO_WORKLET```. I used a simple main function...

Fixes #15217 This patch is used in our product to fix a problem described in #15217. I haven't run a full browser compatibility tests other than Chrome. But I see...

``` Node: v18.20.2 $ emcc --version emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.5 () Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt) This is free and open...