Open rasa-silva opened 2 years ago
I'm on 11.6 on a 2019 15 inch MBP and can't replicate this, running the examples off of the master branch. Is there anything else about your system that could be a factor? Is it an M1 Mac?
Additionally: could you include the output of go env
? Could you name which examples are not working (or just one of them)?
Intel MacBook Go 1.17.2
❯ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ricardo.silva/Library/Caches/go-build"
GOENV="/Users/ricardo.silva/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ricardo.silva/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/ricardo.silva/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.17.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.17.2/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.17.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/ricardo.silva/code/oak/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/h7/rp8ld5_n2ld57w78vzqvcrx40000gp/T/go-build3544231302=/tmp/go-build -gno-record-gcc-switches -fno-common"
I replicated all of those settings and flappy-bird still runs for me.
Other, reaching ideas:
clang -v
output?1/2) I do have an external monitor through a dongle but I just disconnected it and ran only on the macbook display. Same problem. 3)
❯ clang -v
Homebrew clang version 11.1.0
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm@11/bin
4) yes. both of them run fine.
Thank you for all the details.
I downgraded from clang 13 to 11.1 via brew, and while the behavior of the examples is a little different (there's some initial rendering artifacts), it doesn't display just a black screen and the examples play as normal. You could try using a newer clang but based on that it shouldn't be a factor.
I've also tried manipulating GOMAXPROCS
to no effect.
So status: still unable to reproduce; next I'll try looking for historical issues in any dependencies.
Trying to run the examples simple shows a window with a black background. There seem to be no errors...
OSX 11.6