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
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9.1 windows/amd64
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\wighawag\go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\wighawag\AppData\Local\Temp\go-build007857451=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
What did you do?
assuming the mobile example and gomobile has been installed :
gomobile: go build -pkgdir=C:\Users\wighawag\go\pkg\gomobile/pkg_android_arm64 -buildmode=c-shared -o=C:\Users\wighawag\AppData\Local\Temp\gomobile-work-591065323\android\src\main\jniLibs\arm64-v8a\libgojni.so C:\Users\wighawag\AppData\Local\Temp\gomobile-work-591065323\androidlib\main.go failed: exit status 2
# _/C_/Users/wighawag/AppData/Local/Temp/gomobile-work-591065323/gomobile_bind
seq_android.c:213:3: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
seq_android.c:213:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.1 windows/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
assuming the mobile example and gomobile has been installed :
gomobile bind -target=android golang.org/x/mobile/example/bind/hello
I get the following error:
The text was updated successfully, but these errors were encountered: