I can't reproduce this problem, so I will need your help. Try changing bind to std::bind and changing _2 to std::placeholders::_2
If that doesn't fix it, try try changing the two std's to boost, so, boost::bind and boost::placeholders Boost has been the source of ongoing breakage, and the decision to use it was a mistake. So it goes. --linas On Mon, Jan 6, 2025 at 3:49 PM Abu Naser <[email protected]> wrote: > > Hi Linas, > > I have another error while I was installing asmoses: > /asmoses/opencog/asmoses/reduct/reduct/flat_normal_form.cc:34:36: error: call > of overloaded ‘bind(std::negate<int>, const boost::arg<2>&)’ is ambiguous > 34 | bind(std::negate<int>(), _2))) != c.end()); > > Please let me know if you have any solution for this issue. > > Kind regards, > Abu > > On Mon, 6 Jan 2025 at 20:06, Abu Naser <[email protected]> wrote: >> >> Thank you Linas. It works now. >> >> Kind regards, >> >> Abu >> >> On Mon, 6 Jan 2025 at 19:41, Linas Vepstas <[email protected]> wrote: >>> >>> Hi Abu, >>> >>> class concurrent_set is provided by cogutils -- the solution would be to >>> got to >>> cd cogutils, git pull, rebuild and reinstall. Then the atomspace >>> should build. See here: >>> >>> https://github.com/opencog/cogutil/blob/be54bfcadaf8439f324cf525781b254c87fa0722/opencog/util/concurrent_set.h#L162-L168 >>> >>> --linas >>> >>> On Sat, Jan 4, 2025 at 6:11 AM Abu Naser <[email protected]> wrote: >>> > >>> > Hi Everyone, >>> > >>> > The following error is thrown while I was compiling atomspace on Ubuntu: >>> > >>> > opencog_repos/atomspace/opencog/persist/proxy/WriteBufferProxy.cc:85:14: >>> > error: ‘class concurrent_set<opencog::Handle>’ has no member named ‘clear’ >>> > 85 | _atom_queue.clear(); >>> > >>> > >>> > Is there any solution for this error? >>> > >>> > >>> > Kind regards, >>> > >>> > Abu >>> > >>> > -- >>> > You received this message because you are subscribed to the Google Groups >>> > "opencog" group. >>> > To unsubscribe from this group and stop receiving emails from it, send an >>> > email to [email protected]. >>> > To view this discussion visit >>> > https://groups.google.com/d/msgid/opencog/CAMw3wdg6zMZgwF0hwk_ibqHuMyc9EC30qsJQPbRwmqEnexXLNg%40mail.gmail.com. >>> >>> >>> >>> -- >>> Patrick: Are they laughing at us? >>> Sponge Bob: No, Patrick, they are laughing next to us. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "opencog" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/opencog/CAHrUA35N%2BhqA8CKtMBU4wJhmUQ8xKDivQHpx7%3DbdrZ9K_txg6Q%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/opencog/CAMw3wdjKdP7tfgxReFeXJ8z7sEt9x53pP0VMUzttL8xxE9%3Djag%40mail.gmail.com. -- Patrick: Are they laughing at us? Sponge Bob: No, Patrick, they are laughing next to us. -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/opencog/CAHrUA36ba64Qod9E45ODU4JdKk-qKyVwk39WAi224%2BeJWi%3DYhQ%40mail.gmail.com.
