1. Install any C++ compiler (Visual Studio Community/MinGW for Windows or gcc for Linux).

The latest version of free version Visual Studio can be downloaded at this link: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx
MinGW can be downloaded at this link: https://sourceforge.net/projects/mingw-w64/

Linux user can use packet manager of your Linux distributive for gcc installation:

# yum group install 'Development Tools'				[CentOS/RHEL 7/6]
# dnf group install 'Development Tools'				[Fedora 22+ Versions]
# apt-get apt-get install build-essential 			[Debian/Ubuntu]

2. AggreGate C++ API use qmake for managing the build process of software using a compiler-independent method.

So you should to install the Qt library (qmake is required, QtCreator can use as quick and powerful IDE for C++).

The latest version can be downloaded at this link: https://www.qt.io/ru/download-open-source/

Use version for installed compiler.

Linux user can use packet manager:

# dnf install qt-devel qt-doc qt-creator			[CentOS/RHEL/Fedora]
# apt-get install qt5-default qttools5-dev-tools qtcreator 	[Debian/Ubuntu]

3. Install OpenSLL development libraries.

Windows users can find precompiled version at this link: http://www.npcglib.org/~stathis/blog/precompiled-openssl

Use version for installed compiler.

Not forget to add paths to include and libraries files to system path.

Linux user can use distributive packet manager:

# dnf install openssl-dev					[CentOS/RHEL/Fedora]
# apt-get install openssl-devel				 	[Debian/Ubuntu]

4. Install Boost development libraries.

Windows users can find precompiled version at this link: https://sourceforge.net/projects/boost/files/boost-binaries/

Use version for installed compiler.

Not forget to add paths to include and libraries files to system path.

Linux user can use packet manager:

# dnf install boost-dev						[CentOS/RHEL/Fedora]
# apt-get install boost-devel				 	[Debian/Ubuntu]

5. Open in QtCreator project "aggregatesdk.pro" and compile it. 

If you get some errors, check "INCLUDEPATH" and "LIBS" variables in *.pro file and full path to OpenSLL and Boost libraries (including system path).

Run the project, "cpp" AggreGate agent should appear and AggreGate Client.

Note! Compilation with Intel C++ Compiler and Clang not tested yet. API should work, but you have to update the PRO-file manually for this it.



Detailed NOTE for Windows:

1. Download BOOST: https://sourceforge.net/projects/boost/files/boost-binaries/1.62.0/boost_1_62_0-msvc-12.0-32.exe/download
2. Add BOOST_DIR to environment with BOOST installation path.
3. Download and install OPENSSL: https://slproweb.com/download/Win32OpenSSL-1_0_2q.exe
4. Add OPENSSL_DIR to environment with OPENSSL installation path.







