Compilation failure for argon2_elixir with Erlang 26 on Windows 10

Upgrading to Erlang 26 (Elixir v15.0.4) on Windows 10 (Pro 22H2) leads to the following endless loop in the process of compiling argon2_elixir:

Everything worked fine under Erlang 25. Upgrading Visual Studio (to v2022 Community) did not help. Any ideas as to how to resolve this?

Have you tried downgrading elixir to 1.14?

Thanks for your reply. Downgrading to Elixir 1.14.5 (compiled with Erlang/OTP 25) on Erlang 26 does not make any difference: argon2_elixir therefore compiles on Erlang 25, but error-loops on Erlang 26.

1 Like

Just to report that this issue has now been resolved, with the latest argon2_elixir update.

I am getting the same error now.

elixir --version
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.15.4 (compiled with Erlang/OTP 26)

mix deps.compile argon2_elixir --force
==> argon2_elixir

Microsoft (R) Program Maintenance Utility Version 14.29.30154.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        del /Q /F priv
        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)])." > Makefile.auto.win
Error! Failed to eval: io:setopts(standard_io, [{encoding, unicode}]), io:format("ERTS_INCLUDE_PATH=~ts/erts-~ts/include/", [code:root_dir(), erlang:system_info(version)]).

        nmake /                   /F Makefile.win priv\argon2_nif.dll

Microsoft (R) Program Maintenance Utility Version 14.29.30154.0
Copyright (C) Microsoft Corporation.  All rights reserved.


BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
       (l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
Terminate batch job (Y/N)?
The syntax of the command is incorrect.

does anyone still run into this issue?