3

我试图在 Mac OS X 10.11.4 上要求 Cocoa Framework,但我不能要求它。

日志:

$ ccl --version
Version 1.11-r16635  (DarwinX8632)

$ ccl
Welcome to Clozure Common Lisp Version 1.11-r16635  (DarwinX8632)!

? (require :COCOA)

:COCOA
("IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "COCOA")
? Unhandled exception 10 at 0x992bb43c, context->regs at #xbfffdbcc
Exception occurred while executing foreign code
 at _class_initialize + 9
received signal 10; faulting address: 0xbf7ffffc
? for help
[6330] Clozure CL kernel debugger: ^CKilled: 9

如何解决这个问题?

4

1 回答 1

3

使用 64 位版本

$ ccl64 --version
Version 1.11-r16635  (DarwinX8664)

$ ccl64
Welcome to Clozure Common Lisp Version 1.11-r16635  (DarwinX8664)!

CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com.  To enquire about Clozure's Common Lisp
consulting services e-mail info@clozure.com or visit http://www.clozure.com.

? (require :COCOA)
...
:COCOA
("IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "COCOA")
? 
于 2016-04-19T05:50:39.370 回答