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]
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.