opencog / atomspace

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

Compile error on persist-file.scm #2964

Closed ngeiswei closed 1 year ago

ngeiswei commented 1 year ago

When compiling the latest revision, I'm getting the following error

[100%] Compiling opencog/persist-file.scm
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Syntax error:
opencog/matrix/group-similarity.scm:112:16: definition in expression context, where definitions are not allowed, in form (define list-of-all-co-idx (insert-into-set-of-all-co-idx #f))
make[2]: *** [opencog/matrix/CMakeFiles/matrix_go.dir/build.make:96: opencog/scm/matrix.go] Error 1

My version of guile is 2.2.7.

Let me see if upgrading to 3 fixes the problem.

linas commented 1 year ago

Yes, please update to guile version 3! Report any other bugs you see

linas commented 1 year ago

Closing; I assume this is resolved, right?