You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mario Emmenlauer (Jira)" <ji...@apache.org> on 2021/08/05 13:03:00 UTC

[jira] [Closed] (THRIFT-5077) Failed to build tests with non system boost location

     [ https://issues.apache.org/jira/browse/THRIFT-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Emmenlauer closed THRIFT-5077.
------------------------------------

> Failed to build tests with non system boost location
> ----------------------------------------------------
>
>                 Key: THRIFT-5077
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5077
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.13.0
>            Reporter: SmartNet Club
>            Assignee: Mario Emmenlauer
>            Priority: Major
>              Labels: build
>
> Boost_INCLUDE_DIRS = /third/Boost/boost-1.69.0/include
> compiler error while building lib/c_glib/test targets :
> {code:java}
> // thrift-master/source/lib/cpp/src/thrift/transport/TTransportException.h:23:45: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory
>  #include <boost/numeric/conversion/cast.hpp>
> {code}
> To fix, add to /lib/c_glib/test/CMakeLists.txt
> {code:java}
> // include(BoostMacros)
> REQUIRE_BOOST_HEADERS()
> {code}



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