Build efene on windows

To run efene on windows you need erlang installed.

Go to the erlang download page

Download the latest version from the row Windows binary (incl. documentation)

Install it.

Download the latest version of efene

Unpack efene

Adding efene and erlang to the PATH variable

  1. right click on “My Computer” icon
  2. click properties
  3. go to the “Advanced” tab
  4. click the “Environment Variables”
  5. in the “System Variables” frame select the Path variable
  6. click the “Edit” button
  7. in the “Variable Value” text field go to the end of the text (don’t edit it)
    1. add the path to the bin directory of your erlang instalation
      • separate the path from the previous one with a semicolon
    2. add the path to the bin directory of your efene instalation
      • separate the path from the previous one with a semicolon
  8. press the “Ok” button in the open windows until all are closed

In my case I added to the Path variable the following text:

;C:\Program Files\erl5.8\bin;C:\Documents and Settings\Mariano Guerra\My Documents\efene\bin

Building efene

Open cmd.exe (Windows + r or Start -> run -> cmd.exe), cd to the src folder inside efene, in my case it’s:

C:\Documents and Settings\Mariano Guerra\My Documents\efene\src

Type:

build.bat

Done!

To test it, do:

cd ../bin
fnc.exe -s

You should see the erlang shell, type:

>>> halt()

And press enter to quit.

Building fnc.exe

Install MinGW

Add the path to the bin directory inside MinGW to the Path environment variable.

Inside cmd.exe go to the tools directory inside efene and type:

build.bat

It will compile fnc.c and move it to the bin/ directory.

Table Of Contents

Previous topic

Build efene on *nix

Next topic

Frequently Asked Questions

blog comments powered by Disqus