Boost logo

Boost-Build :

Subject: Re: [Boost-build] Noob Question: How to build mutex lock?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-05 06:53:36


On Wednesday 03 February 2010 23:40:25 Will Hagen wrote:

> Greetings,
>
> I am trying to use named_mutex to regulate when to run a program. however I get these results:
>
>
> /home/roots/workspace/newRelFinder/inc/RelFinder.h:13:62: error: boost/thread/pthread/pthread_mutex_scoped_lock.hpp: No such file or directory
>
>
> /home/roots/workspace/newRelFinder/inc/RelFinder.h:14:51: error: boost/interprocess/sync/named_mutex.hpp: No such file or directory
>
> if I place an include with /boost/regex.hpp , it accepts it and no errors are present.
>
>
>
> If I state the full path of the file location, then I get many more errors, and I include some here:
>
> /home/roots/boost_1_41_0/boost/interprocess/sync/named_mutex.hpp:18:54: warning: boost/interprocess/detail/config_begin.hpp: No such file or directory
>
>
>
> /home/roots/boost_1_41_0/boost/interprocess/sync/named_mutex.hpp:167: error: ‘detail’ has not been declared
>
> /home/roots/boost_1_41_0/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:25: error: ‘BOOST_VERIFY’ was not declared in this scope

Please provide the complete compile command line that results in the above errors.

Thanks,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk