alex_us

Results 7 comments of alex_us

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

I got the same error in Clozure CL on Os X (el Capitan) but on sbcl everything seems to be OK. At least (cl-glfw3-examples:basic-window-example) works as expected.

@codescrawl Here's a screenshot of mine: http://joxi.ru/krDlRV5Spdn3rp SBCL 1.2.16.143-1e1da23, Clozure CL Version 1.12-dev-r16611M-trunk (DarwinX8664), OS X El Capitan. There is a place in cl-glfw3 sources, which handles floating point traps:...

Ok, finally I've got some information. In sbcl, FLOATING-POINT-OVERFLOW occurs in a build without threading support. I installed sbcl from homebrew (which was with sb-threads) and got the same error,...

@AlexCharlton May be it's possible to add a library such as https://github.com/Shinmera/trivial-main-thread as a dependency? I've tried it with the following code: ``` (ql:quickload '(cl-glfw3 cl-glfw3-examples trivial-main-thread)) (trivial-main-thread:call-in-main-thread (lambda ()...

@codescrawl OK, that's great! Have you tried glfw3 installation with homebrew? I don't remember exactly, but it seems that I've made homebrew glfw installation and everything was ok. There is...

@codescrawl One small PS. If you don't consider using sbcl or other implementations, maybe you'll find more useful to make direct calls to libglfw3.dylib via native clozure's ffi generator? Although...