Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Build with Visual Studio 2012 #59

Closed
wants to merge 1 commit into from

3 participants

@qbradley

Apparently was being included as a side effect of another header include in Visual Studio 2011. To build on 2012, I needed to add the include explicitly to stdafx.h.

Steps to build in Visual Studio 2012:

Run "node-gyp configure"
Open "build\sqlserver.vcxproj" in visual studio 2012
Visual Studio will ask if you want to update. Agree, then save all changes.
Run "node-gyp build"

@jguerin

Does this fix still build using Visual Studio 2010?

@qbradley

Yes. We include the STL headers together, so the order will not matter.

@jguerin

Great! I'll wait for @jkint to finish his RIs so that he can then pull this in. Thanks! :)

@jguerin jguerin was assigned
@jkint jkint closed this
@jguerin jguerin was unassigned by qbradley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 15, 2012
  1. @qbradley

    Build with Visual Studio 2012

    qbradley authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/stdafx.h
View
1  src/stdafx.h
@@ -34,6 +34,7 @@
#include <functional>
#include <algorithm>
#include <numeric>
+#include <memory>
#include "Utility.h"
#include "OdbcException.h"
Something went wrong with that request. Please try again.