<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 11/24/2011 11:44 PM, Juan Jose Garcia-Ripoll wrote:
<blockquote
cite="mid:CANejTzpiTsOr2qaRCjPSzfvfDDvBvztDFVrLUZL1UMs01_asfg@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 12:51 AM, Paul
Bowyer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:pbowyer@olynet.com">pbowyer@olynet.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb">
<div class="h5">On 11/23/2011 11:56 PM, Juan Jose
Garcia-Ripoll wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Paul, have you tried adding :clx to the dependencies
list of your ASDF file? If that is not present, there is
no way ECL knows that CLX must be part of your system.
An alternative is to insert an explicit (require :clx)
at the beginning of your program, but then you will have
to ship clx.fas with your program.<br>
<br>
Juanjo<br>
<br>
-- <br>
Instituto de Física Fundamental, CSIC<br>
c/ Serrano, 113b, Madrid 28006 (Spain)<br>
<a moz-do-not-send="true"
href="http://juanjose.garciaripoll.googlepages.com"
target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</blockquote>
</div>
</div>
Juanjo:<br>
<br>
After adding ":depends-on (:clx)" to my ".asd" file,
"clx-gui-mono" no longer errors out. I tried ":depends-on
(:xlib)" which is also in "*features*" but it didn't like
that.<br>
<br>
However, I still haven't discovered how to invoke
"(clx-gui:start)" when I run "clx-gui-mono". All
"clx-gui-mono" does when I run it is terminate without doing
anything.<br>
</blockquote>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://ecls.sourceforge.net/new-manual/re03.html">http://ecls.sourceforge.net/new-manual/re03.html</a>
<div><br>
</div>
<div>It is there: the :epilogue-code is a keyword argument
with, typically, a lisp statement. Even simpler: all
statements in your lisp code are executed in sequence at
startup time. Just add a (clx-gui:start) at the end.</div>
</div>
</div>
<br>
Juanjo<br clear="all">
<div><br>
</div>
-- <br>
Instituto de Física Fundamental, CSIC<br>
c/ Serrano, 113b, Madrid 28006 (Spain) <br>
<a moz-do-not-send="true"
href="http://juanjose.garciaripoll.googlepages.com"
target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</blockquote>
Juanjo and Matt:<br>
<br>
Thanks for the help.<br>
<br>
Juanjo: I had previously tried placing "(clx-gui:start) at the end
of my code, but that caused an error when compiling (didn't look to
hard at why) so I removed it. I completely missed the :epilogue-code
as the possible solution when I was perusing the manual. I finally
tried "(progn(clx-gui:start) (ext:quit 0))" as :epilogue-code after
you mentioned it and that worked for me.<br>
<br>
Matt: I appreciate your tip on "(pushnew :mm-ecl-standalone <b
class="moz-txt-star"><span class="moz-txt-tag">*</span>features<span
class="moz-txt-tag">*</span></b>)" and I'll get around to using
it later on when I gain more experience with Common Lisp in general
and ECL in particular. My programming abilities with Common Lisp
have all been self-taught and I'm still pretty much a novice at it
(in my opinion).<br>
<br>
Again, thanks to you both for getting a novice on track.<br>
<br>
Paul<br>
<br>
</body>
</html>