Closed kYroL01 closed 1 year ago
Hi!
what exact command have you been using to compile? It sounds at first like GO issue
This is one we are using from Dockerfile - https://github.com/ivlovric/HFP/blob/main/Dockerfile#LL6C5-L6C42 You can also try without explicitly invoking linker "go build -o HFP *.go"
Take a look similar error here - https://stackoverflow.com/questions/62330084/fail-to-build-with-code-go-redeclared-in-this-block
Thanks, I
Hi @ivlovric thanks for the answer.
I just clone the repo on a Centos 7 machine and run make
as said in the Readme, nothing more.
I'm gonna check the link you sent me and let you know
Thank you!
Hi,
thanks for more details, running make directly should be enough which I just tested on Intel Mac and build was successful.
Thanks, I
Hey @ivlovric I resolved the issue.
it seems that if you're root
when you install go
and run export GOPATH=$HOME/go
, it place under root/go
and then when I run make
inside HFP it does not like the path.
So, /root
is definitely a bad place where to put this :)
Thanks for the reply. Michele
Hi everyone! I'm trying to deploy HFP on a Centos 7 machine to make some test, but when I run
make
I got the following errorI'm using go version
go1.17.5 linux/amd64
Thank you