xgo icon indicating copy to clipboard operation
xgo copied to clipboard

Local file

Open pjebs opened this issue 7 years ago • 6 comments

How can I use this to x-compile a local project. It seems to attempt to search on the internet for my package which obviously doesn't exist.

equivalent to just go build *.go?

pjebs avatar Mar 17 '18 00:03 pjebs

https://github.com/karalabe/xgo/issues/77 => the advice here doesn't work

pjebs avatar Mar 17 '18 00:03 pjebs

Can confirm that this is no longer working.

Splizard avatar Jul 25 '18 10:07 Splizard

This only works when the local project is inside GOPATH

Splizard avatar Jul 25 '18 10:07 Splizard

@pjebs , I just built a local project without any real issue (after I fixed my environment variables). Is this still an issue for you? What error are you receiving?

wbh1 avatar Oct 09 '18 21:10 wbh1

@karalabe I would like to build from outside the GOPATH such as the files located in Documents/myproejct/gosrc/main. Is that possible??

jjhesk avatar Dec 05 '18 07:12 jjhesk

package xxx: no Go files in /ext-go/1/src/xxx Failed to cross compile package: exit status 1. i have got an error like this..

jjhesk avatar Dec 05 '18 08:12 jjhesk