<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">thank you Paul, this worked!</div>
<div class=""><br class="">
</div>
<div class="">There is still one confusion: when I do subclass ns-application (e.g., below as my-application) where does one specify the application class name? Is there something similar to GUI::*DELEGATE-CLASS-NAME for application? At first I assumed that
 the application-class of build-application served this purpose but I think this is a CLOS not cocoa class.</div>
<div class=""><br class="">
</div>
<div class="">
<pre style="word-wrap: break-word; white-space: pre-wrap;" class="">(defclass my-application (ns:ns-application)
  ()
  (:metaclass ns:+ns-object))</pre>
<div class=""><br class="">
</div>
</div>
<div class="">best, Alex</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 10, 2017, at 12:38 PM, Paul Onions <<a href="mailto:ponions37@gmail.com" class="">ponions37@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 10 Jan 2017, at 04:41, Alexander Repenning wrote:<br class="">
<br class="">
<blockquote type="cite" class="">I have been out the loop for some time. AgentCubes is a CCL based Application on the Mac/PC but it no longer runs on MacOS Sierra (10.12.2)<br class="">
<br class="">
This is probably not even close to sufficient information but we get:<br class="">
<br class="">
<blockquote type="cite" class="">Error: The value #<A Foreign Pointer #x63380D0> is not of the expected type OBJC:OBJC-OBJECT.<br class="">
While executing: (:OBJC-DISPATCH NEXTSTEP-FUNCTIONS:|init|), in process Initial(0).<br class="">
</blockquote>
<br class="">
Does this ring a bell with anybody?<br class="">
</blockquote>
<br class="">
Yes!  This is the same message that a user reported when trying to run my Hoppi application [1] on Sierra.  It was built by me with CCL 1.10 on El Capitan (I don't yet have Sierra).  The problem went away when I updated the application to build with CC 1.11
 (see the thread "Tips on building a mac application" on this mailing list a few weeks ago).<br class="">
<br class="">
The changes I had to make to get Hoppi to build with CCL 1.11 were:-<br class="">
<br class="">
1. change my application class to subclass NS:NS-APPLICATION directly, instead of GUI::LISP-APPLICATION (which was removed in CCL 1.11), and<br class="">
<br class="">
2. use GUI::*DELEGATE-CLASS-NAME* instead of GUI::*DEFAULT-NS-APPLICATION-PROXY-CLASS-NAME* to set the application delegate class for CCL::BUILD-APPLICATION.<br class="">
<br class="">
Hope this helps,<br class="">
Paul<br class="">
<br class="">
[1] <a href="https://bitbucket.org/cloudycat/hoppi" class="">https://bitbucket.org/cloudycat/hoppi</a><br class="">
<br class="">
_______________________________________________<br class="">
Openmcl-devel mailing list<br class="">
<a href="mailto:Openmcl-devel@clozure.com" class="">Openmcl-devel@clozure.com</a><br class="">
https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div class="">
<div style="orphans: 2; widows: 2;" class="">
<div style="margin: 0px;" class=""><font face="Helvetica" size="3" class="">Prof. Alexander Repenning</font></div>
<div style="margin: 0px;" class=""><br class="khtml-block-placeholder">
</div>
<div style="margin: 0px;" class="">University of Colorado</div>
<div style="margin: 0px;" class="">Computer Science Department</div>
<div style="margin: 0px;" class="">Boulder, CO 80309-430</div>
<div class=""><br class="">
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>