From c81604bc18c02683fb158c111261756c238abda0 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 11 Jul 2014 12:44:25 +0100 Subject: [PATCH 1/2] Add newly introduced (MD5) sources to our MSVC project (also, add visibility stuff to the new MD5 class) --- libs/pbd/MSVCpbd/pbd.vcproj | 8 ++++++++ libs/pbd/pbd/md5.h | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libs/pbd/MSVCpbd/pbd.vcproj b/libs/pbd/MSVCpbd/pbd.vcproj index d41933286b..3c6d962df3 100644 --- a/libs/pbd/MSVCpbd/pbd.vcproj +++ b/libs/pbd/MSVCpbd/pbd.vcproj @@ -357,6 +357,10 @@ RelativePath="..\malign.cc" > + + @@ -687,6 +691,10 @@ RelativePath="..\pbd\localtime_r.h" > + + diff --git a/libs/pbd/pbd/md5.h b/libs/pbd/pbd/md5.h index cf0d0e80eb..80f45bc8ea 100644 --- a/libs/pbd/pbd/md5.h +++ b/libs/pbd/pbd/md5.h @@ -26,7 +26,9 @@ #include #include -class MD5 +#include "pbd/libpbd_visibility.h" + +class LIBPBD_API MD5 { public: MD5(); From 15de7aa4337440de2ab874fd2d8cc906c8445e7a Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 11 Jul 2014 12:48:31 +0100 Subject: [PATCH 2/2] Make our 'libs/timecode' project dependent on libpbd This is needed because one of its source modules now references 'rint()' (which isn't available in MSVC, although we already simulate it in libbd). --- libs/timecode/MSVCtimecode/timecode.vcproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/timecode/MSVCtimecode/timecode.vcproj b/libs/timecode/MSVCtimecode/timecode.vcproj index ac1046bc51..97ce3d16e2 100644 --- a/libs/timecode/MSVCtimecode/timecode.vcproj +++ b/libs/timecode/MSVCtimecode/timecode.vcproj @@ -60,6 +60,7 @@ />