Skip to content

Instantly share code, notes, and snippets.

@nikolaybotev
Last active December 15, 2015 14:29
Show Gist options
  • Save nikolaybotev/5275278 to your computer and use it in GitHub Desktop.
Save nikolaybotev/5275278 to your computer and use it in GitHub Desktop.
Compile Remmina on Windows Using Cygwin
# Note: I had to install a lot of required libraries and dev packages from Cygwin.
# I am not listing these here. The easiest way around this would be to do a
# complete installation of cygwin.
#
# Build libvncserver
#
git clone git://git.code.sf.net/p/libvncserver/code libvncserver-code
cd !$
# TODO try with https://sourceforge.net/projects/libjpeg-turbo/files
aclocal \
&& autoheader \
&& automake --add-missing --copy \
&& autoconf \
&& ./configure --prefix=/usr \
&& make -j \
&& make install
#
# Build Remmina
#
cmake --build=build \
-DCMAKE_LEGACY_CYGWIN_WIN32=0 \
-DWITH_LIBSSH=OFF \
-DWITH_VTE=OFF \
-DWITH_APPINDICATOR=OFF \
-DWITH_GETTEXT=OFF \
-DWITH_FREERDP=OFF \
-DWITH_TELEPATHY=OFF \
-DWITH_GNOMEKEYRING=OFF \
-DHAVE_SYS_SOCKET_H=YES \
-DHAVE_SYS_UN_H=YES \
.
make -j
# WIP does not link...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment