Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
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:

  1. TD_TfCore.lib
  2. TB_ExamplesCommon.lib
  3. TB_Loader.lib
  4. TB_Format2017Classes.lib
  5. TB_Format2017Readers.lib
  6. TB_Format2016Classes.lib
  7. TB_Format2016Readers.lib
  8. TB_Format2011Classes.lib
  9. TB_Format2011Readers.lib
  10. TB_Format2012Classes.lib
  11. TB_Format2012Readers.lib
  12. TB_Format2013Classes.lib
  13. TB_Format2013Readers.lib
  14. TB_Format2015Classes.lib
  15. TB_Format2015Readers.lib
  16. TB_Format2014Classes.lib
  17. TB_Format2014Readers.lib
  18. TB_LoaderBase.lib
  19. TB_ModelerGeometry.lib
  20. TB_Main.lib
  21. TB_MEP.lib
  22. TB_Analytical.lib
  23. TB_Architecture.lib
  24. TB_StairsRamp.lib
  25. TB_Geometry.lib
  26. TB_GeometryUtils.lib
  27. TB_Database.lib
  28. TB_Base.lib
  29. TB_Common.lib
  30. TD_DbRoot.lib
  31. TD_Gs.lib
  32. TD_Gi.lib
  33. TD_SpatialIndex.lib
  34. TD_Ge.lib
  35. TD_Root.lib
  36. FreeType.lib
  37. minzip_mem.lib
  38. zlib.lib
  39. oless.lib
  40. sisl.lib
  41. 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.

See Also

How to Load Additional Modules

Use ODA BimRv SDK Sample Applications

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.