tkeclipse不再支持Objective-C垃圾回收

问题描述 投票:0回答:1

执行tkeclipse或tktools时,我收到以下消息:

/.../Eclipse/bin/x86_64_macosx/tkeclipse ; exit;
objc[18335]: Objective-C garbage collection is no longer supported.

/.../Eclipse/tcltk/x86_64_macosx/bin/wish8.5: line 2: 18335 Abort trap: 6 
"$(dirname $0)/../Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

自从我更新了我的Mac(目前版本为10.13.4)后,我才收到此消息。有任何想法吗?

objective-c garbage-collection macos-high-sierra tcltk
1个回答
0
投票

我遇到了同样的问题。我找到的解决方案是执行xtkeclipsextktools命令。你应该有这些可执行文件,因为它们伴随着MacOS的eclipse。

它们都依赖于X11,如果你没有安装它,你可以在这里下载安装程序:https://www.xquartz.org

安装后,您需要注销然后重新登录才能使可执行文件正确运行。希望它有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.