c++visual-studio-2010librsync

How to compile and build librsync using visual Studio 2010?


We have a requirement where we need some rsync library.I came across something named as librsync and downloaded it from this Link

In the readme file of this library its mentioned

The PCbuild directory contains a project and pre-generated config files for use with the MSVC++ IDE. This should be enough to compile rdiff.exe without requiring cygwin.

But when I opened it in MSVC++ IDE and built it,it gave me more than 36 compile time errors.I guess I'm doing something wrong or missing some important steps to do it.

I am using MS Visual Studio 2010 premium on windows 7 PC.

Please help in case anyone here has successfully ran this project library using visual studio 2010.


Solution

  • After opening the .dsw VC++ 6 workspace file with VS2010 and using the automatic project conversion, I had to make the following minimal changes to get it to compile:

    There were still 72 warnings, and I didn't test the result, but that should help you get started.