Cross-platform GUI application using OpenGL to render the same graphic scene on both native UI (wxWidgets) and web (WASM) frontends.
- Installed emsdk with configured environment.
- wxWidgets and OpenGL libraries. For Debian 10 use following command to install:
apt install libwxgtk3.0-dev libglew-dev libgl1-mesa-devgit clone https://github.com/jubnzv/wasm-wxwidgets-proof-of-concept example
pushd example/src/
make
popdTo run wx desktop application:
./src/wxTo run web frontend run:
cd static
python -m SimpleHTTPServer 8000See result at http://localhost:8000/
