Hmmm, Not sure if this a step forward or backward...
I looked for the file opencog/nlp/types/atom_types.h in the source tree. the closest one named that was:
/oc/opencog/build/opencog/nlp/oc-types/atom_types.h
So I tried to symlink the folder so the build tools would hopefully get what they need:
ln -s /oc/opencog/build/opencog/nlp/oc-types /oc/opencog/build/opencog/nlp/types
Now I get whole new errors! Lots of link references:
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_parse(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:40:40: error: 'PARSE_LINK' was not declared in this scope; did you mean 'FALSE_LINK'?
40 | return foreach_reverse_binary_link(h, PARSE_LINK, cb, data);
| ^~~~~~~~~~
| FALSE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_word_instance(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:59:39: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
59 | Handle h = fl.follow_binary_link(ha, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'opencog::Handle opencog::get_dict_word_of_word_instance(const opencog::Handle&)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:225:58: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
225 | Handle dict_word = fl.follow_binary_link(word_instance, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
In file included from /oc/opencog/opencog/nlp/wsd/ParseRank.cc:20:
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_parse(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:40:40: error: 'PARSE_LINK' was not declared in this scope; did you mean 'FALSE_LINK'?
40 | return foreach_reverse_binary_link(h, PARSE_LINK, cb, data);
| ^~~~~~~~~~
| FALSE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_word_instance(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:59:39: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
59 | Handle h = fl.follow_binary_link(ha, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'opencog::Handle opencog::get_dict_word_of_word_instance(const opencog::Handle&)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:225:58: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
225 | Handle dict_word = fl.follow_binary_link(word_instance, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
In file included from /oc/opencog/opencog/nlp/wsd/SenseRank.cc:19:
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_parse(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:40:40: error: 'PARSE_LINK' was not declared in this scope; did you mean 'FALSE_LINK'?
40 | return foreach_reverse_binary_link(h, PARSE_LINK, cb, data);
| ^~~~~~~~~~
| FALSE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_word_instance(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:59:39: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
59 | Handle h = fl.follow_binary_link(ha, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'opencog::Handle opencog::get_dict_word_of_word_instance(const opencog::Handle&)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:225:58: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
225 | Handle dict_word = fl.follow_binary_link(word_instance, REFERENCE_LINK);
| ^~~~~~~~~~~~~~
| REWRITE_LINK
/oc/opencog/opencog/nlp/wsd/ForeachWord.h: In function 'bool opencog::foreach_word_instance(const opencog::Handle&, bool (T::*)(const opencog::Handle&), T*)':
/oc/opencog/opencog/nlp/wsd/ForeachWord.h:59:39: error: 'REFERENCE_LINK' was not declared in this scope; did you mean 'REWRITE_LINK'?
59 | Handle h = fl.follow_binary_link(ha, REFERENCE_LINK);
Any thoughts or suggestions?