-
Notifications
You must be signed in to change notification settings - Fork 75
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
GOARCH=arm support. #76
Comments
Target is arm? Can you elaborate? I don't think targeting arm architecture is supported by go-gl/gl packages. You may want to consider |
Development Machine is Ubuntu 16.04 amd64 and Target machine is Raspberry Pi 3, Please advise to solve the issue export GOOS=linux |
I know |
How would you estimate the amount of work to add ARM support to go-gl/gl? |
Most of the work would be figuring out why it doesn't work, and what needs to be done to make it work. It's hard to estimate it other by starting to do it and seeing how it goes. I think most ARM-based platforms support only OpenGL ES, not OpenGL, so this is most likely only relevant to the Also, in case it's helpful, see https://hackernoon.com/barriers-to-effective-software-effort-estimation-and-how-to-avoid-them-4abd39f09f26. |
@dmitshur I've been able to compile a go-gl/gl + go-gl/glfw app yesterday on the raspberry without issue. I've not yet been able to get it display something yet, I still have to learn how to configure the context properly (RPi only support OpenGL up to 2.1). But I can tell that the issue with CFLAGS |
Thanks for the update. Please keep letting us know, I'll keep this issue open until someone reports success at getting this working. |
It's working. This is a working example https://github.com/libretro/ludo/blob/master/.travis.yml#L37-L59 |
@kivutar - great news. Is there any action to take over on this repository? |
@pwaller No, as you can see in my go.mod I'm using the unmodified go-gl code. I think that installing the right dependencies for the right architecture is what made the difference for the cross compilation. Building directly on an ARM system was straightforward. |
I am getting below error, after downloading (go get -u github.com/go-gl/gl/v{3.2,3.3,4.1,4.2,4.3,4.4,4.5}-{core,compatibility}/gl)
My development machine is Ubuntu 16.04 amd64 and target is arm. Please advise to solve this issue
The text was updated successfully, but these errors were encountered: