[webkit-help] Compiling webkit on windows.
Jean-Yves Avenard
jyavenard at gmail.com
Sun Nov 15 22:14:56 PST 2020
Hi.
I've been trying to compile WebKit on Windows by following the
instructions there:
https://webkit.org/building-webkit-on-windows/
I've installed all the 3rd party packages required as described there:
https://webkit.org/webkit-on-windows/#installing-developer-tools
When I run the command, I get the following output about missing ICU libraries.
I also get errors about Ruby_LIBRARY not being found, even though ruby
is property installed, working from the command line and having set
Ruby_LIBRARY environment variable to where the header files are
located. Research tells me that the Ruby error can be ignored for now.
Could someone be kind enough to let me know what are the steps
required in regards to the missing ICU headers/libs?
I have set ICU_I18N_LIBRARY, ICU_INCLUDE_DIR and ICU_UC_LIBRARY but
that didn't help.
Thank you in advance.
Jean-Yves
$ perl build-webkit
Free to wrong pool 1006d60 not 95004000b320bec6 at
C:/Perl64/site/lib/IO/Socket/SSL.pm line 2739.
Checking for newer version of WebKitAuxiliaryLibrary.zip...
Free to wrong pool 6e6e80 not 95008700433cbefc at
C:/Perl64/site/lib/IO/Socket/SSL.pm line 2739.
*************************************************************
Mathematical fonts, such as Latin Modern Math are needed to
use the MathML feature. You do not appear to have these fonts
on your system.
You can download a suitable set of fonts from the following URL:
https://trac.webkit.org/wiki/MathML/Fonts
*************************************************************
Installed tools are correct for the WebKit build.
Warning: You must set the 'WEBKIT_64_SUPPORT' environment variable
to be able run WebKit or JavaScriptCore tests.
+ cmake -DPORT="AppleWin" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_BUILD_TYPE=Release -A x64
-DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON
-DENABLE_EXPERIMENTAL_FEATURES=ON
"C:/Users/jyavenard/Work/Apple/WebKit"
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
-- The CMake build type is: Release
-- Could NOT find Ruby (missing: Ruby_LIBRARY) (found suitable version
"2.1.0", minimum required is "1.9")
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Using multithreaded, static version of the run-time library
CMake Error at Source/cmake/WebKitFindPackage.cmake:42 (message):
Could not find ICU
Call Stack (most recent call first):
Source/cmake/OptionsAppleWin.cmake:34 (find_package)
Source/cmake/WebKitCommon.cmake:211 (include)
CMakeLists.txt:16 (include)
-- Configuring incomplete, errors occurred!
See also "C:/Users/jyavenard/Work/Apple/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/jyavenard/Work/Apple/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
Run Visual Studio 2017 installation vcvars.bat before build-webkit
when using ninja at build-webkit line 312.
More information about the webkit-help
mailing list