[swift-users] Compiling in VS 2013
Kevin Smith
kevin at kismith.co.uk
Tue Sep 9 12:22:04 CEST 2014
Hi,
On Mon, Sep 8, 2014 at 6:25 PM, Dennis Rutherford <Dennis at baroan.com> wrote:
> Sorted it;
>
> VS 2013 differs from older versions a little bit. Had to add
>
> #include <algorithm>
Thanks.
> to win_iocp_io_service.ipp (at line 19) if it matters.
>
> Also, don't know what was up with the Certificate checker either but did this:
>
> //http://msdn.microsoft.com/en-us/library/windows/desktop/aa380196(v=vs.85).aspx
> //PP_SMARTCARD_READER == 43 == (0x2B)
> //if (!CryptGetProvParam(hprov, PP_SMARTCARD_READER, (BYTE *)&smartCardReader, &bufferLength, 0)) {
> if (!CryptGetProvParam(hprov, 43, (BYTE *)&smartCardReader, &bufferLength, 0)) {
Is it possible you've just got visual studio, and not the platform SDK
installed, or something like that? I seem to remember that's where
these constants come from.
We'll make sure everything compiles with VS2013 Express before we release 3.0.
/K
>
> -----Original Message-----
> From: swift-users [mailto:swift-users-bounces at swift.im] On Behalf Of Dennis Rutherford
> Sent: Monday, September 8, 2014 10:56 AM
> To: swift-users at swift.im
> Subject: [swift-users] Compiling in VS 2013
>
> I downloaded the latest release of the software and couldn't build it in Visual Studio 2013. I then downloaded the latest version from GIT after seeing the changelogs and I'm still having issues compiling this.
>
> I don't know if the issue is in the included boost files (from the 3rdParty folder ) or in the source files. Also, there is this error:
> Swiften\TLS\CAPICertificate.cpp(186) : error C2065: 'PP_SMARTCARD_READER' : undeclared identifier which, I am able to comment out to get around but that probably isn't a good fix.
>
> Attached is the SCONS build log. (scons -k > buildlog.txt)
More information about the swift-users
mailing list