go-freeling icon indicating copy to clipboard operation
go-freeling copied to clipboard

issue in building gofreeling.go in Mac

Open roger2000hk opened this issue 9 years ago • 2 comments

compile the mitie lib with make install, but when try to build gofreeling.go getting:

go build -v gofreeling.go
github.com/advancedlogic/go-freeling/models
github.com/advancedlogic/go-freeling/terminal
github.com/advancedlogic/go-freeling/nlp
# github.com/advancedlogic/go-freeling/nlp
nlp/nlp.go:69: undefined: MITIE

roger2000hk avatar Aug 31 '15 09:08 roger2000hk

You can install MITIE using homebrew:

brew update
brew install mitie

ahamidi avatar Jan 26 '16 21:01 ahamidi

Hi,

Ive managed to install mitie #2 however after this the error changed to:

/tmp/go-build297469961/github.com/advancedlogic/go-freeling/nlp/_obj/mitie.cgo2.o: In function `get_entity':
../github.com/advancedlogic/go-freeling/nlp/mitie.go:28: undefined reference to `mitie_ner_get_detection_score'
collect2: error: ld returned 1 exit status

Any ideas?

thomasmodeneis avatar Jun 02 '16 13:06 thomasmodeneis