我已经为 MacOSX(碳)下载了 eclipse 3.4(java 版本)。我试图“更新”到 erlide,但看到许多(重复的)选项(许多 erlide、“仅用于 erl SDK 更新”的选项等)有时我在尝试访问http://erlide时遇到 403 错误.org/update和http://erlide.sourceforge.net/update。
最后,当我安装了一些选项时,我会得到如下错误:
Loading of /Users/kevindtimm/Documents/eclipse-java-ganymede-SR2-macosx-carbon/eclipse/plugins/org.erlide.kernel.common_0.8.1.201005250801/ebin/erlide_kernel_common.beam failed: badfile
(hello_world@ktmac)1>
=ERROR REPORT==== 24-Nov-2010::19:17:32 ===
beam/beam_load.c(1768): Error loading function erlide_kernel_common:monitor/0: op put_string u u x:
please re-compile this module with an R14B compiler
或者,当我完成不同的 erlide 安装时,控制台中没有响应:
hello:hello().
是否有人对如何加载此插件以及我应该安装哪些项目有很好的参考?
-module(hello).
-export([hello/0]).
hello() -> io:write("Hello World\n").
[编辑]
我已经按照下面的要求安装了 eclipse 3.6 (c++),但下面的代码仍然找不到 hello:hello()。
%%file_comment
-module(hello).
%%
%% Include files
%%
%%
%% Exported Functions
%%
-export([hello/0]).
%%
%% API Functions
%%
%%
%% Local Functions
%%
hello() -> io:write("Hello World\n").
[/编辑]