<div dir="ltr"><div><div><div>Hello,<br><br>I have been having trouble with a bug that seems
to only occur when running from SLIME, as opposed to the REPL at a CMD
prompt. Basically, when I try to run a windowed application, it will
hang when opening the window. I do not have any idea why. For example,
the following sequence will hang:<br>
<br>(ql:quickload "sdl2-examples")<br></div><div>(sdl2-examples:basic-test)<br></div><div><br>When
trying to debug it further, I found an odd workaround, though. I
noticed CCL had some basic win32 samples. In trying to isolate the
issue, I ran the following:<br>
<br>(defun hack-fix-slime-window ()<br> (load "c:/Users/MickBeaver/private/software_packages/ccl/examples/mswin.lisp")<br> (make-simple-ms-window))<br><br></div>That
opens a basic win32 window. Afterward, my other windowed applications
will start working as expected. So strange! I do not have any issues
running from the CMD prompt REPL, though. According to CCL's mswin.lisp,
I do not believe I was the first person to encounter this:<br>
<br></div><div><snip-start><br></div><div>;;; At the moment, attempts to create a window when running under SLIME<br>;;; fail for unknown reasons.<snip-end><br><br></div>Any ideas?<br><br>System info:<br>GNU Emacs 24.3.1<br>
<div>SLIME 2014-03-27<br></div>Microsoft Windows 7 x64 Professional and Microsoft Windows 8 x64<br>Tried both Clozure Common Lisp 1.9 64-bit and SBCL 1.1.17 64-bit<br><br></div>-Mick<br><br></div>