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

arm-linux-gnueabi/bin/ld: cannot find #197

Closed
minhajakhterkhan199 opened this issue May 20, 2017 · 9 comments

Comments

@minhajakhterkhan199
Copy link

commented May 20, 2017

I am getting below error after executing go get -u github.com/go-gl/glfw/v3.1/glfw, Please advise hwo to solve this..

# github.com/go-gl/glfw/v3.1/glfw
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lGL
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lX11
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXrandr
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXxf86vm
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXi
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXcursor
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXinerama
collect2: error: ld returned 1 exit status
@tapir

This comment has been minimized.

Copy link
Member

commented May 20, 2017

@dmitshur

This comment has been minimized.

Copy link
Member

commented May 20, 2017

See the "Installation" section in the README for instructions on how to install GLFW dependencies.

https://github.com/go-gl/glfw#installation

@dmitshur dmitshur added the question label May 20, 2017
@minhajakhterkhan199

This comment has been minimized.

Copy link
Author

commented May 21, 2017

I have added both dependencies (libgl1-mesa-dev and xorg-dev) but still issue is not solved and I am getting same error message.. If I need to add something else then please advise.

@dmitshur

This comment has been minimized.

Copy link
Member

commented May 21, 2017

Based on your comment in go-gl/gl#76 (comment), where you said you're targeting Raspberry Pi 3, that platform is not supported by go-gl/glfw at this time. No one has implemented support for it.

@minhajakhterkhan199

This comment has been minimized.

Copy link
Author

commented May 21, 2017

please advise if there is any alternative way.

@tapir

This comment has been minimized.

Copy link
Member

commented May 21, 2017

@elmindreda

This comment has been minimized.

Copy link

commented May 21, 2017

Don't currently have the time, but GLFW works well on the Pi 3 if you enable anholt's experimental OpenGL support (see raspi-config).

@minhajakhterkhan199

This comment has been minimized.

Copy link
Author

commented May 21, 2017

@elmindreda I am getting below error after executing go get -u github.com/go-gl/glfw/v3.1/glfw, Please advise how to solve this.. My development machine is Ubuntu 64 & Target is Raspberry pi3

github.com/go-gl/glfw/v3.1/glfw

/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lGL
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lX11
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXrandr
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXxf86vm
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXi
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXcursor
/usr/lib/gcc-cross/arm-linux-gnueabi/5/../../../../arm-linux-gnueabi/bin/ld: cannot find -lXinerama
collect2: error: ld returned 1 exit status

@tapir

This comment has been minimized.

Copy link
Member

commented May 21, 2017

Please stop repeating yourself and start reading what you're already told. I'm closing this issue. There is enough information for OP to pursue further if he feels like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.