Hi there!
Thanks for the project!
Unfortunately I'm unable to build it
make dist
go build -gccgoflags "-pthread" -ldflags "-s -w -X 'codeberg.org/snaums/mvoCI/core.Version=dev-8191475506' -X 'codeberg.org/snaums/mvoCI/core.BuildTime=Wed Jan 19 06:34:51 AM MSK 2022' -X 'codeberg.org/snaums/mvoCI/core.Compiler=go version go1.17.6 linux/amd64' -X 'codeberg.org/snaums/mvoCI/core.GitHash=819147550690e55ac8bbcbf47112bad003244dd2'" main.go
go build: when using gc toolchain, please pass compile flags using -gcflags, and linker flags using -ldflags
# codeberg.org/snaums/mvoCI/build
build/worker.go:34:21: undefined: core.Thread
build/worker.go:71:28: undefined: core.Thread
build/worker.go:73:22: undefined: core.Pthread_create
make: *** [Makefile:28: mvobuild] Error 2
What could be wrong?
Hi there!
Thanks for the project!
Unfortunately I'm unable to build it
```
make dist
go build -gccgoflags "-pthread" -ldflags "-s -w -X 'codeberg.org/snaums/mvoCI/core.Version=dev-8191475506' -X 'codeberg.org/snaums/mvoCI/core.BuildTime=Wed Jan 19 06:34:51 AM MSK 2022' -X 'codeberg.org/snaums/mvoCI/core.Compiler=go version go1.17.6 linux/amd64' -X 'codeberg.org/snaums/mvoCI/core.GitHash=819147550690e55ac8bbcbf47112bad003244dd2'" main.go
go build: when using gc toolchain, please pass compile flags using -gcflags, and linker flags using -ldflags
# codeberg.org/snaums/mvoCI/build
build/worker.go:34:21: undefined: core.Thread
build/worker.go:71:28: undefined: core.Thread
build/worker.go:73:22: undefined: core.Pthread_create
make: *** [Makefile:28: mvobuild] Error 2
```
What could be wrong?
you seem to be on Linux, with a recent go compiler. The git hash seems a bit odd, try git pull to get the most recent version, make sure you are on the master branch.
I've tested it with a freshly cloned repo on my side and it works like a charm.
core.Thread should be very much not missing. Did you accidentally remove the core/pthread.go file?
Regards,
snaums
Hello,
you seem to be on Linux, with a recent go compiler. The git hash seems a bit odd, try `git pull` to get the most recent version, make sure you are on the master branch.
I've tested it with a freshly cloned repo on my side and it works like a charm.
`core.Thread` should be very much not missing. Did you accidentally remove the `core/pthread.go` file?
Regards,
snaums
Hi there!
Thanks for the project!
Unfortunately I'm unable to build it
What could be wrong?
Hello,
you seem to be on Linux, with a recent go compiler. The git hash seems a bit odd, try
git pull
to get the most recent version, make sure you are on the master branch.I've tested it with a freshly cloned repo on my side and it works like a charm.
core.Thread
should be very much not missing. Did you accidentally remove thecore/pthread.go
file?Regards,
snaums
Yes, it's updated Archlinux
Go version is