ContentsIndexHome
PreviousUpNext
C++

Requirements for the deploying a C++ SDK application in standalone mode

Depending on the kind of platform on which you are deploying you will need different files to be installed alongside your application. Additionally you need to provide the AIMMS host files that allow the SDK to start the AIMMS host process.

Windows

When deploying your C++ application, the following files (found in AIMMS_SDK_HOME\cpp\bin) need to installed alongside your application:

aimmssdk-${Toolset}.dll
armi-${Toolset}.dll
common-${Toolset}.dll
cppunit-${Toolset}.dll
log4cxx-${Toolset}.dll
net4cxx2-${Toolset}.dll
net4cxx-dev-${Toolset}.dll

 

Where the ${Toolset} variable depends on the Visual Studio version, the CPU architecture and the build-type you wish to deploy:

Toolset = ${vcVersion}_${Arch}_${BuildType}
vcVersion = vc120 | vc141
Arch = Win32 | x64
BuiltType = Debug | Release

 

So for example if you wish to deploy a Release version of your application build with Visual Studio 2013, for the x64 CPU architecture the ${Toolset} becomes:

vc120_x64_Release

 

Linux

When deploying your C++ application, the following dynamic link libraries (found in AIMMS_SDK_HOME/cpp/lib) need to be resolvable by your application:

libaimmssdk.so
libarmi.so
libcommon.so
libcppunit-1.12.so.1
liblog4cxx.so.10
libnet4cxx2.so
libnet4cxx-dev.so
libsdkcpp.so
libstdc++.so.6

you can do so e.g. by extending the LD_LIBRARY_PATH environment variable or use the proper linker flags for indicating where these libraries can be found (see the Makefile in the examples folder).