Boost logo

Boost-Build :

Subject: Re: [Boost-build] Noob Question: How to build mutex lock?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-02-05 10:59:41


AMDG

Will Hagen wrote:
> 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
>

You need to compile with -I/home/roots/boost_1_41_0.

In Christ,
Steven Watanabe


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