[ 
https://issues.apache.org/jira/browse/AVRO-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118732#comment-17118732
 ] 

Benedict Dietrich commented on AVRO-2846:
-----------------------------------------

Hello [~rskraba], thanks for the answer. In order to configure Avro Cmake 
successfully I needed to set the variable _Boost_USE_STATIC_LIBS_ to _ON_ 
(Boost Root is set in path variable of windows). __ 

Now i think i have the same error as in the linked issue AVRO-1543. See 
attached Error list. Is there a solution for this issue available, I tried to 
include zLib into the boost build, but to no success yet. 

[^2020 05 28 Avro CMake Error.txt]

> Avro C++ cmake message "Could NOT find Boost" despite finding suitable 
> version "1.73.0"
> ---------------------------------------------------------------------------------------
>
>                 Key: AVRO-2846
>                 URL: https://issues.apache.org/jira/browse/AVRO-2846
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.9.2
>         Environment: * Windows Version 10.0.18362.836
>  * Avro 1.9.2
>  * Boost 1.73.0
>  * CMake 3.17.2
>            Reporter: Benedict Dietrich
>            Priority: Major
>         Attachments: 2020 05 28 Avro CMake Error.txt, CMakeConsoleOutput.txt, 
> CMakeOutput.log
>
>
> 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:
> {code:java}
> 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")
> {code}
> 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to