[Webkit-unassigned] [Bug 161864] Building on Win 64 (Windows 10 64 bit)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 13 17:06:06 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161864

--- Comment #3 from Tom Sisson <thomas.sisson.1 at gmail.com> ---
What are the right flags? I deleted the source tree, started from scratch, and ran vcvarsall.bat. What about "features.h not found?" Is that an unimportant error?

I ran vcvarsall.bat amd64, reran perl update-webkit, and got the same error. At worst, it should build the wrong architecture. I opted to download all SDKs when I install Visual Studio. I should theoretically be able to build for iOS if I want, but I'm starting to think that the perl script needs to be smart enough to know what architecture it is running on. Even if it's can't be sure of the exact architecture, it should know it's on Windows and default to Win32.

I also note when I search for MSVC_CXX_ARCHITECTURE_ID I find many issues mentioned about CMake having problems. I see no clear explanation or solution. Is STREQUAL a defined function or built into Perl?
I'm not trying to be a smarta**, but does anyone actually try to build on Windows anything not specifically built for Windows. I suppose I could just boot up Linux, install mingw and crossbuild (whatever the tool is created by Gimp developers). However, I would prefer to do it on Windows.
Tom
​​perl build-webkit
Installing WebKitSupportLibrary...
The WebKitSupportLibrary has been sucessfully installed in
C:\Users\test\Source\WebKit\WebKitLibraries\win
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: C:/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev0/mingw64/bin/gcc.exe
-- Check for working C compiler: C:/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev0/mingw64/bin/gcc.exe
-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev0/mingw64/bin/c++.exe
-- Check for working CXX compiler: C:/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev0/mingw64/bin/c++.exe
-- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BISON: C:/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
-- Found Gperf: C:/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
-- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.24.0", minimum required is "5.10.0")
-- Found PythonInterp: C:/Python27/python2.7.exe (found suitable version "2.7.10", minimum required is "2.7.0")
-- Found Ruby: C:/Ruby23-x64/bin/ruby.exe (found suitable version "2.3.0", minimum required is "1.9")
-- Looking for include file features.h
-- Looking for include file features.h - not found
CMake Error at Source/cmake/OptionsWin.cmake:100 (if):
  if given arguments:

    "STREQUAL" "X86"

  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 "C:/Users/test/Source/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/test/Source/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
Run "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat" before build-webkit when
using ninja at build-webkit line 254.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160914/2340cc59/attachment.html>


More information about the webkit-unassigned mailing list