Keysight / clipsgo

Go language bindings for the CLIPS expert system shell
Apache License 2.0
20 stars 10 forks source link

Can not compile package #2

Open vulogov opened 3 years ago

vulogov commented 3 years ago

Receiving this error during compilation.

Darwin, go1.16

../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:33:13: undefined: Environment ../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:512:23: undefined: Environment ../../../../pkg/mod/github.com/keysight/clipsgo@v0.0.0-20200916214512-ed6292fa672e/pkg/clips/shell.go:562:12: undefined: Environment

mattsmi commented 3 years ago

I have similar findings. I cannot compile it. I get the following errors. pkg/clips/callback.go:50:5: could not determine kind of name for C.EnvArgTypeCheck pkg/clips/callback.go:33:2: could not determine kind of name for C.EnvPrintRouter pkg/clips/callback.go:45:16: could not determine kind of name for C.EnvRtnArgCount pkg/clips/callback.go:91:3: could not determine kind of name for C.EnvRtnUnknown pkg/clips/callback.go:27:22: could not determine kind of name for C.WERROR

mattsmi commented 2 years ago

I have forked the repository as it does not seem to be maintained by the original author. Go here to find a working version, including instructions for building the executable or using clipsgo in your own Go code.