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
➜ xmakeDemo xmake f -p windows -a x86_64 -m release
checking for the Microsoft Visual Studio (x86_64) version ... no
please run:
- xmake config --vs=xxx [--vs_toolset=xxx]
or - xmake global --vs=xxx
Expected behavior
build windows binary success.
Related Environment
xmake version:3.6 latest dev
xmake v2.3.6+202007301004, A cross-platform build utility based on Lua
os:Manjaro Linux
target platform: Windows
Go version: go 1.14.6
The text was updated successfully, but these errors were encountered:
I have fixed it, you can update to dev version and try it again.
$ xmake update -s dev
$ xmake f -p windows -c
$ xmake
after upgarded to the version you mentioned
➜ ~ xmake update -s dev
update version dev from official source ..
=> download https://gitee.com/tboox/xmake.git .. ok
=> install script to /home/czyt/.local/share/xmake .. ok
➜ ~
now I can compile.but still have some problem:
compile need root permition.
2.after build there was nothing in the build directory.
here is the log
➜ xmakeDemo xmake f -p windows -a x86_64 -m release
note: we need build go for windows_amd64 only once first! (pass -y or --confirm=y/n/d to skip confirm)?
please input: y (y/n)
y
building go for windows_amd64 .. error: go build cmd/dist: copying /tmp/go-build163553446/b001/exe/a.out: open cmd/dist/dist: permission denied
➜ xmakeDemo sudo xmake f -p windows -a x86
➜ xmakeDemo ls
build src xmake.lua
➜ xmakeDemo cd build
➜ build ls
building go for windows_amd64 .. error: go build cmd/dist: copying /tmp/go-build163553446/b001/exe/a.out: open cmd/dist/dist: permission denied
Because it will run the following command to build go for other platform.
$ cd /usr/lib/go-1.6/src
$ GOOS=windows GOROOT_BOOTSTRAP=/usr/lib/go-1.6/ GOARCH=amd64 ./make.bash --no-clean
I have only tested cross-compilation on macos/windows before (see #898), but I haven’t tested it under linux. It seems that there are some permissions issues that need to be dealt with.
Describe the bug
I run command on linux but it chek for vs?
Expected behavior
build windows binary success.
Related Environment
The text was updated successfully, but these errors were encountered: