← Back to team overview

dolfin team mailing list archive

Re: Unable to find boost-thread

 

On Thu, Nov 18, 2010 at 1:38 PM, Andre Massing <massing@xxxxxxxxx> wrote:
> Den 18.11.10 13.05, skrev Harish Narayanan:
>>
>> I receive the following when I try to build DOLFIN.
>>
>> CMake Error at /opt/local/share/cmake-2.8/Modules/FindBoost.cmake:1123
>> (message):
>>   Unable to find the requested Boost libraries.
>>
>>   Boost version: 1.44.0
>>
>>   Boost include path: /opt/local/include
>>
>>   The following Boost libraries could not be found:
>>
>>           boost_thread
>>
>>   Some (but not all) of the required Boost libraries were found.  You may
>>   need to install these additional Boost libraries.  Alternatively, set
>>   Boost_LIBRARYDIR to the directory containing Boost libraries or
>> BOOST_ROOT
>>   to the location of Boost.
>> Call Stack (most recent call first):
>>   CMakeLists.txt:158 (find_package)
>>
>>
>> > From past experience, I think there needs to be a Mac specific thing
>> like linking to libboost_thread-mt that needs to be done.
>
> If you compile dolfin on your own, pass -DBoost_USE_MULTITHREADED:BOOL=ON to
> cmake during the configuration process.
> As the dorsal wizard do you have an idea how to incorporate it into dorsal?

Adding

  export Boost_USE_MULTITHREADED=1

to snowleopard.platform should do the trick.

Johannes

> --
> Andre
>
>
>> Johannes?
>>
>> Harish
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dolfin
>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dolfin
>> More help   : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References