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

cffi-libffi issue on arm (Nvidia Tegra K1) #16

Closed
tjklemz opened this issue Jan 12, 2017 · 1 comment
Closed

cffi-libffi issue on arm (Nvidia Tegra K1) #16

tjklemz opened this issue Jan 12, 2017 · 1 comment

Comments

@tjklemz
Copy link
Contributor

tjklemz commented Jan 12, 2017

Edit: I've narrowed the problem down to just set-gamma-ramp. I'm seeing if I can fix it to not use a cffi-libffi dependent feature of calling structures by value.


Hi there. I have good news and bad news. The bad news is that there seems to be an issue with cffi-libffi on arm. (I'm running an Nvidia Tegra K1 with Ubuntu.) The good news is, only four one function depend on cffi-libffi. They are:

  • get-video-modes
  • get-video-mode
  • get-gamma-ramp
  • set-gamma-ramp

I have forked your repo and commented out these functions (as they don't seem to be critical): https://github.com/tjklemz/cl-glfw3/tree/remove-cffi-libffi

I then cloned that to local-projects in the quicklisp directory and re-loaded. It works great! I'm using Clozure CL.

Is there a way we can modify those four functions to not use the cffi-libffi dependency? It appears to have something to do with the :struct keyword. I'm not the best with cffi, but I may take a whack at it later tomorrow. I figured I would document the problem here, though.

@tjklemz
Copy link
Contributor Author

tjklemz commented Jan 27, 2017

Everything appears to be working after the PR. I've tested on a couple machines, including my Tegra K1. Closing this GH issue.

@tjklemz tjklemz closed this as completed Jan 27, 2017
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

1 participant