how can i use library osg in webAssembly?
-
wrote on 5 Oct 2024, 06:30 last edited by alihitman99 10 May 2024, 06:32
i my project i use the library osg and osgEarth. and now i want to use this project for webAssembly. the version of qt is 6.5 and os is centos8. In this link, it is said that you should build OSG with emCmake or emconfigure.
[https://github.com/cubicool/osg-wasm](link url)
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
-
Lifetime Qt Championwrote on 5 Oct 2024, 07:06 last edited by Christian Ehrlicher 10 May 2024, 07:06
Shouldn't you ask the osg devs on how to use their library with web assembly?
-
Shouldn't you ask the osg devs on how to use their library with web assembly?
wrote on 6 Oct 2024, 05:11 last edited by@Christian-Ehrlicher Unfortunately, I asked this question in the OSG forum, but I did not get an answer
-
i my project i use the library osg and osgEarth. and now i want to use this project for webAssembly. the version of qt is 6.5 and os is centos8. In this link, it is said that you should build OSG with emCmake or emconfigure.
[https://github.com/cubicool/osg-wasm](link url)
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
wrote on 7 Oct 2024, 03:40 last edited by@alihitman99
What is the error message?
2/4