libvncserver icon indicating copy to clipboard operation
libvncserver copied to clipboard

Emscripten port of SDLvncviewer

Open bk138 opened this issue 7 years ago • 0 comments

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 cmake to 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

bk138 avatar Aug 12 '18 20:08 bk138