make for atomspace

26 views
Skip to first unread message

Ed Pell

unread,
Jul 27, 2017, 9:58:15 PM7/27/17
to opencog
Any hints?

ed@ed-desktop:~/atomspace/build$ make
[  0%] Built target opencog_atom_types
[  0%] Building CXX object opencog/truthvalue/CMakeFiles/truthvalue.dir/EvidenceCountTruthValue.cc.o
/home/ed/atomspace/opencog/truthvalue/EvidenceCountTruthValue.cc: In lambda function:
/home/ed/atomspace/opencog/truthvalue/EvidenceCountTruthValue.cc:164:52: error: ‘is_within’ was not declared in this scope
   return is_within(lhs, rhs, FLOAT_ACCEPTABLE_ERROR);
                                                    ^
/home/ed/atomspace/opencog/truthvalue/EvidenceCountTruthValue.cc: In member function ‘virtual bool opencog::EvidenceCountTruthValue::operator==(const opencog::ProtoAtom&) const’:
/home/ed/atomspace/opencog/truthvalue/EvidenceCountTruthValue.cc:168:21: error: could not convert ‘close_enough.opencog::EvidenceCountTruthValue::operator==(const opencog::ProtoAtom&) const::<lambda(opencog::count_t, opencog::count_t)>(opencog::EvidenceCountTruthValue::getPositiveCount(), ectv->opencog::EvidenceCountTruthValue::getPositiveCount())’ from ‘void’ to ‘bool’
  return close_enough(getPositiveCount(), ectv->getPositiveCount())
                     ^
/home/ed/atomspace/opencog/truthvalue/EvidenceCountTruthValue.cc:171:20: error: could not convert ‘close_enough.opencog::EvidenceCountTruthValue::operator==(const opencog::ProtoAtom&) const::<lambda(opencog::count_t, opencog::count_t)>(opencog::EvidenceCountTruthValue::getCount(), ectv->opencog::EvidenceCountTruthValue::getCount())’ from ‘void’ to ‘bool’
        close_enough(getCount(), ectv->getCount()));
                    ^
opencog/truthvalue/CMakeFiles/truthvalue.dir/build.make:110: recipe for target 'opencog/truthvalue/CMakeFiles/truthvalue.dir/EvidenceCountTruthValue.cc.o' failed
make[2]: *** [opencog/truthvalue/CMakeFiles/truthvalue.dir/EvidenceCountTruthValue.cc.o] Error 1
CMakeFiles/Makefile2:1858: recipe for target 'opencog/truthvalue/CMakeFiles/truthvalue.dir/all' failed
make[1]: *** [opencog/truthvalue/CMakeFiles/truthvalue.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Curtis Faith

unread,
Jul 28, 2017, 7:46:27 AM7/28/17
to ope...@googlegroups.com
Try pulling, building and installing the latest cogutils. Those functions are defined in cogutils.

--
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 opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/4bcf0bf0-17d3-44ba-b9a6-35480b2c0f52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages