Skip to main content

Installation

CppModel is partially cloud service which comes with its client side libraries. These libraries allow connection between user software and the cloud with focus on simulation execution. They do not submit any user code to the cloud. The code and its execution happens always on the client machine.

The CppModel library comes as Windows and Debian installation packages and archives. This page describes installation steps by using install managers. For archived versions the installation paths and configurations are completely up to the user.

Linux

Debian packages

Debian package is a .deb file which could be installed with apt or dpkg tools. To achieve that download the latest .deb release and execute the following command in the directory containing the file. Make sure to replace the name with the proper filename.

sudo apt install -f ./cppmodel_x.x.x_arch.deb

You might need to run ldconfig to make Linux re-scan for libraries. You can do so by:

ldconfig

Include in project

Windows

Windows package

To install Windows package from setup script locate the setup file for your computer and download it. Double click on the executable and follow the steps provided from installation manager. The manager installs CppModel library in "ProgramFiles/CppModel" for 64 bit and "ProgramFiles x86/CppModel" for 32 bit systems. Once installed make sure to point the proper library and include file locations in the build scripts. In CMake environment this could be done as follows:

include_directories("C:\\Program Files\\CppModel\\include")
link_directories("C:\\Program Files\\CppModel\\lib")

MSYS2

Include in project