Open alfonzodi opened 4 years ago
If your code is reachable somewhere (e.g. a zip bundle or something) I can try to repro. With no code to see what you're doing, I cannot repro and thus cannot figure out what might be off. Go modules are weird. In general xgo should work, but there's no explicit support, so might depend on your code base.
xgo isnt using go1.13 in his error.
HI ,
I’m working on go project that implmenting C code ! I can build the project on linux/amd64, and we now that go don’t cross compile if we use “IMPORT C”. So i work with XGO that maybe help me to cross compiling for ARM. i check XGO by cross compiling version of my go project without C code and it’s work like cross compil of go.
my environement :
Go env :
My project is on =>
My package that include c code is on =>
the go.mode of my project :
the go.mode of my lorawan package :
My command to cross-compil is:
The result error are :
the C code that my lorwan package use are in =>
I already building the project with this configuration with go for amd64, i'm beginner on cross-compile, maybe there are some dependency i must configure or something like that.
I really don’t now why he say “no such file or directory”, because there are go.mod in folder lorawan ! can some one help me ? thanks