Unsure if I’m doing something wrong or not, but a file named hello_world.erl with these contents:
-module(hello_world).
-export([hello/0]).
hello() ->
io:format("Hello, World! ~n").
Produces this result when compiling with erlc hello_world.erl:
C:\Documents and Settings\IAIAdmin\Desktop\cean_base\erlang\erts-5.5.4\windows\b
in>erlc.exe hello_world.erl
Compiler function compile:compile/3 failed:
{undef,[{compile,compile,
["c:/DOCUME~1/IAIAdmin/Desktop/CEAN_B~1/erlang/ERTS-5~1.4/windows/bin/hello_world",
"c:/DOCUME~1/IAIAdmin/Desktop/CEAN_B~1/erlang/ERTS-5~1.4/windows/bin/hello_world",
{options,[],
"C:\\DOCUME~1\\IAIAdmin\\Desktop\\CEAN_B~1\\erlang\\E
RTS-5~1.4\\windows\\bin",
undefined,
[],
1,
false,
999,
[],
[],
"C:\\DOCUME~1\\IAIAdmin\\Desktop\\CEAN_B~1\\erlang\\E
RTS-5~1.4\\windows\\bin"}]},
{erl_compile,compile_file,4},
{erl_compile,compile3,3},
{erl_compile,compiler_runner,1}]}
The code compiles fine with the standard Erlang distribution and the resulting beam file runs fine on CEAN. Am I doing something wrong?
Any help is appreciated.
Thanks,
Matt
