Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

gb build do not work correctly on windows (can work correctly on linux) #732

Open
makefriend8 opened this issue Feb 7, 2018 · 0 comments

Comments

@makefriend8
Copy link

gb build
the same project
on windows

FATAL: command "build" failed: failed to resolve import path "github.com/matrix-org/dendrite/clientapi": import "golang.org/x/sys/windows": not found: CreateFile c:\code\go\dendrite\src\golang.org\x\sys\windows: The system cannot find the path specified.

gb env
GB_PROJECT_DIR="c:\code\go\dendrite"
GB_SRC_PATH="c:\code\go\dendrite\src;c:\code\go\dendrite\vendor\src"
GB_PKG_DIR="c:\code\go\dendrite\pkg\windows-amd64"
GB_BIN_SUFFIX="-windows-amd64"
GB_GOROOT="c:\go"

on linux
begin to download the dependency.(and work ok)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant