openai / go-vncdriver

Fast VNC driver
MIT License
123 stars 60 forks source link

python build.py error on Mac mojave python3.5 #37

Open metaroboman opened 5 years ago

metaroboman commented 5 years ago

Env info:

export CGO_LDFLAGS='/usr/local/opt/jpeg-turbo/lib/libjpeg.dylib -undefined dynamic_lookup -s' export GO15VENDOREXPERIMENT='1' export CGO_CFLAGS='-I/Users/valarian/python/miniconda3/envs/python35/lib/python3.5/site-packages/numpy-1.16.3-py3.5-macosx-10.7-x86_64.egg/numpy/core/include -I/Users/valarian/python/miniconda3/envs/python35/include/python3.5m' export GOPATH='/Users/valarian/python/miniconda3/envs/python35/go-vncdriver/.build'

Running build with OpenGL rendering. Building with OpenGL: GOPATH=/Users/valarian/python/miniconda3/envs/python35/go-vncdriver/.build go build -buildmode=c-shared -o go_vncdriver.so github.com/openai/go-vncdriver. (Set GO_VNCDRIVER_NOGL to build without OpenGL.)

runtime/cgo

In file included from _cgo_export.c:3: /Users/valarian/python/miniconda3/envs/python35/include/python3.5m/stdlib.h:88:10: fatal error: '__config' file not found

Note: could not build with OpenGL rendering (cf https://github.com/openai/go-vncdriver). This is expected on most servers. Going to try building without OpenGL. Building without OpenGL: GOPATH=/Users/valarian/python/miniconda3/envs/python35/go-vncdriver/.build go build -tags no_gl -buildmode=c-shared -o go_vncdriver.so github.com/openai/go-vncdriver

runtime/cgo

In file included from _cgo_export.c:3: /Users/valarian/python/miniconda3/envs/python35/include/python3.5m/stdlib.h:88:10: fatal error: '__config' file not found

Build failed. HINT: