We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Difficulties in Compiling Elixir NIFs on Windows using mingw
90
clicks

Source: reddit.com
Hezwat recounted their unsuccessful attempt to compile an Elixir Native Implemented Function (NIF) using mingw-64 on Windows. Despite successfully compiling a simple 'hello world' program with msys2, the author encountered issues including the required file erl_nif.h when trying to run their own NIF. Even when testing with an existing Elixir project (bcrypt_elixir), similar compilation issues arose. As a result of this experience, hezwat suggests that it is more feasible to compile NIFs on Linux due to better support. The author also mentions they are seeking a job as an Elixir developer and has an interest in joining a team that uses Docker on Linux to further their learning journey.
Related posts
© HashMerge 2025