<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Luke,<br>
<br>
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.<br>
It would be great if you can test this later...<br>
<br>
<br>
Just here the example<br>
<pre style="font-family: mono, Courier, monospace; font-weight: normal; margin: 0px; caret-color: rgb(56, 58, 66); color: rgb(56, 58, 66); font-size: 11.199999809265137px; font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(250, 250, 250); text-decoration: none;"><span class="hljs-comment" style="color: rgb(160, 161, 167); font-style: italic;">## The PATH variable should be Cygwin'ish</span>
VCPATH=
<span class="hljs-variable" style="color: rgb(152, 104, 1);">$VISUAL_STUDIO_ROOT</span>/VC/bin/amd64:\
<span class="hljs-variable" style="color: rgb(152, 104, 1);">$VISUAL_STUDIO_ROOT</span>/VC/vcpackages:\
<span class="hljs-variable" style="color: rgb(152, 104, 1);">$VISUAL_STUDIO_ROOT</span>/Common7/IDE:\
<span class="hljs-variable" style="color: rgb(152, 104, 1);">$VISUAL_STUDIO_ROOT</span>/Common7/Tools:\
<span class="hljs-variable" style="color: rgb(152, 104, 1);">$SDK</span>/bin/x86
</pre>
<br>
<br>
Are you sure, that it uses for a x64 build of erlang the Windows Kit´s for x86 for the tools rc and mt?<br>
Because in the documentation I have a example "<span style="caret-color: rgb(26, 26, 26); color: rgb(26, 26, 26);
        font-family: sans-serif; font-size: 16px; font-style: normal;
        font-variant-caps: normal; font-weight: normal; letter-spacing:
        normal; orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-color: rgb(254, 254,
        254); text-decoration: none; display: inline !important; float:
        none;">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
</span><br>
<pre style="font-family: mono, Courier, monospace; font-weight: normal; margin: 0px; caret-color: rgb(56, 58, 66); color: rgb(56, 58, 66); font-size: 11.199999809265137px; font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(250, 250, 250); text-decoration: none;"><span class="hljs-variable" style="color: rgb(152, 104, 1);">$SDK</span>/bin/x86

</pre>
 C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe<br>
 C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exe<br>
<br>
or should it be<br>
<br>
 C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe<br>
 C:\Program Files (x86)\Windows Kits\8.1\bin\x64\mt.exe<br>
<br>
<br>
<br>
Thanks<br>
michael<br>
<br>
<br>
<br>
Am 13.11.18 um 00:28 schrieb Luke Bakken:<br>
</div>
<blockquote type="cite" cite="mid:CADFEJufTD=U=_pFHdVUgvBE=7v_iUOK=xSbTYpOVx2U3ANx-qw@mail.gmail.com">
<pre wrap="">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 -

<a class="moz-txt-link-freetext" href="http://erlang.org/doc/installation_guide/INSTALL-WIN32.html#Short-Version">http://erlang.org/doc/installation_guide/INSTALL-WIN32.html#Short-Version</a>

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`

Thanks,
Luke

On Mon, Nov 12, 2018 at 3:46 PM Michael Scharrer <a class="moz-txt-link-rfc2396E" href="mailto:michael_489@hotmail.de"><michael_489@hotmail.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Hello together,

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

user_1@WINDOWS10 ~/erlbuild/otp
$ where mt
C:\cygwin64\bin\mt.exe


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

user_1@WINDOWS10 ~/erlbuild/otp
$ mt
usage: mt [-V] [-f device] operation [count]
</pre>
</blockquote>
<pre wrap="">.

</pre>
</blockquote>
<p><br>
</p>
</body>
</html>