Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9126

[C++] Trimmed Boost bundle fails to build on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • C++

    Description

      Build with the following commands

      mkdir build
      cd build
      cmake .. -DARROW_PARQUET=ON
      cmake --build .

      Error from build log

      .\boost/graph/two_bit_color_map.hpp(106): fatal error C1083: Cannot open include file: 'boost/graph/detail/empty_header.hpp': No such file or directory
      

      This was because configuring Boost to build a subset of libraries doesn't work on Windows as it does on Linux. As a result, all libraries, including those being trimmed, were built:

      Component configuration:
      
       - atomic : building
       - chrono : building
       - container : building
       - date_time : building
       - exception : building
       - filesystem : building
       - headers : building
       - iostreams : building
       - locale : building
       - log : building
       - mpi : building
       - program_options : building
       - python : building
       - random : building
       - regex : building
       - serialization : building
       - system : building
       - test : building
       - thread : building
       - timer : building
       - wave : building
      

      Attachments

        Issue Links

          Activity

            People

              ctring Cuong Nguyen
              ctring Cuong Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h