How to Build Your Applications Based on ODA BimRv SDK
This section describes the key steps of building applications based on ODA BimRv SDK.
To learn how to download ODA BimRv SDK release libraries for a specific platform,
see Download ODA BimRv SDK.
To see the list of supported platforms for ODA BimRv SDK see Supported platforms.
Configuring Build Process
ODA BimRv SDK is available as a shared library.
To compile a client application that uses ODA BimRv SDK shared libraries, the following steps are required:
The path to the directory that contains the shared libraries must be provided.
The path to the directory with header files must be provided. They are located in the BimRv\Include
directory of a release package.
.lib files for all shared libraries must be linked. They are located in the BimRv\lib
directory of a release package.
If the application intends on using ODA BimRv SDK extension modules, all .tx (.txv) files must also be placed
along with other library files (see How to Load Additional Modules).
Platform-specific Symbols
Client programs must define one or more platform-specific preprocessor symbols when building client
applications (for some platforms these preprocessor symbols are defined automatically by the compiler).
The effect of these symbols can be seen in the OdPlatform.h header file.
Example projects and configured files with all required settings can also be found in the release packages.
Link Order for UNIX-based Platforms
The link order is essential when linking libraries for UNIX-based platforms.
The following list represents an example of the link order for the set of ODA BimRv SDK libraries:
TD_TfCore.lib
TB_ExamplesCommon.lib
TB_Loader.lib
TB_Format2017Classes.lib
TB_Format2017Readers.lib
TB_Format2016Classes.lib
TB_Format2016Readers.lib
TB_Format2011Classes.lib
TB_Format2011Readers.lib
TB_Format2012Classes.lib
TB_Format2012Readers.lib
TB_Format2013Classes.lib
TB_Format2013Readers.lib
TB_Format2015Classes.lib
TB_Format2015Readers.lib
TB_Format2014Classes.lib
TB_Format2014Readers.lib
TB_LoaderBase.lib
TB_ModelerGeometry.lib
TB_Main.lib
TB_MEP.lib
TB_Analytical.lib
TB_Architecture.lib
TB_StairsRamp.lib
TB_Geometry.lib
TB_GeometryUtils.lib
TB_Database.lib
TB_Base.lib
TB_Common.lib
TD_DbRoot.lib
TD_Gs.lib
TD_Gi.lib
TD_SpatialIndex.lib
TD_Ge.lib
TD_Root.lib
FreeType.lib
minzip_mem.lib
zlib.lib
oless.lib
sisl.lib
TD_Alloc.lib
Examples of link lists can be found in the configured CMakeLists.txt files for ODA BimRv SDK example applications from the release packages.