Erlang Cook Book

- windows

build with rebar

install rebar
git clone git://
cd rebar

if rebar complains crypto is not working during generate phase as described,

Uncaught error in rebar_core: {'EXIT',
make: *** [deps] Error 1

you need to install Win32OpenSSL-1_0_0g lib from here , vc 2008 redistribution is also needed if necessary.

steps to create projects

steps to create projects

Erlang: Solving undef Error

Sometimes you'll get this error:

Error in process <0.37.0> with exit value: {undef,[{file,some_function,[]}]}

From erlang site we get this def:
"undef: The function cannot be found when evaluating a function call."

Things to check out:
1) obviously is it defined, perhaps misspelled correctly?
2) are you exporting it correctly?
ie -export([some_function/0]).

Other thing you might want to check out that aren't always as straight forward
1) if this is from an included package are you including correctly and/or is the pathing correct?
2) if this is a function you created does you're file compile correctly?


couch db

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License