Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2846

Avro C++ cmake message "Could NOT find Boost" despite finding suitable version "1.73.0"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.2
    • None
    • c++
    • None
      • Windows Version 10.0.18362.836
      • Avro 1.9.2
      • Boost 1.73.0
      • CMake 3.17.2

    Description

      I am trying to build Avro C++ on Windows 10. 

      I get stuck on step 5 of [On native Windows|https://avro.apache.org/docs/1.9.2/api/cpp/html/index.html].

      I choose the generator Visual Studio 10 2010 and Win32 as the platform.

      Using Cmake GUI i get the following output in the console: CMakeConsoleOutput.txt and the generated log is here: CMakeOutput.log .

      When i try to use another generator (Visual Studio 16 2019) i get the same Output.

      What confuses me is this Output in the CMake GUI:

      CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
        Could NOT find Boost (missing: filesystem iostreams program_options regex
        system) (found suitable version "1.73.0", minimum required is "1.38")
      

      I tried the same with boost version 1.72.0 but i get the same Output in the CMake GUI.

      Can someone help be get it to build with CMake?

      Attachments

        1. 2020 05 28 Avro CMake Error.txt
          8 kB
          Benedict Dietrich
        2. CMakeOutput.log
          14 kB
          Benedict Dietrich
        3. CMakeConsoleOutput.txt
          1 kB
          Benedict Dietrich

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Ben Die Benedict Dietrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: