Open Jumbef opened 2 years ago
It seems it also needs pacman -S hdf5
at the time of this comment.
Also, I don't know if it's normal but the first time it takes a extra long time to run.
Also, I don't know if it's normal but the first time it takes a extra long time to run.
Compiling CGo like GoCV requires compiling and linking both the Go code and the C code. As a result, until the CGo is cached it takes longer to run.
Description
On on Manjaro french install gocv need installation of opencv AND vtk
Steps to Reproduce
pacman -Suy
pacman -S go
pacman -S opencv
mkdir -p ~/tmp/gocv-test && cd ~/tmp/gocv-test
go mod init gocv-test
main.go
filego mod tidy
go run main.go
then got ton of errors like :Your Environment
env.sh
orenv.cmd
script before trying togo run
orgo build
? No, the script is deprecated.Workarround / Solution :
From what I understood from the errors I looked about libvtk then installed it
pacman -S vtk
. Once done, retried step 9 successfully.