[Openmcl-devel] ltk in win32

Gary Byers gb at clozure.com
Wed Mar 11 05:31:48 UTC 2009


What is the function LTK-EYES ?  What does it do ?  (How would I know ?)
What does the backtrace say ?


On Wed, 11 Mar 2009, Ray wrote:

> 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
>>
>


More information about the Openmcl-devel mailing list