-
Notifications
You must be signed in to change notification settings - Fork 215
Build instructions
ifcquery edited this page Oct 26, 2015
·
8 revisions
For VS IDE proceed as follows:
- Install Qt (Desktop OpenGL version)
- Download boost
- 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.4 (qt-opensource-windows-x86-msvc2013_64_opengl-5.4.0.exe)
- OpenSceneGraph 3.2.1rc3
- Visual Studio 2013
- 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
$ ./IfcPlusPlusViewer?
Yeah, it runs on Linux !!!