You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Im trying to set environment for application which runs at arm7.
It builds well when only cross-complie using .so
But if I put the option -DBUILD_SHARED_LIBS=OFF for static link when I install opencv, there are lots of error swarm almost undefined errror.
Description
Hi. Im trying to set environment for application which runs at arm7.
It builds well when only cross-complie using .so
But if I put the option -DBUILD_SHARED_LIBS=OFF for static link when I install opencv, there are lots of error swarm almost undefined errror.
error.txt
I just wonder about the gocv latest release version supports cross compile(ubuntu to arm7) and static link at the same time.
Im confused Im doing right way..
Any advice may rescue me, welcome any easier way for cross-compile, static link for arm7.
Steps to Reproduce
1.install all dependency
2.install opencv
3.build opencv for arm architecture
and paste cmd/version/main.go
GOARCH=arm GOOS=linux GOARM=7 CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ CGO_ENABLED=1 go build -o version -ldflags="-extldflags=-static"
Your Environment
The text was updated successfully, but these errors were encountered: