I am trying to use erlang nif,
I did:
#include <erl_nif.h>
But the error will turn out:
Fatal error: erl_nif.h: No such file or directory
Where can I find him? I installed erlang R14B (erts-5.8.1)
OS Arch linux.
Thanks.
Compile with -I/usr/lib/erlang/erts-5.8.1/include if this is where erl_nif.h .
-I/usr/lib/erlang/erts-5.8.1/include
erl_nif.h