The following guides provide the necessary compiler and environment settings required to build and run an EMA C++ application.
Note: EMA is packaged as part of the Refinitiv Real-Time SDK (RTSDK) bundle. Refer to the README file within the Ema subfolder of the RTSDK bundle for the complete list of OS and compiler support.
The EMA packages provide the ability to:
EMA static libraries | EMA shared libraries | |
---|---|---|
Visual Studio | Statically Linked Binary | Dynamically Linked Binary |
Linux | Statically Linked Binary | Dynamically Linked Binary |
Note: <EMA root> is a directory which is located within your RTSDK installation package
Include Path | Within Properties: VC++ Directories -> Include Directories define the following:
|
---|---|
Lib Path (EMA 1.2 or greater) |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2015 (EMA 1.0.2 or greater) |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2013 |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2012 |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Libs | Within Properties: Linker -> Input -> Additional Dependencies include the entry below:
|
Compiler Settings | Within Properties define all settings below:
|
Runtime Environment | No runtime environment settings required. |
Note: <EMA root> is a directory which is located within your RTSDK installation package
Include Path | Within Properties: VC++ Directories -> Include Directories define the following:
|
---|---|
Lib Path (EMA 1.2 or greater) |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2015 (EMA 1.0.2 or greater) |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2013 |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Lib Path VS2012 |
Within Properties: VC++ Directories -> Library Directories define only one based on your build preference:
|
Libs | Within Properties: Linker -> Input -> Additional Dependencies include the entry below:
|
Compiler Settings | Within Properties define all settings below:
|
Runtime Environment | Ensure the selected Lib Path detailed above is defined within your system path |
Note: <EMA root> is a directory which is located within your RTSDK installation package
Include Path | Using the header include flag (-I):
|
||||||
---|---|---|---|---|---|---|---|
Lib Path | Using the library include flag (-L), choose one based on your compiler:
|
||||||
Libs | Libraries to be linked using (-l):
|
||||||
Compiler Settings | Compiler flags (-D): -DLinux | ||||||
Runtime Environment | No runtime environment settings required. |
Note: <EMA root> is a directory which is located within your RTSDK installation package
EMA contains a convenient script within the Libs subfolder called: createSharedLibraryLinks.sh. Before building your applications using shared libraries, execute this command from the EMA root folder, i.e.
<ema root>: sh Libs/createSharedLibraryLinks.sh
Include Path | Using the header include flag (-I):
|
||||||
---|---|---|---|---|---|---|---|
Lib Path | Using the library include flag (-L), choose one based on your compiler:
|
||||||
Libs | Libraries to be linked using (-l):
|
||||||
Compiler Settings | Compiler flags (-D): -DLinux | ||||||
Runtime Environment | Ensure the selected Lib Path detailed above is defined within your library path environment variable: LD_LIBRARY_PATH |