thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Seto <chris12...@gmail.com>
Subject Re: Compilation error on ThriftTest_constants.lo
Date Sat, 11 Jul 2015 01:04:32 GMT
Hi Roger,

It actually turns out that there was some issue with my Boost 
installation. I built Boost from source and was able to successfully 
complete the CMake, and then a little more troubleshooting later, I was 
able to also get make/make install to work.

Thank you very much for all your help!!

Chris


On 7/10/2015 1:11 PM, Roger Meier wrote:
> you cross compile and have boost under /usr/lib ?
>
> see https://github.com/apache/thrift/blob/master/build/cmake/README.md
>
> how to pass -DBOOST_ROOT=/my/crosscompiledboost
>
> cheers
> roger
>
> Quoting Chris Seto <chris12892@gmail.com>:
>
>> Hi Roger,
>>
>> I have a bit of a probably dumb question. I'm a little new to CMake, 
>> and it seems to be failing on something trivial:
>>
>> I do know that I have the boost header files at /usr/include/boost, 
>> and it looks like I have the compiled boost library in /usr/lib. 
>> Still, it looks like CMake isn't finding it.
>>
>> Given that I know the paths, what is the best way to tell CMake to 
>> look there?
>>> CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1111 
>>> (message):
>>>  Unable to find the requested Boost libraries.
>>>
>>>  Boost version: 1.55.0
>>>
>>>  Boost include path: /usr/include
>>>
>>>  Could not find the following static Boost libraries:
>>>
>>>          boost_chrono
>>>          boost_system
>>>          boost_thread
>>>          boost_unit_test_framework
>>>
>>>  No Boost libraries were found.  You may need to set 
>>> BOOST_LIBRARYDIR to the
>>>  directory containing Boost libraries or BOOST_ROOT to the location of
>>>  Boost.
>>> Call Stack (most recent call first):
>>>  lib/cpp/test/CMakeLists.txt:22 (find_package)
>>
>> Thanks!!
>> Chris
>>
>> ======
>> Chris Seto
>> http://www.chrisseto.com
>> ======
>> On 7/10/2015 12:45 AM, Roger Meier wrote:
>>> cmake -DCMAKE_C_COMPILER=arm-none-linux-gnueabi-gcc 
>>> -DCMAKE_CXX_COMPILER=arm-none-linux-gnueabi-g++ ..
>
>


Mime
View raw message