erlide,哪个 eclipse/哪个包?
我已经下载了 MacOSX (carbon) 的 eclipse 3.4 (java 版本)。我尝试“更新”到 erlide,但看到许多(重复的)选项(许多 erlide、显示“仅用于 erl SDK 更新”的选项等)有时,在尝试访问 http://erlide.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().
是否有人对如何加载此插件有一个很好的参考-in 以及我应该安装哪些项目?
-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").
[/编辑]
I have downloaded eclipse 3.4 (java version) for MacOSX (carbon). I have tried to 'update' to the erlide, but see many (duplicated) options (many erlide, options that say 'only for erl SDK updates', etc.) Sometimes I get 403 errors when attempting to access http://erlide.org/update and http://erlide.sourceforge.net/update.
Finally, when I get some set of options installed, I either get errors like :
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
or, when I've done different installations of erlide, I get no response in the console to :
hello:hello().
Does anybody have a good reference for how to load this plug-in and which items I should install?
-module(hello).
-export([hello/0]).
hello() -> io:write("Hello World\n").
[edit]
I have installed eclipse 3.6 (c++) as requested below, and the following code still can't find hello:hello().
%%file_comment
-module(hello).
%%
%% Include files
%%
%%
%% Exported Functions
%%
-export([hello/0]).
%%
%% API Functions
%%
%%
%% Local Functions
%%
hello() -> io:write("Hello World\n").
[/edit]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对你来说可能有点晚了,但对于其他人来说,我的设置可能会避免一些挫折。
我安装了 OSX 10.6.5、64 位和 Erlang R14B。
经过几次错误启动后,我发现以下方法有效:
接下来,定义一个 Erlang 运行时,因为它不会自动获取:
未能首先执行上述步骤(即打开不同的 Erlang 首选项窗格)会导致 Eclipse 内部出现内部 UI 错误,从而阻止您关闭对话框。因此,迫使你杀死 Eclipse。
最后,在 Eclipse 中运行 Erlang 代码之前,有必要定义启动配置
无论如何,我希望它能帮助那里的人。
It might be a little late for you, but maybe for others my set up might avoid some frustrations.
I have OSX 10.6.5, 64-bit and Erlang R14B installed.
After several false starts, I found the following worked:
Next, define an Erlang runtime, because this is not picked up automatically:
Failure to do the above steps first, (i.e. opening a different Erlang preferences pane) causes an internal UI error inside Eclipse, that prevents you from closing the dialog. Thus, forcing you to kill Eclipse.
Finally, it is necessary to define a launch configuration before you can run your Erlang code inside Eclipse:
Anyway, I hope it helps somebody out there.