0xAX
0xAX

Reputation: 21817

erl_nif.h not found

I try to use erlang nif,

I made:

#include <erl_nif.h>

But get error:

fatal error: erl_nif.h: No such file or directory

Where can i find it? I have installed erlang R14B (erts-5.8.1)

OS Arch linux.

Thank you.

Upvotes: 7

Views: 4562

Answers (1)

Bertrand Marron
Bertrand Marron

Reputation: 22210

Compile with -I/usr/lib/erlang/erts-5.8.1/include, if that's where erl_nif.h is.

Upvotes: 12

Related Questions