vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

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

Open Jag-C opened 4 years ago

Jag-C commented 4 years ago

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 commented 2 years ago

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

Jag-C commented 2 years ago

I did not

alexander-us85 commented 2 years ago

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

swapneils commented 1 year ago

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.