Running GS-1.5.1 exmaples...

Kent Boortz kent@REDACTED
Tue May 13 23:05:59 CEST 2003


Jilani Khaldi <jilani.khaldi@REDACTED> writes:
> How to use the examples in ..\lib\GS-1.5.1\ebin?
> When I run
> calc:start().
> from \erlang\lib\gs-1.5.1\ebin
> I get
> 
> exited: {undef,[{calc,start,[]},
>                 {erl_eval,expr,3},
>                 {erl_eval,exprs,4},
>                 {shell,eval_loop,2}]} **
> 
> I can't get any example running.

The Erlang object file is located in the examples directory. You can
go down to that directory before starting Erlang or start Erlang with
the -pa flag to point out the directory where the object file is
located

  erl -pa ../examples/ebin

Note that there is a bug in gs-1.5.1 that may cause problems on
Windows. A work around is to start Erlang using

  werl -gs backend_comm socket

kent



More information about the erlang-questions mailing list