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 Tue, 25 Feb 2020 08:43:00 GMT

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

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

```
~> find /usr/ -name cast.hpp | wc -l
0
~> find /data/$USER/ -name cast.hpp | wc -l
4
```

> 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