Skip to content

Build on Windows with Visual C 2010

nschneider edited this page Sep 28, 2012 · 17 revisions

Table of Contents

Prerequisites

There are reports that you need 32 bit OpenSSL even on a 64 bit System, otherwise the build fails. Note that Visual Studio Express only build 32 bit binaries and cannot work with 64 bit dlls at all.

If you like working in a shell, get cygwin. You can also use cygwins git, but NOT the cmake that comes with cygwin

Obtaining the source

git clone git://github.com/FreeRDP/FreeRDP.git

Preparing the build

From the command line, go to the directory where you pulled the sources and type

cmake .
Of course, you can also run cmake-gui that comes with the windows cmake install and point it to your sources. See Build options for a list of options you can specify.

Building

In Visual Studio, open the FreeRDP project map and build it. It should build clean.

Known Problems

  • you need --sec tls on the command line, this is true for my linux build, too

Plugin status

  • rdpdr disk, printer and smartcard plugin are actively developed and should be available soon (Sept. 2012)
  • cliprdr plugin lacks ~1000 lines of source and does not yet work, though it builds clean
  • Status of all other plugins is unknown
  • For info on how to use the plugins, see http://manpages.ubuntu.com/manpages/maverick/man1/xfreerdp.1.html. Note there is one difference: Substitute a ':' in a win path by '+', eg to export the whole of drive c:, say 'disk:MyShare:C+\' . Dont forget the \ or it crashes..

Dev Snapshot