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

SmartNet Club commented on THRIFT-5077:
---------------------------------------

{quote}I can not reproduce this issue
{quote}

Probably you have boost headers on default search path, so #include 
<boost/numeric/conversion/cast.hpp> can be resolved.

> 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)

Reply via email to