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

Compilation of 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 2012 DLL configuration, the solution file has the following path: Platforms\vc11dll\Ifc_vc11dll_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.6 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 Drawing/Examples subfolder active.
  3. Run make. Binary output files can be found in the bin subfolder.

See Also

Usage of IFC SDK Sample Applications
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.