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

Libffi error when attempting to use (text) in a defsketch #38

Open
Jag-C opened this issue Jul 17, 2020 · 4 comments
Open

Libffi error when attempting to use (text) in a defsketch #38

Jag-C opened this issue Jul 17, 2020 · 4 comments

Comments

@Jag-C
Copy link

Jag-C commented Jul 17, 2020

OS: Windows 10
Implementation: SBCL 2.0.0 AMD64

When trying to use a sketch with (text) such as the hello-world example, the following error is generated:
The 'ffi_prep_cif' libffi call failed for function "TTF_RenderUTF8_Blended".

I used the windows installation method outlined in the README. The other sketch-examples (sinewave, brownian, life) work correctly.

@4lph4-Ph4un
Copy link

Hi, seems I've stumbled upon the same issue. Did you eventually find out any solutions?

@Jag-C
Copy link
Author

Jag-C commented Feb 19, 2022

I did not

@alexander-us85
Copy link

alexander-us85 commented Mar 20, 2022

Hi! What version of libffi do you use? Have you tried to upgrade the library to a newer version (if any)?

@swapneils
Copy link

I can reproduce this when using the MSYS terminal to run sbcl, but MingW and Powershell seem to be working fine.

Did you use the ttf installation instructions? I would guess from @aykaramba's comment on #50 that MSYS is expecting a .so file instead, so that may be the issue.

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

No branches or pull requests

5 participants