Build error
masakotoda opened this issue · 1 comments
masakotoda commented
I'm trying to build, but "make" throws an error.
On Mac 10.14.6
make -C src
go build -buildmode=c-shared -o optimizely-sdk.so csdk.go
# command-line-arguments
./csdk.go:57:34: not enough arguments in call to logging.GetLogger
have (string)
want (string, string)
./csdk.go:660:22: assignment mismatch: 3 variables but optlyClient.GetAllFeatureVariables returns 2 values
make[1]: *** [optimizely-sdk.so] Error 2
make: *** [all] Error 2
On Windows 10
go build -buildmode=c-shared -o optimizely-sdk.so csdk.go
# runtime/cgo
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in
make: *** [optimizely-sdk.so] Error 2
masakotoda commented
The issue on Windows seems to be because I don't have gcc 64bit on my PC.