how can i use library osg in webAssembly? #1337
alihitman99
started this conversation in
General
Replies: 1 comment 1 reply
-
Have a look at osgverse (https://github.com/xarray/osgverse). It supports compiling OSG and osgEarth to WebAssembly using a Setup.sh shell script, with supports of WebGL 1 and WebGL 2. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i my project i use the library osg and developed with qt 6.5. and now i want to use this project for webAssembly. os is centos8. In this link, it is said that you should build OSG with emCmake or emconfigure.
But it gives an error when it is build. Where is the problem?
emconfigure cmake . -DCMAKE_TOOLCHAIN_FILE=../emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
Beta Was this translation helpful? Give feedback.
All reactions