ODA IFC SDK Developer's Guide > Get Started with IFC SDK > Compile Sample Applications
Compile Sample Applications

Building Sample Applications for Windows Platforms Using Microsoft® Visual Studio®

To build the sample applications:

  1. Open the IFC SDK sample solution with Microsoft Visual Studio.

    The solution file is included in the downloadable IFC SDK archive and can be found in the Platforms\<conf> subfolder, where the conf value depends on the platform, compiler and configuration.

    For example, for the Microsoft Visual Studio 2019 DLL configuration, the solution file has the following path: Platforms\vc16dll\Ifc_vc16dll_ex.sln

  2. Build the solution. Binary output files can be found in the exe subfolder.

Important! Use the proper version of Visual Studio for building sample applications from the release archive of the specified configuration.

Building Sample Applications for Non-Windows Platforms

To build IFC SDK sample applications on non-Windows platforms, CMake tool version 3.14 or later must be installed. It can be downloaded from https://cmake.org/download/.

To build the sample applications:

  1. Run ./configure located in the root folder where the IFC SDK binary archive was unpacked.
  2. Make the Ifc/Examples subfolder active.
  3. Run make. Binary output files can be found in the bin subfolder.

See Also

IFC SDK Sample Applications

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