<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>thanks a lot. I opened a "VS2015 x64 Native Tools" window as opposed to a "VS2015 x64 x86 Cross Tools" and everything worked amazingly with no issues.<br>
</p>
<p>The names are super confusing.</p>
<p>but i'm ok now. thanks<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> openssl-users <openssl-users-bounces@openssl.org> on behalf of Jeffrey Walton <noloader@gmail.com><br>
<b>Sent:</b> Tuesday, January 10, 2017 11:52 AM<br>
<b>To:</b> OpenSSL Users<br>
<b>Subject:</b> Re: [openssl-users] Build problems on Windows</font>
<div> </div>
</div>
<div>
<div dir="ltr"><span class="gmail-"></span><br>
<span class="gmail-"></span>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_3697489318856395369divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:calibri,arial,helvetica,sans-serif">
<div>        IF EXIST libcrypto-1_1-x64.dll.manifest DEL /F /Q libcrypto-1_1-x64.dll.manifest<br>
        link /nologo /debug /dll  /implib:libcrypto.lib /out:libcrypto-1_1-x64.dll /def:libcrypto-1_1-x64.def @C:\Users\jesaremi\AppData\<wbr>Local\Temp\nm8557.tmp || (DEL /Q libcrypto.* libcrypto-1_1-x64.* && EXIT 1)<br>
crypto\aes\aes_cfb.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'<br>
NMAKE : fatal error U1077: 'link' : return code '0x1'<br>
Stop.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It sounds like the wrong Developer Tools Command Prompt was opened. You can find them through Start -> Programs -> Visual Studio NNNN -> Developer Tools. Also see
<a href="https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx" id="LPlnk239878" previewremoved="true">
https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx</a> .
<div id="LPBorder_GT_14840781055180.727110835640766" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14840781055160.25395024222472684" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14840781055170.8165098345601758" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14840781055170.5852807121778052"></div>
<div id="LPTitle_14840781055170.7084163237397522" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14840781055170.6419062778292834" style="text-decoration: none;" href="https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx" target="_blank">Developer Command Prompt for Visual Studio</a></div>
<div id="LPMetadata_14840781055180.8408523862541776" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
msdn.microsoft.com</div>
<div id="LPDescription_14840781055180.38033308111488173" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
The Developer Command Prompt for Visual Studio automatically sets the environment variables that enable you to easily use .NET Framework tools.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
<div>If you plan on building for x86 and you configure for <span>VC-WIN32, then be sure you open the x86 command prompt, and not the x64 one.<br>
<br>
</span></div>
<div><span>If you want to build for x64, then be sure to configure with </span><span>VC-WIN64A, and be sure to open a x64 developer command prompt.<br>
</span></div>
<div><span><br>
</span></div>
<div><span>If you have the correct command prompt open, then perform a clean or distclean. You may have old artifacts lying around.<br>
<br>
</span></div>
<div><span>Jeff<br>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>