Nikita-tech-writer commented on a change in pull request #9680:
URL: https://github.com/apache/ignite/pull/9680#discussion_r773998404
##########
File path: docs/_docs/SQL/ODBC/odbc-driver.adoc
##########
@@ -163,62 +163,57 @@ Apache Ignite ODBC Driver was officially tested on:
== Building ODBC Driver
-Ignite is shipped with pre-built installers for both 32- and 64-bit versions
of the driver for Windows. So if you just want to install ODBC driver on
Windows you may go straight to the <<Installing ODBC Driver>> section for
installation instructions.
+Ignite is shipped with pre-built installers for both 32- and 64-bit versions
of the driver for Windows.
+So if you just want to install ODBC driver on Windows you may go straight to
the <<Installing ODBC Driver>>
+section for installation instructions.
-If you use Linux you will still need to build ODBC driver before you can
install it. So if you are using Linux or if you still want to build the driver
by yourself for Windows, then keep reading.
-
-Ignite ODBC Driver source code is shipped as part of the Ignite package and it
should be built before usage.
-
-Since the ODBC Driver is written in {cpp}, it is shipped as part of Ignite
{cpp} and depends on some of the {cpp} libraries. More specifically, it depends
on the `utils` and `binary` Ignite libraries. This means that you will need to
build them prior to building the ODBC driver itself.
-
-We assume here that you are using the binary Ignite release. If you are using
the source release, instead of `%IGNITE_HOME%\platforms\cpp` path you should
use `%IGNITE_HOME%\modules\platforms\cpp` throughout.
+If you use Linux you will still need to build ODBC driver before you can
install it.
+So if you are using Linux or if you still want to build the driver by yourself
for Windows, then keep reading.
=== Building on Windows
-You will need MS Visual Studio 2010 or later to be able to build the ODBC
driver on Windows. Once you have it, open Ignite solution
`%IGNITE_HOME%\platforms\cpp\project\vs\ignite.sln` (or `ignite_86.sln` if you
are running 32-bit platform), left-click on odbc project in the "Solution
Explorer" and choose "Build". Visual Studio will automatically detect and build
all the necessary dependencies.
-
-The path to the .sln file may vary depending on whether you're building from
source files or binaries. If you don't see your .sln file in
`%IGNITE_HOME%\platforms\cpp\project\vs\`, try looking in
`%IGNITE_HOME%\modules\platforms\cpp\project\vs\`.
-
-NOTE: If you are using VS 2015 or later (MSVC 14.0 or later), you need to add
`legacy_stdio_definitions.lib` as an additional library to odbc project
linker's settings in order to be able to build the project. To add this library
to the linker input in the IDE, open the context menu for the project node,
choose `Properties`, then in the `Project Properties` dialog box, choose
`Linker`, and edit the `Linker Input` to add `legacy_stdio_definitions.lib` to
the semi-colon-separated list.
+You should install these dependencies:
-Once the build process is complete, you can find `ignite.odbc.dll` in
`%IGNITE_HOME%\platforms\cpp\project\vs\x64\Release` for the 64-bit version and
in `%IGNITE_HOME%\platforms\cpp\project\vs\Win32\Release` for the 32-bit
version.
+* MS Visual C++ (10.0 and up), g++ (4.4.0 and up)
+* OpenSSL (32-bit and 64-bit versions)
+* CMake 3.6+
+* http://wixtoolset.org[WiX Toolset] and add it to `%Path%`.
-NOTE: Be sure to use the corresponding driver (32-bit or 64-bit) for your
system.
-
-=== Building installers on Windows
-
-Once you have built driver binaries you may want to build installers for
easier installation. Ignite uses link:http://wixtoolset.org[WiX Toolset] to
generate ODBC installers, so to build them you'll need to download and install
WiX. Make sure you have added the `bin` directory of the WiX Toolset to your
PATH variable.
-
-Once everything is ready, open a terminal and navigate to the directory
`%IGNITE_HOME%\platforms\cpp\odbc\install`. Execute the following commands one
by one to build installers:
+Then do following:
Review comment:
```suggestion
Then, perform the following:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]