opencog / opencog

A framework for integrated Artificial Intelligence & Artificial General Intelligence (AGI)

Home Page:http://wiki.opencog.org/w/Development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure to compile the miner due to an error in `Surprisingness.cc`

StrangeTcy opened this issue · comments

Trying to build a freshly cloned opencog repo results in the following error:

/home/enoch/opencog/opencog/learning/miner/Surprisingness.cc: In static member function ‘static bool opencog::Surprisingness::is_syntax_more_abstract(const opencog::Handle&, const opencog::Handle&, const opencog::Handle&)’:
/home/enoch/opencog/opencog/learning/miner/Surprisingness.cc:522:44: error: no matching function for call to ‘opencog::Unify::Unify(opencog::Handle&, opencog::Handle&, opencog::Variables&, opencog::Variables&)’
  Unify unify(l_body, r_body, l_vars, r_vars);

I don't have such problem. Maybe try to re-build atomspace and opencog from fresh build dirs.

Please pull & rebuild, make sure its a clean build. if it still fails, you'd need to report a compiler version and more.