Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
Compile Sample Applications on Windows Platforms

To build sample applications on Windows platforms, you should have Visual Studio installed.

For building samples from the release archive of a specific configuration, the proper version of Visual Studio must be used.

To build sample application code, follow the steps below:

  1. Unpack the downloaded archive. After unpacking, the root folder will contain the following subfolders:
    • exe — Contains .exe, .dll, .tx files.
    • lib — Contains .lib files.
    • Platforms — Contains solutions, projects, intermediate build files.

    These folders have subfolders for different configurations. For example, if you unpack TB_vc10dll.zip, vc10dll subfolders will be created. If you unpack TB_vc10dlldbg.zip, vc10dlldbg subfolders will be created.

  2. Go to \Platforms\<configuration name> and open the solution for samples.
  3. Build the solution.
  4. Find compiled .exe files in the .\exe\<configuration name> folder.

For example, to build the samples for MSVC 2010, DLL configuration:

  1. Unpack TB_vc10dll.zip.
  2. Open the solution .\Platforms\vc10dll\TB_vc10dll_ex.sln.
  3. Build the solution.
  4. Executables are in the .\exe\vc10dll folder.

Notes:

  • Some samples use the DirectX rendering device, the building of which requires DirectX SDK. It can be downloaded from Microsoft download center. After downloading and installing this SDK, a DXSDK_DIR environment variable needs to be created and set to the full path of the dxsdk directory.
  • Some projects in the solution depend on others. If you open an individual project (.vcproj) outside of the solution (.sln), its build may fail.

Using Multiple Configurations

It's acceptable to unpack different Windows archives into the same folder. This is convenient, for example, to build Release and Debug configurations using the same sources or even to have dynamically and statically linked configurations. Unpacking other archives to the same folder will cause warnings because some files are duplicated in both archives. This is okay; duplicate files are the same.

Note: Always use empty folders for upgrading ODA BimRv SDK versions. Mixing files from different ODA BimRv SDK versions may cause problems.

See Also

Compile ODA BimRv SDK Sample Applications

Compile ODA BimRv SDK Sample Applications on Non-Windows Platforms

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