You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using the latest emscripten incoming branch? The missing structure is part of the very new WebGL context setup functions which is only in emscripten since last week or so. Updating the emscripten SDK to the latest version should fix this, easiest way is like this:
I build it on osx.
[ 57%] Building CXX object code/Modules/HTTP/CMakeFiles/HTTP.dir/emsc/emscURLLoader.cc.o
Linking CXX static library libHTTP.a
[ 57%] Built target HTTP
Scanning dependencies of target Render
[ 57%] Building CXX object code/Modules/Render/CMakeFiles/Render.dir/RenderProtocol.cc.o
[ 58%] Building CXX object code/Modules/Render/CMakeFiles/Render.dir/RenderFacade.cc.o
In file included from /Users/xxx/SDK/oryol/code/Modules/Render/RenderFacade.cc:5:
In file included from /Users/xxx/SDK/oryol/code/Modules/Render/RenderFacade.h:10:
In file included from /Users/xxx/SDK/oryol/code/Modules/Render/Core/displayMgr.h:18:
/Users/xxx/SDK/oryol/code/Modules/Render/emsc/emscDisplayMgr.h:34:5: error:
unknown type name 'EMSCRIPTEN_WEBGL_CONTEXT_HANDLE'
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE ctx;
^
1 error generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
make[2]: *** [code/Modules/Render/CMakeFiles/Render.dir/RenderFacade.cc.o] Error 1
make[1]: *** [code/Modules/Render/CMakeFiles/Render.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 58%] Built target hello
[ 58%] Built target CoreHello
make: *** [all] Error 2
ERROR: Build failed.
The text was updated successfully, but these errors were encountered: