[erlang-questions] Which On Windows

Michael Scharrer michael_489@REDACTED
Tue Nov 13 13:06:43 CET 2018

Hi Luke,

i think there is a litte issue in the documentation for building erlang on windows, because the VCPATH or else are not cygwin'ish... with make_winpath() or make_upath() or else which you are able to set in the .bash_profile and this don´t work for me in the newest cygwin 64.
It would be great if you can test this later...

Just here the example

## The PATH variable should be Cygwin'ish

Are you sure, that it uses for a x64 build of erlang the Windows Kit´s for x86 for the tools rc and mt?
Because in the documentation I have a example "The first part of the 64 bit template is identical to the 32 bit one, but there are some environment variable differences:" and mentioned VCPATH with


 C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe
 C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exe

or should it be

 C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe
 C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe


Am 13.11.18 um 00:28 schrieb Luke Bakken:

Right, because that isn't the correct mt.exe command. Something in the
build steps isn't setting the PATH correctly, or you don't have the
tool anywhere -


Your next step could be to search your drive for mt.exe, make a note
of it, and see if the following command adds the correct directory to
your PATH:

eval `./otp_build env_win32 x64`


On Mon, Nov 12, 2018 at 3:46 PM Michael Scharrer <michael_489@REDACTED><mailto:michael_489@REDACTED> wrote:

Hello together,

may it could help with my following output "where mt" on Windows 10

user_1@REDACTED ~/erlbuild/otp
$ where mt

An then I call mt to test it, which looks like the beam.smp.dll error during compile.

user_1@REDACTED ~/erlbuild/otp
$ mt
usage: mt [-V] [-f device] operation [count]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181113/75366ca1/attachment.htm>

More information about the erlang-questions mailing list