Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go_vncdriver was installed without OpenGL support #10

Closed
mtmvu opened this issue Dec 6, 2016 · 3 comments
Closed

go_vncdriver was installed without OpenGL support #10

mtmvu opened this issue Dec 6, 2016 · 3 comments

Comments

@mtmvu
Copy link

mtmvu commented Dec 6, 2016

Hi,
I ran into this problem even after installing all the depedencies.
build.sh gives me:

./build.sh: 60: ./build.sh: [[: not found
Env info:
export CGO_LDFLAGS='/usr/lib/x86_64-linux-gnu/libjpeg.so -L/home/ubuntu/miniconda3/envs/myUniverse/lib -lpython3.5m'
export CGO_CFLAGS='-I/home/ubuntu/miniconda3/envs/myUniverse/lib/python3.5/site-packages/numpy/core/include -I/home/ubuntu/miniconda3/envs/myUniverse/include/python3.5m'
Running build with OpenGL rendering.
Building with OpenGL: go build -buildmode=c-shared -o go_vncdriver.so. (Set GO_VNCDRIVER_NOGL to build without OpenGL.)

Then install go-vncdriver again.
And when i run the exact example from the universe readme, i got the error mentionned above.

I have no ideas where this could come from

@tlbtlbtlb
Copy link
Contributor

You should be able to work around this by running bash build.sh instead of ./build.sh.

@jeremyschlatter
Copy link
Contributor

Sorry about that. This is fixed in d5861f1.

@jeremyschlatter
Copy link
Contributor

Marking as resolved. I think the [[: not found error, which is now fixed, actually didn't cause a problem here[1]. You just need to run a different command post-installation from what we had in the README. See 2c2f651.

[1] There was a bug in the build script, but the bug just caused the script to skip an if clause that it would have skipped anyway.

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

No branches or pull requests

3 participants