<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Building on Win 64 (Windows 10 64 bit)"
   href="https://bugs.webkit.org/show_bug.cgi?id=161864">161864</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Building on Win 64 (Windows 10 64 bit)
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows 10
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>thomas.sisson.1&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=288573" name="attach_288573" title="Build log files CMakeError.log and CMakeOutput.log">attachment 288573</a> <a href="attachment.cgi?id=288573&amp;action=edit" title="Build log files CMakeError.log and CMakeOutput.log">[details]</a></span>
Build log files CMakeError.log and CMakeOutput.log

If there is a more appropriate forum or location for this I apologize. If I post this to a CMake forum, they will say this is a source issue.

Clearly, building on Windows shouldn't be this difficult, but it is. I never had these problems on 32-bit Windows.

Below is the output from &quot;perl build-webkit.&quot; These are not variables from my environment or OS. Instead, line 100 of OptionsWin.cmake has the line &quot;if (${MSVC_CXX_ARCHITECTURE_ID} STREQUAL &quot;X86&quot;)&quot; which it complains about. If I new how to pass an argument to say, &quot;Hey, I'm building for 64-bit Windows,&quot; I would. I have replaced my username with *user* just for security or privacy. Note any other words surrounded by asterisks (*).

-----------------------------------------------------
CMake Error at Source/cmake/OptionsWin.cmake:100 (if):
  if given arguments:

    &quot;STREQUAL&quot; &quot;X86&quot;

  Unknown arguments specified
Call Stack (most recent call first):
  Source/cmake/OptionsAppleWin.cmake:1 (include)
  Source/cmake/WebKitCommon.cmake:47 (include)
  CMakeLists.txt:126 (include)


-- Configuring incomplete, errors occurred!
See also &quot;C:/Users/*user*/Source/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log&quot;.
See also &quot;C:/Users/*user*/Source/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log&quot;.
Run &quot;C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat&quot; before build-webkit when using ninja at build-webkit line 254.
------------------------------------------------------------------

Output from set command:
------------------------
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\*user*\AppData\Roaming
APR_ICONV_PATH=C:\Program Files (x86)\Subversion\iconv
asl.log=Destination=file
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=*computername*
ComSpec=C:\WINDOWS\system32\cmd.exe
DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\*user*
LOCALAPPDATA=C:\Users\*user*\AppData\Local
LOGONSERVER=\\*logonserver*
MSBUILDDISABLENODEREUSE=1
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Python27\;C:\Python27\Scripts;C:\Perl64\site\bin;C:\Perl64\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Subversion\bin;C:\GnuWin32\bin;C:\mingw-w64\x86_64-6.2.0-posix-seh-rt_v5-rev0\mingw64\bin;C:\GnuWin32\bin;C:\msys64;C:\Users\test\AppData\Roaming\Python\Scripts;C:\Ruby23-x64\bin;C:\Users\test\AppData\Local\Microsoft\WindowsApps;C:\Users\test\AppData\Roaming\npm
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw;.RB;.RBW
PreferredToolArchitecture=x64
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 18 Model 1 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL=18
PROCESSOR_REVISION=0100
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\*user*\AppData\Local\Temp
TMP=C:\Users\*user*\AppData\Local\Temp
USERDOMAIN=*userdomain*
USERDOMAIN_ROAMINGPROFILE=*roamingprofile*
USERNAME=test
USERPROFILE=C:\Users\*user*
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
VSSDK140Install=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\
WEBKIT_LIBRARIES=C:\Users\*user*\Source\WebKit\WebKitLibraries\win
WEBKIT_OUTPUTDIR=C:\Users\*user*\Source\WebKit\WebKitBuild
windir=C:\WINDOWS
_IsNativeEnvironment=true
-------------------------

I have attached the two referenced log files from the build output as one text file called</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>