【问题标题】:Clozure CL : an error occurs when requiring Cocoa frameworkClozure CL : 需要 Cocoa 框架时发生错误
【发布时间】:2016-08-11 00:03:30
【问题描述】:

我正在尝试在 Mac OS X 10.11.4 上要求 Cocoa 框架,但我不能要求它。

日志:

$ 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

如何解决?

【问题讨论】:

标签: macos cocoa common-lisp ccl


【解决方案1】:

使用 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")
? 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-12-06
    • 2016-05-04
    • 2020-02-21
    • 2012-03-13
    • 1970-01-01
    • 2015-12-17
    • 1970-01-01
    相关资源
    最近更新 更多