opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
826 stars 234 forks source link

error when install atomespace about types converts #3045

Closed parsgulf closed 7 months ago

parsgulf commented 1 year ago

i got a lot of below error when i try to install atomspace:

error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive] 300 pe(opencog::INHERITANCE_LINK, "IntensionalInheritanceLink", "IntensionalInheritance"); ^~~~~~~~
const char*

i have installed gcc 13.2.0. and all Prerequisites. and i know it's c++ programming error , a error that we try to convert type to another when it's not possible. solve this please.

linas commented 7 months ago

Hi, You'd have to give more info than this. There's not enough info here to guess what this is about.

I took a look, but there's no code that looks like that in the current repo; is there some chance you are building against some very old version? Be sure to do a git pull, and also to rm -r the build directory, so as to get a clean build.

The AtomSpace has been building fine, and passing unit tests since forever, so its hard to guess what this is about. I'm gonna close, for now; if you get more info, please reopen.