Skip to content

Branch v0.6.0 doesn't build, could not find Boost libraries #566

@wlinna

Description

@wlinna

I have already built dependencies with

set IFCOS_INSTALL_PYTHON=FALSE
build-all.cmd vs2017-x64 Release

Now when I try
run-cmake.bat vs2017-x64 -DBUILD_IFCPYTHON=0

I get:

C:\****\IfcOpenShell2x3_06\win>run-cmake.bat vs2017-x64 -DBUILD_IFCPYTHON=0


Script configuration:
  Generator = "Visual Studio 15 2017 Win64"
  Arguments =  -DBUILD_IFCPYTHON=0

Dependency Environment Variables for IfcOpenShell:
   BOOST_ROOT              = C:\****\IfcOpenShell2x3_06\deps\boost_1_67_0
   BOOST_LIBRARYDIR        = C:\****\IfcOpenShell2x3_06\deps\boost_1_67_0\stage\vs2017-x64\lib
   ICU_INCLUDE_DIR         = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\icu\include
   ICU_LIBRARY_DIR         = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\icu\lib
   OCC_INCLUDE_DIR         = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\opencascade-7.3.0\inc
   OCC_LIBRARY_DIR         = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\opencascade-7.3.0\win64\lib
   OPENCOLLADA_INCLUDE_DIR = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\OpenCOLLADA\include\opencollada
   OPENCOLLADA_LIBRARY_DIR = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\OpenCOLLADA\lib\opencollada
   LIBXML2_INCLUDE_DIR     = C:\****\IfcOpenShell2x3_06\deps\OpenCOLLADA\Externals\LibXML\include
   LIBXML2_LIBRARIES       = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\OpenCOLLADA\lib\opencollada\xml.lib
   PYTHONHOME              = C:\Python37
   PYTHON_INCLUDE_DIR      = C:\Python37\include
   PYTHON_LIBRARY          = C:\Python37\libs\python37.lib
   PYTHON_EXECUTABLE       = C:\Python37\python.exe
   SWIG_DIR                = C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\swigwin
   THREEDS_MAX_SDK_HOME    = C:\Program Files\Autodesk\3ds Max 2016 SDK\maxsdk

   CMAKE_INSTALL_PREFIX    = C:\****\IfcOpenShell2x3_06\installed-vs2017-x64

Running CMake for IfcOpenShell.
-- The C compiler identification is MSVC 19.16.27025.1
-- The CXX compiler identification is MSVC 19.16.27025.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BINDIR: C:/****/IfcOpenShell2x3_06/installed-vs2017-x64/bin
-- INCLUDEDIR: C:/****/IfcOpenShell2x3_06/installed-vs2017-x64/include
-- LIBDIR: C:/****/IfcOpenShell2x3_06/installed-vs2017-x64/lib
CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:153 (FIND_PACKAGE)


CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:153 (FIND_PACKAGE)


CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:153 (FIND_PACKAGE)


CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:153 (FIND_PACKAGE)


CMake Warning at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:765 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:153 (FIND_PACKAGE)


-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.8/Modules/FindBoost.cmake:1842 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.67.0

  Boost include path: C:/****/IfcOpenShell2x3_06/deps/boost_1_67_0

  Could not find the following static Boost libraries:

          boost_system
          boost_program_options
          boost_regex
          boost_thread
          boost_date_time

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:153 (FIND_PACKAGE)


-- Boost include files found in C:/****/IfcOpenShell2x3_06/deps/boost_1_67_0
-- Boost libraries found in
-- Looking for Open CASCADE include files in: C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\opencascade-7.3.0\inc
-- Header files found
-- Looking for Open CASCADE library files in: C:\****\IfcOpenShell2x3_06\deps-vs2017-x64-installed\opencascade-7.3.0\win64\lib
-- Library files found
-- ICU libraries found
-- OpenCOLLADA library files found
-- OpenCOLLADA header files found
-- Configuring incomplete, errors occurred!
See also "C:/****/IfcOpenShell2x3_06/build-vs2017-x64/CMakeFiles/CMakeOutput.log".
See also "C:/****/IfcOpenShell2x3_06/build-vs2017-x64/CMakeFiles/CMakeError.log".

An error occurred

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions