[Openmcl-devel] ltk in win32

Ray ray.yy.lv at gmail.com
Tue Mar 10 19:15:41 PDT 2009


thanks very much, it works.
but when I try to call function ltk-eyes,it gets error again:

Error: value 864 is not of the expected type CCL:MACPTR. 

This error occurs very frequently。


2009-03-11 



Ray 



发件人: Gary Byers 
发送时间: 2009-03-10  17:31:18 
收件人: Ray 
抄送: Openmcl-devel 
主题: Re: [Openmcl-devel] ltk in win32 
 
It's a bug.  There are several differences between the Windows and
Unix implementations of RUN-PROGRAM and friends, but
CCL:EXTERNAL-PROCESS-INPUT-STREAM and CCL:EXTERNAL-PROCESS-OUTPUT-STREAM
should be defined unconditionally.
To work around it, you might try something (admittedly ugly) like:
(unless (fboundp 'ccl:external-process-input-stream)
   (defun ccl:external-process-input-stream (proc)
     (check-type proc ccl::external-process)
     (ccl::external-process-input proc)))
(unless (fboundp 'ccl:external-process-output-stream)
   (defun ccl:external-process-output-stream (proc)
     (check-type proc ccl::external-process)
     (ccl::external-process-output proc)))
(load "ltk/ltk.lisp")
On Tue, 10 Mar 2009, Ray wrote:
> Hi,all!
>
> Does somebody use ltk in win32?
> I tried, but got some errors;
> It looks like this:
>
> ? (load "ltk/ltk.lisp")
> ;Compiler warnings :
> ;   In DO-EXECUTE: Undefined function CCL:EXTERNAL-PROCESS-INPUT-STREAM
> ;   In DO-EXECUTE: Undefined function CCL:EXTERNAL-PROCESS-OUTPUT-STREAM
> #P"D:/Bin/ccl/ltk/ltk.lisp"
> ?
>
> How can I fix this? Thanks.
>
>
> 2009-03-10
>
>
>
> Ray
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090311/eb04db26/attachment.htm>


More information about the Openmcl-devel mailing list