Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Sep 1, 2023 · 0 comments

Comments

@chunshengit
Copy link

chunshengit commented Sep 1, 2023

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant