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
I'm running Windows 10 x64 and am having an issue with when I try to build my app with: qtdeploy test desktop
or qtdeploy build desktop
I get the error listed below intermittently. I usually am able to compile if I try a few more times and sometimes it doesn't happen at all. I'm using VScode as my IDE btw. I also have my project living on a DropBox directory. It doesn't seem to matter if syncing is on or off. Any help or clues anyone can offer would be greatly appreciated!!
The most notable part of the error:
wm/sbs/launch/cancellations/ui
wm/sbs/launch/cancellations
# wm/sbs/launch/cancellations
C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzstd: No such file or directory
collect2.exe: error: ld returned 1 exit status
My Go env:
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\aellis4\AppData\Local\go-build
set GOENV=C:\Users\aellis4\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\aellis4\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\aellis4\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.21.3
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\aellis4\Dropbox\WM Projects\Cancellations\Source\Cancellation Process 2.0 - TEST6\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\aellis4\AppData\Local\Temp\go-build1414384863=/tmp/go-build -gno-record-gcc-switches
I think I figured out my issue. The docs for therecipe/qt state you don't have to use msys2 to setup/install the binding our deploy/compile your app if you want to compile a static application. I'm not having much luck using the command prompt within VSCode. I'm having much more consistent success just using msys2 to setup/install the binding as well as compiling my app. It seems through the default command prompt in VScode there's difficulty finding the zstd library. This is my guess.
Hello,
I'm running Windows 10 x64 and am having an issue with when I try to build my app with:
qtdeploy test desktop
or
qtdeploy build desktop
I get the error listed below intermittently. I usually am able to compile if I try a few more times and sometimes it doesn't happen at all. I'm using VScode as my IDE btw. I also have my project living on a DropBox directory. It doesn't seem to matter if syncing is on or off. Any help or clues anyone can offer would be greatly appreciated!!
The most notable part of the error:
My Go env:
QtSetup check:
And finally the full error:
The text was updated successfully, but these errors were encountered: