blackyblack / snagenterl

SuperNET agent framework for Erlang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuperNet erlang agent

How to build

Install rebar: https://github.com/basho/rebar

Change dict() to dict:dict() in rebar_config.erl in case of build errors.

Linux:

  • Copy libnanomsg.a from btcd/libjl777/nanomsg/.libs to c_src
  • Run compile.sh

Windows:

  • Make sure Visual Studio is installed
  • Download and build nanomsg as static library: https://github.com/nanomsg/nanomsg
  • Copy nanomsg.lib to c_src_win/
  • Copy ei.lib and erl_interface.lib from ERLANG_DIR/usr/lib to c_src_win/
  • Run compile_native_win32.bat
  • Copy enm_drv.dll to priv/

Or use prebuilt libraries from prebuilt/win32/

About

SuperNET agent framework for Erlang


Languages

Language:Erlang 70.5%Language:C 29.3%Language:Shell 0.1%Language:Batchfile 0.1%