David Whitlock

Results 76 comments of David Whitlock

Could you do the following two things and then report back? Find out where the `erl_nif.h` file is. In the cmd shell, run `erl -eval "io:format(\"~ts~n\", [lists:concat([\"ERTS_INCLUDE_PATH=\", code:root_dir(), \"/erts-\", erlang:system_info(version),...

And if you type `DIR c:/Program Files/\x{2022} Programming/Erlang/erts-10.5/include`, what is the output?

Try entering the erlang shell, by typing `erl`, and then in the erlang shell, run `io:format(\"~ts~n\", [lists:concat([\"ERTS_INCLUDE_PATH=\", code:root_dir(), \"/erts-\", erlang:system_info(version), \"/include\"])])`

Sorry, I forgot to mention the `.` at the end of the command. Just type the above command with `.` at the end, and it should work.

Let's try something else. Try running `erl -noshell -s init stop -eval "io:format(\"~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])."` in the cmd shell.

Ok, let's try `erl -noshell -s init stop -eval "io:setopts(standard_io, [{encoding, unicode}]), io:format(\"ERTS_INCLUDE_PATH=~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])."` in the cmd shell.

That's better. I will release a new version soon. I'll let you know when it has been pushed to hex.

Just released 2.1.2. Let's hope that works :)

And `erl_nif.h` is definitely in the `c:/Program Files/• Programming/Erlang/erts-10.5/include/` directory?

I will look into it again next week. If you can find out any further information that could help us fix this, that would be great.