
This script fetches and builds all IfcOpenShell dependencies

Generator not passed but VisualStudioVersion=15.0 environment variable detected:
using `Visual Studio 15 2017 Win64` as the generator.
build-type-cfg.cmd: Warning: BUILD_CFG not specified - using the default RelWithDebInfo

Script configuration:
* CMake Generator	= `Visual Studio 15 2017 Win64` 	
  - Passed to CMake -G option.
* Target Architecture	= x64
  - Whether were doing 32-bit (x86) or 64-bit (x64) build.
* Dependency Directory	= C:\Users\jlutt\Documents\IfcOpenShell\deps
  - The directory where IfcOpenShell dependencies are fetched and built.
* Installation Directory = C:\Users\jlutt\Documents\IfcOpenShell\deps-vs2017-x64-installed
  - The directory where IfcOpenShell dependencies are installed.
* Build Config Type	= RelWithDebInfo
  - The used build configuration type for the dependencies.
    Defaults to RelWithDebInfo if not specified.
* Build Type		= Build
  - The used build type for the dependencies (Build, Rebuild, Clean).
    Defaults to Build if not specified. Rebuild/Clean also uninstalls Python (if it was installed by this script).
* IFCOS_USE_OCCT	= TRUE
  - Use the official Open CASCADE instead of the community edition.
* IFCOS_INSTALL_PYTHON	= TRUE
  - Download and install Python.
    Set to something other than TRUE if you wish to use an already installed version of Python.
* IFCOS_USE_PYTHON2	= FALSE
  - Use Python 2 instead of 3.
    Set to TRUE if you wish to use Python 2 instead of 3. Has no effect if IFCOS_INSTALL_PYTHON is not TRUE.
* IFCOS_NUM_BUILD_PROCS	= 8
  - How many MSBuild.exe processes may be run in parallel.
    Defaults to NUMBER_OF_PROCESSORS. Used also by other IfcOpenShell build scripts.

Requirements for a successful execution:
 1. Install PowerShell (preinstalled in Windows >= 7) version 5 or higher and make sure 'powershell' is accessible from PATH.
  - https://support.microsoft.com/en-us/kb/968929
 2. Install Git and make sure 'git' is accessible from PATH.
  - https://git-for-windows.github.io/
 3. Install CMake and make sure 'cmake' is accessible from PATH.
  - http://www.cmake.org/
 4. Visual Studio 2008 or newer (2013 or newer recommended) with C++ toolset.
  - https://www.visualstudio.com/
 5. Run this batch script with Visual Studio environment variables set.
  - https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx

NB: This script needs to be ran from the directory directly containing it.

Warning: You will need roughly 8 GB of disk space to proceed (VS 2015 x64 RelWithDebInfo).

If you are not ready with the above: type 'n' in the prompt below. Build proceeds on all other inputs
> 
Build started at  7:40:11.47.

Boost 1.67.0 already downloaded. Skipping.
Boost 1.67.0 already extracted into C:\Users\jlutt\Documents\IfcOpenShell\deps\boost_1_67_0. Skipping.
Building Boost 1.67.0 --with-system --with-regex --with-thread --with-program_options --with-date_time --with-iostreams --with-filesystem Please be patient this will take a while.
Performing configuration checks

    - default address-model    : none
    - default architecture     : none
    - symlinks supported       : no
    - junctions supported      : yes
    - hardlinks supported      : yes
    - zlib                     : no
    - bzip2                    : no
    - lzma                     : no
    - has_icu builds           : no

Component configuration:

    - atomic                   : not building
    - chrono                   : not building
    - container                : not building
    - context                  : not building
    - contract                 : not building
    - coroutine                : not building
    - date_time                : building
    - exception                : not building
    - fiber                    : not building
    - filesystem               : building
    - graph                    : not building
    - graph_parallel           : not building
    - iostreams                : building
    - locale                   : not building
    - log                      : not building
    - math                     : not building
    - mpi                      : not building
    - program_options          : building
    - python                   : not building
    - random                   : not building
    - regex                    : building
    - serialization            : not building
    - signals                  : not building
    - stacktrace               : not building
    - system                   : building
    - test                     : not building
    - thread                   : building
    - timer                    : not building
    - type_erasure             : not building
    - wave                     : not building

...patience...
...patience...
...found 1696 targets...
...updating 16 targets...
...skipped <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>gregorian\greg_month.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>gregorian\greg_weekday.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>gregorian\date_generators.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_date_time-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>gregorian\greg_month.obj...
...skipped <pstage\vs2017-x64\lib>libboost_date_time-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\date_time\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_date_time-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\system\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>error_code.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\system\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_system-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\system\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>error_code.obj...
...skipped <pstage\vs2017-x64\lib>libboost_system-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\system\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_system-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>codecvt_error_category.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>operations.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>path.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>path_traits.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>portability.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>unique_path.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>utf8_codecvt_facet.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>windows_file_codecvt.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_filesystem-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>codecvt_error_category.obj...
...skipped <pstage\vs2017-x64\lib>libboost_filesystem-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\filesystem\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_filesystem-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>file_descriptor.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>mapped_file.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_iostreams-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>file_descriptor.obj...
...skipped <pstage\vs2017-x64\lib>libboost_iostreams-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\iostreams\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_iostreams-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>cmdline.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>config_file.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>options_description.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>parsers.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>variables_map.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>value_semantic.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>positional_options.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>utf8_codecvt_facet.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>convert.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>winmain.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>split.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_program_options-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>cmdline.obj...
...skipped <pstage\vs2017-x64\lib>libboost_program_options-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\program_options\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_program_options-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>c_regex_traits.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>cpp_regex_traits.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>cregex.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>fileiter.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>icu.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>instances.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>posix_api.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>regex.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>regex_debug.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>regex_raw_buffer.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>regex_traits_defaults.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>static_mutex.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>w32_regex_traits.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>wc_regex_traits.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>wide_posix_api.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>winstances.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>usinstances.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_regex-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>c_regex_traits.obj...
...skipped <pstage\vs2017-x64\lib>libboost_regex-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\regex\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_regex-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>chrono.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>thread_clock.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>process_cpu_clocks.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_chrono-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>chrono.obj...
...skipped <pstage\vs2017-x64\lib>libboost_chrono-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\chrono\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threading-multi>libboost_chrono-vc141-mt-s-1_67.lib...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>win32\thread.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>win32\tss_dll.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>win32\tss_pe.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>win32\thread_primitives.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>future.obj for lack of <pbin.v2\standalone\msvc\msvc-14.1\address-model-64>msvc-setup.nup...
...skipped <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>libboost_thread-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>win32\thread.obj...
...skipped <pstage\vs2017-x64\lib>libboost_thread-vc141-mt-s-1_67.lib for lack of <pbin.v2\libs\thread\build\msvc-14.1\release\address-model-64\link-static\runtime-link-static\threadapi-win32\threading-multi>libboost_thread-vc141-mt-s-1_67.lib...
...skipped 66 targets...

An error occurred

Build ended at  7:40:17.03. Time elapsed 0:00:05.56.
