libvncserver
libvncserver copied to clipboard
Emscripten port of SDLvncviewer
More of a fun project to see if it's actually working.
- [x] port to SDL2
- [ ] fix #26 as per https://kripken.github.io/emscripten-site/docs/porting/guidelines/api_limitations.html
Right now, this works in a hacky build setup using
emcmake cmaketo generate a rfbconfig.h- and this script to build
#!/bin/sh
emcc libvncclient/cursor.c libvncclient/listen.c libvncclient/rfbproto.c libvncclient/sockets.c libvncclient/vncviewer.c libvncclient/tls_none.c \
common/minilzo.c common/crypto_included.c common/d3des.c \
client_examples/SDLvncviewer.c \
--emrun \
-include rfb/rfbconfig.h -I. -Icommon -s TOTAL_MEMORY=67108864 -s USE_SDL=2 -o sdlvnc.html