ninenines / erlang.mk

A build tool for Erlang that just works.
https://erlang.mk
ISC License
578 stars 241 forks source link

Windows 11(OTP-26) release build : system cannot find the file path to \hello_rel_release\erts-14.0\bin\werl.exe. #990

Open chunshengit opened 1 year ago

chunshengit commented 1 year ago

Make run error on Windows 11: system cannot find the file C:\temp\erlang\hello_rel_rel\hello_rel_release\erts-14.0\bin\werl.exe.

Rebar3 doesn't create the symbolic link yet and needs to be patched. Temporary fix: ln -S erl.exe werl.exe

The following is from OTP-26 release page: https://www.erlang.org/patches/otp-26.0 OTP-17932 Application(s): erts, kernel, stdlib Related Id(s): GH-3150 , GH-3390 , GH-4225 , GH-4343 , PR-6144

*** HIGHLIGHT ***
The TTY/terminal subsystem has been rewritten by moving more code to Erlang from the old linked-in driver and implementing all the I/O primitives needed in a NIF instead.
On Unix platforms the user should not notice a lot of difference, besides better handling of unicode characters and fixing of some long standing bugs.
Windows users will notice that erl.exe has the same functionality as a normal Unix shell and that werl.exe has been removed and replaced with a symlink to erl.exe. This makes the Windows Erlang terminal experience identical to that of Unix.