aboutsummaryrefslogtreecommitdiff
path: root/contrib/native/client/readme.win.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/native/client/readme.win.txt')
-rw-r--r--contrib/native/client/readme.win.txt25
1 files changed, 17 insertions, 8 deletions
diff --git a/contrib/native/client/readme.win.txt b/contrib/native/client/readme.win.txt
index df6ee6443..f1fdef852 100644
--- a/contrib/native/client/readme.win.txt
+++ b/contrib/native/client/readme.win.txt
@@ -35,6 +35,7 @@ Windows platforms should be more or less similar.
Note: For 64 bit builds, change the platform toolset to Windows SDK for your
project.
(Root node, i.e. the projectname) Properties ->Configuration Properties->General->Platform Toolset = Windows7.1SDK
+ If you are running Windows 7 and having problem isntalling windows SDK follow the instructions here http://stackoverflow.com/questions/19366006/error-when-installing-windows-sdk-7-1
1.3 [Optional] Windows Driver kit
The Windows Driver kit is required to get the 64 bit assembler ml64. The
@@ -76,7 +77,9 @@ Windows platforms should be more or less similar.
2.1 Boost (version 1.55)
a) Download Boost from:
- http://www.boost.org/users/history/version_1_55_0.html
+ i) http://www.boost.org/users/history/version_1_55_0.html
+ ii) open boost_1_55_0\boost/archive/iterators/transform_width.hpp and add the following to the include statements: #include <algorithm>
+ iii) Yes somehow this header was not included and has been missed! See here for more info: https://svn.boost.org/trac/boost/ticket/8757
b) i) Boost 32 bit build -
Open a Visual Studio command prompt from the Visual Studio IDE
ii) Boost 64 bit build -
@@ -89,19 +92,19 @@ Windows platforms should be more or less similar.
and build the libraries. Boost build will write the libraries to
<BOOST_HOME>/stage/lib. Copy them to an appropriately named directory
- C:> .\b2 variant=debug link=static threading=multi address-model=64 toolset=msvc runtime-link=shared
+ C:> .\b2 variant=debug link=static threading=multi address-model=64 toolset=msvc-10.0 runtime-link=shared
C:> mkdir Debug64
C:> copy stage\lib\* Debug64
- C:> .\b2 variant=release link=static threading=multi address-model=64 toolset=msvc runtime-link=shared
+ C:> .\b2 variant=release link=static threading=multi address-model=64 toolset=msvc-10.0 runtime-link=shared
C:> mkdir Release64
C:> copy stage\lib\* Release64
- C:> .\b2 variant=debug link=static threading=multi address-model=32 toolset=msvc runtime-link=shared
+ C:> .\b2 variant=debug link=static threading=multi address-model=32 toolset=msvc-10.0 runtime-link=shared
C:> mkdir Debug32
C:> copy stage\lib\* Debug32
- C:> .\b2 variant=release link=static threading=multi address-model=32 toolset=msvc runtime-link=shared
+ C:> .\b2 variant=release link=static threading=multi address-model=32 toolset=msvc-10.0 runtime-link=shared
C:> mkdir Release32
C:> copy stage\lib\* Release32
e) Notes:
@@ -113,12 +116,16 @@ Windows platforms should be more or less similar.
build. It is safe to ignore it as boost-context is not needed for Drill
2.2 Protobuf (2.5.0)
+ Get protobuf from here: https://protobuf.googlecode.com/files/protobuf-2.5.0.zip
+
+
a) Protobuf builds static libraries
b) In Visual Studio, open <PROTOBUF_HOME>/vsprojects/protobuf.sln. The IDE may
update the solution file. This should go thru successfully.
c) If build for 64 bit, add a 64 bit project configuration for each project. (Make sure the
platform toolset is set to Windows7.1SDK)
- d) Build
+ d) Build the protobuf project first (not the solution)
+ e) Build the solution!
2.3 Zookeeper (3.4.6)
a) Set the ZOOKEEPER_HOME environment variable
@@ -132,7 +139,7 @@ Windows platforms should be more or less similar.
ii) Change the output type for the zookeeper project to a static lib
Properties->Configuration Properties->General->Configuration Type = Static Library
iii) In the cli project add the preprocessor define USE_STATIC_LIB
- iiii) Build. Build zookeeper lib first, then build cli
+ iv) Build. Build zookeeper lib first, then build cli
3 Building Drill Clientlib
3.1 SET the following environment variables
@@ -176,4 +183,6 @@ Windows platforms should be more or less similar.
Check the libraries are all the same as your configuration (all debug, or all
release).
In particular, for debug builds, check the path of the protobuf library.
-
+
+5 Testing with querySubmitter
+querySubmitter query="select * from INFORMAITON_SCHEMA.SCHEMATA" type=sql connectStr=local=192.168.39.43:31010 api=sync logLevel=trace \ No newline at end of file