emacs.d/clones/lisp/www.cliki.net/cl-sdl.html
2022-10-07 15:47:14 +02:00

64 lines
No EOL
5.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLiki: CL-SDL</title>
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
href="https://www.cliki.net/site/feed/article.atom?title=CL-SDL">
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/colorize.css">
</head>
<body>
<span class="hidden">CLiki - CL-SDL</span>
<div id="content"><div id="content-area"><div id="article-title">CL-SDL</div><div id="article">CL-SDL is a set of Common Lisp bindings for the <a href="SDL.html" class="internal">SDL</a> <a href="graphics&#32;library.html" class="internal">graphics library</a>, and <a href="OpenGL.html" class="internal">OpenGL</a>, using <a href="UFFI.html" class="internal">UFFI</a>.<p><hr><p>Unless you have a specific need for CL-SDL you should use <a href="lispbuilder-sdl.html" class="internal">lispbuilder-sdl</a>. The CL-SDL project is not maintained anymore.<p><hr><p>It currently runs, to some extent, on a number of platforms, such as
<ul>
<li> <a href="CMUCL.html" class="internal">CMUCL</a>/x86 </li>
<li> <a href="ACL.html" class="internal">ACL</a>: Allegro/Linux/x86 and Allegro/win32 </li>
<li> <a href="LispWorks.html" class="internal">LispWorks</a>/Linux/x86 and LispWorks/win32 (but only 2D so far) </li>
<li> <a href="SBCL.html" class="internal">SBCL</a>/x86 and SBCL/PowerPC (but only certain demos don't crash) </li>
<li> <a href="OpenMCL.html" class="internal">OpenMCL</a>/Darwin (it compiles/loads and hopefully might even work soon!) </li>
<li> <a href="CLISP.html" class="internal">CLISP</a> using the <a href="https://sourceforge.net/p/clisp/patches/13/">UFFI wrapper macros from Sourceforge's CLISP Patches section</a>. The demos report the same FPS rate as for CMUCL, which shows that their limiting speed factor is not bytecodes vs. native code, but probably the OpenGL/MESA libraries and hardware.
It doesn't quite work. Does anyone has info how to make at least part of it work on <a href="win32.html" class="internal">win32</a>? Note: There are Win32 DLLs on the project website, dated March 14, 2004.
</li>
</ul><p>The project page is at <a href="http://cl-sdl.sourceforge.net/">http://cl-sdl.sourceforge.net/</a>.<p><h2>Using CL-SDL with CLISP</h2><p>You need the above <a href="UFFI.html" class="internal">UFFI</a> wrappers. Additionally, I put
my <a href="https://sourceforge.net/p/cl-sdl/patches/">patches to CL-SDL</a>
on Sourceforge. That's how I got it running on Linux. I didn't try out MS-Windows. -- <a href="Jörg&#32;Höhle.html" class="internal">Jörg Höhle</a><p><hr><p>Problem with the popular Nvidia proprietary binary OpenGL drivers on Linux and CL-SDL on <a href="CMUCL.html" class="internal">CMUCL</a>:<p>There is a problem with the "Thread Local Storage" (TLS) libraries of the nvidia drivers (and probably any other TLS libraries) in conjunction with CMUCL. A workaround is to set the environment variable <tt>LD_ASSUME_KERNEL=2.3.98</tt> in the unix environment of your lisp process.<p><i>Upgrading to 0.6111 GNU/Linux driver version, problems related to Nvidia and TLS seem to be fixed.</i><p><hr>
<a href="obsolete.html" class="category">obsolete</a></div></div>
<div id="footer" class="buttonbar"><ul><li><a href="CL-SDL.html">Current version</a></li>
<li><a href="https://www.cliki.net/site/history?article=CL-SDL">History</a></li>
<li><a href="https://www.cliki.net/site/backlinks?article=CL-SDL">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=CL-SDL&amp;from-revision=3825978774">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
</div>
<div id="header-buttons" class="buttonbar">
<ul>
<li><a href="https://www.cliki.net/">Home</a></li>
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
<li><a href="CLiki.html">About</a></li>
<li><a href="Text&#32;Formatting.html">Text Formatting</a></li>
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
</ul>
<div id="search">
<form action="https://www.cliki.net/site/search">
<label for="search_query" class="hidden">Search CLiki</label>
<input type="text" name="query" id="search_query" value="" />
<input type="submit" value="search" />
</form>
</div>
</div>
<div id="pageheader">
<div id="header">
<span id="logo">CLiki</span>
<span id="slogan">the common lisp wiki</span>
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
<label for="login_name" class="hidden">Account name</label>
<input type="text" name="name" id="login_name" class="login_input" />
<label for= "login_password" class="hidden">Password</label>
<input type="password" name="password" id="login_password" class="login_input" />
<input type="submit" name="login" value="login" id="login_submit" /><br />
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
</form>
</div>
</div>
</div>
</body></html>