Skip to content

Build instructions

ifcquery edited this page Aug 24, 2018 · 8 revisions

Windows

For VS IDE proceed as follows:

Library IfcPlusPlus.dll:

  • Open IfcPlusPlus.sln with VS.
  • Set path to boost as environment variable BOOST_DIR, or edit project settings.
  • Hit F7 to compile, F5 to run the debugger

SimpleViewerExampleQt:

  • Install Qt (Desktop OpenGL version)
  • Download OpenSceneGraph, run CMake to build it and set the paths to Qt
  • Set environment variables for boost, Qt, OSG and your development environment with a script like this: set_devenv64-VS2013.cmd
  • Create a shortcut with target type 'Windows Command Script' and target 'Drive:\path\to\workspace\set_devenv-VS2013.cmd' to be able to start the script with a click
  • Install Qt VS addin, configure it to use the same Qt files like the environment variable QTDIR
  • Type "devenv" to start VS
  • Hit F7 to compile, F5 to run the debugger

Tested with

  • Qt 5.9
  • OpenSceneGraph 3.10.1
  • Visual Studio 2015/2017
  • For other IDE's, use CMake like the Linux version below.

Linux

For building on Linux and other information, check out https:/berndhahnebach/ifcplusplus/blob/master/README.md

Clone this wiki locally