-
Notifications
You must be signed in to change notification settings - Fork 215
Build instructions
ifcquery edited this page Jun 12, 2018
·
8 revisions
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.
CMake files and build instructions below are kindly provided by Bernd Hahnebach, bernd(at)bimstatik(dot)org
Packagelist
Tested on Debian Jessie
$ apt-get install cmake subversion
$ apt-get install libboost-dev libopenscenegraph-dev libqt4-dev
Internal Carve of IFC++ is used.
Build IfcPLusPlus
Get source code and build as follows:
$ svn checkout http://ifcplusplus.googlecode.com/svn/trunk/ ifcplusplus
$ cd ifcplusplus
$ mkdir build
$ cd build
$ cmake ../
$ make
$ cd Release
$ ./examples/SimpleViewerExampleQt?
Yeah, it runs on Linux !!!