Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0857E184FA for ; Tue, 29 Dec 2015 10:26:05 +0000 (UTC) Received: (qmail 15418 invoked by uid 500); 29 Dec 2015 10:25:59 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 15310 invoked by uid 500); 29 Dec 2015 10:25:59 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 14484 invoked by uid 99); 29 Dec 2015 10:25:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 10:25:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6622BE09B2; Tue, 29 Dec 2015 10:25:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.apache.org Date: Tue, 29 Dec 2015 10:26:35 -0000 Message-Id: <61a1f34ba6964d749438f4a326c3043a@git.apache.org> In-Reply-To: <585ff53451f148d89491218fac1248a2@git.apache.org> References: <585ff53451f148d89491218fac1248a2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [38/50] [abbrv] ignite git commit: IGNITE-2305: Splited C++ README into README and DEVNOTES. IGNITE-2305: Splited C++ README into README and DEVNOTES. Signed-off-by: Anton Vinogradov Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cdda4b52 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cdda4b52 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cdda4b52 Branch: refs/heads/ignite-2265 Commit: cdda4b524eb4cf600b0da367b738603ef8a287db Parents: 23d7e25 Author: isapego Authored: Mon Dec 28 14:56:25 2015 +0300 Committer: Anton Vinogradov Committed: Mon Dec 28 15:50:40 2015 +0300 ---------------------------------------------------------------------- modules/platforms/cpp/DEVNOTES.txt | 84 +++++++++++++++++++++++++++++++++ modules/platforms/cpp/README.txt | 82 ++------------------------------ 2 files changed, 87 insertions(+), 79 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/cdda4b52/modules/platforms/cpp/DEVNOTES.txt ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/DEVNOTES.txt b/modules/platforms/cpp/DEVNOTES.txt new file mode 100644 index 0000000..c97d04c --- /dev/null +++ b/modules/platforms/cpp/DEVNOTES.txt @@ -0,0 +1,84 @@ +Apache Ignite C++ Build Instructions +==================================== + +Building on Linux With Autotools +---------------------------------- + +Common Requirements: + + * GCC, g++, autotools, automake, and libtool must be installed + * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp + * JAVA_HOME environment variable must be set pointing to Java installation directory. + +Building the library: + + * Build Apache Ignite C++ helper "common" library: + * Navigate to the directory $IGNITE_HOME/platforms/cpp/common + * Execute the following commands one by one: + * libtoolize + * aclocal + * autoheader + * automake --add-missing + * autoreconf + * ./configure + * make + * make install + * Build Apache Ignite C++ library: + * Navigate to the directory $IGNITE_HOME/platforms/cpp/core + * Execute the following commands one by one: + * libtoolize + * aclocal + * autoheader + * automake --add-missing + * autoreconf + * ./configure + * make + * make install + +NOTE: "make install" command may require superuser privileges. In this case it must be +executed as "sudo make install". + +Development: + + * IGNITE_HOME environment variable must be set to Ignite installation directory. + * Once both libraries are built and installed, required headers are placed in the + "/usr/local/include/ignite" directory. + * Apache Ignite C++ depends on jni.h file located inside ${JAVA_HOME}/include directory. + Add this directory to headers search path: "-I${JAVA_HOME}/include". + * Library is placed in the "/usr/local/lib" directory. Link it to your project: "-lignite". + * Ignite depends on "libjvm.so" library shipped with Java. Typically this library is located inside + $JAVA_HOME/jre/lib/amd64/server directory. Ensure that LD_LIBRARY_PATH environment variable points to this directory. + + +Building on Windows with Visual Studio (tm) +---------------------------------- + +Common Requirements: + + * Microsoft Visual Studio (tm) 2010 or later + * Windows SDK 7.1 + * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp + * JAVA_HOME environment variable must be set pointing to Java installation directory. + +Building the library: + + * Open and build %IGNITE_HOME%\platforms\cpp\project\vs\ignite.sln (or ignite_86.sln if you are running + 32-bit platform). + +Development: + + * IGNITE_HOME environment variable must be set to Ignite installation directory. + * Update Include Directories in Project Properties with paths to: + * $(IGNITE_HOME)\platforms\cpp\core\include + * $(IGNITE_HOME)\platforms\cpp\core\os\win\include + * $(IGNITE_HOME)\platforms\cpp\common\include + * $(IGNITE_HOME)\platforms\cpp\common\os\win\include + * $(JAVA_HOME)\include + * $(JAVA_HOME)\include\win32 + * Update Library Directories with path to the built binaries + * Update Linker\Input\Additional Dependencies in Project Properties with path to + * ignite.common.lib + * ignite.core.lib + * Make sure that your application is aware about ignite.common.dll and ignite.core.dll libraries. The easiest way + to achieve this is to either make sure these files are in %PATH%, or to put them into the output directory of + your project with help of PostBuild events. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ignite/blob/cdda4b52/modules/platforms/cpp/README.txt ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/README.txt b/modules/platforms/cpp/README.txt index 7053964..74dec60 100644 --- a/modules/platforms/cpp/README.txt +++ b/modules/platforms/cpp/README.txt @@ -18,84 +18,8 @@ Support for the following will be added in next releases: Full source code is provided. Users should build the library for intended platform. -Building on Linux With Autotools ----------------------------------- +Output files list: -Common Requirements: + * ignite.exe - executable to start standalone Ignite C++ node. + * ignite.core.dll - Ignite C++ API library. - * GCC, g++, autotools, automake, and libtool must be installed - * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp - * JAVA_HOME environment variable must be set pointing to Java installation directory. - -Building the library: - - * Build Apache Ignite C++ helper "common" library: - * Navigate to the directory $IGNITE_HOME/platforms/cpp/common - * Execute the following commands one by one: - * libtoolize - * aclocal - * autoheader - * automake --add-missing - * autoreconf - * ./configure - * make - * make install - * Build Apache Ignite C++ library: - * Navigate to the directory $IGNITE_HOME/platforms/cpp/core - * Execute the following commands one by one: - * libtoolize - * aclocal - * autoheader - * automake --add-missing - * autoreconf - * ./configure - * make - * make install - -NOTE: "make install" command may require superuser privileges. In this case it must be -executed as "sudo make install". - -Development: - - * IGNITE_HOME environment variable must be set to Ignite installation directory. - * Once both libraries are built and installed, required headers are placed in the - "/usr/local/include/ignite" directory. - * Apache Ignite C++ depends on jni.h file located inside ${JAVA_HOME}/include directory. - Add this directory to headers search path: "-I${JAVA_HOME}/include". - * Library is placed in the "/usr/local/lib" directory. Link it to your project: "-lignite". - * Ignite depends on "libjvm.so" library shipped with Java. Typically this library is located inside - $JAVA_HOME/jre/lib/amd64/server directory. Ensure that LD_LIBRARY_PATH environment variable points to this directory. - - -Building on Windows with Visual Studio (tm) ----------------------------------- - -Common Requirements: - - * Microsoft Visual Studio (tm) 2010 or later - * Windows SDK 7.1 - * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp - * JAVA_HOME environment variable must be set pointing to Java installation directory. - -Building the library: - - * Open and build %IGNITE_HOME%\platforms\cpp\project\vs\ignite.sln (or ignite_86.sln if you are running - 32-bit platform). - -Development: - - * IGNITE_HOME environment variable must be set to Ignite installation directory. - * Update Include Directories in Project Properties with paths to: - * $(IGNITE_HOME)\platforms\cpp\core\include - * $(IGNITE_HOME)\platforms\cpp\core\os\win\include - * $(IGNITE_HOME)\platforms\cpp\common\include - * $(IGNITE_HOME)\platforms\cpp\common\os\win\include - * $(JAVA_HOME)\include - * $(JAVA_HOME)\include\win32 - * Update Library Directories with path to the built binaries - * Update Linker\Input\Additional Dependencies in Project Properties with path to - * ignite.common.lib - * ignite.core.lib - * Make sure that your application is aware about ignite.common.dll and ignite.core.dll libraries. The easiest way - to achieve this is to either make sure these files are in %PATH%, or to put them into the output directory of - your project with help of PostBuild events.