thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Emmenlauer (Jira)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-5077) Failed to build tests with non system boost location
Date Fri, 21 Feb 2020 16:45:00 GMT

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

Mario Emmenlauer commented on THRIFT-5077:
------------------------------------------

I can not reproduce this issue. We've been using thrift with boost in non-standard locations
since forever. Are you setting cmake option {{-}}{{DBOOST_ROOT=...}}?

> 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
>            Priority: Major
>              Labels: build
>             Fix For: 0.14.0
>
>
> 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)

Mime
View raw message