[Webkit-unassigned] [Bug 55926] Building WebKit on windows : Can not find header files/folders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 27 02:05:55 PDT 2024


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

Shawna Kelly <puzzlingcoalore at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |puzzlingcoalore at gmail.com

--- Comment #3 from Shawna Kelly <puzzlingcoalore at gmail.com> ---
(In reply to Ashish from comment #0)
> Created attachment 85027 [details]
> Detailed log generated while building webkit on windows
> 
> We have been trying to build the webkit on windows for the first
> time and are facing some problems.
> 
> We have followed all the instructions given at
> <http://webkit.org/building/tools.html>
> but, hadn't found any success.
> 
> 
> This is part of the output:
> 
> 3>..\platform\graphics\win\QTMovie.cpp(31) : fatal error C1083: Cannot open
> include file: 'FixMath.h': No such file or directory
> 3>QTMovieVisualContext.cpp
> 3>..\platform\graphics\win\QTMovieVisualContext.cpp(30) : fatal error C1083:
> Cannot open include file: 'CVBase.h': No such file or directory
> 3>QTPixelBuffer.cpp
> 3>..\platform\graphics\win\QTPixelBuffer.cpp(29) : fatal error C1083: Cannot
> open include file: 'CFNumber.h': No such file or directory
> 3>QTCFDictionary.cpp
> 3>..\platform\graphics\win\QTCFDictionary.cpp(30) : fatal error C1083:
> Cannot open include file: 'CFData.h': No such file or directory
> 3>QTTrack.cpp
> 3>..\platform\graphics\win\QTMovieGWorld.cpp(30) : fatal error C1083: Cannot
> open include file: 'GXMath.h': No such file or directory
> 3>QTDecompressionSession.cpp
> 3>..\platform\graphics\win\QTDecompressionSession.cpp(29) : fatal error
> C1083: Cannot open include file: 'ImageCompression.h': No such file or
> directory
> 3>QTMovieTask.cpp https://scratchgeometrydash.com
> 3>..\platform\graphics\win\QTTrack.cpp(29) : fatal error C1083: Cannot open
> include file: 'Movies.h': No such file or directory
> 3>Generating Code...
> 3>..\platform\graphics\win\QTMovieTask.cpp(30) : fatal error C1083: Cannot
> open include file: 'Movies.h': No such file or directory
> 4>/usr/bin/bash
> 4>Project : error PRJ0002 : Error result 1 returned from
> 'C:\WINDOWS\system32\cmd.exe'.
> 
> 
> The header files are actually present in the webkit but it's not able the
> figure out the exact
> path.
> 
> Please find attached, the detailed log generated while building webkit on
> windows.
> 
> Thanks very much for any help.
> -Ashish

Check Prerequisites:

Ensure you have installed all the necessary prerequisites mentioned in the WebKit building guide. This includes Visual Studio, CMake, Python, Git, and other tools.
Environment Setup:

Make sure your environment variables are set correctly. This includes paths for tools like Python, Git, CMake, and Visual Studio.
Ensure Correct Version of Dependencies:

Sometimes, specific versions of dependencies are required. Double-check the WebKit documentation for any version-specific instructions.
Verify Include Paths:

The errors indicate missing header files (FixMath.h, CVBase.h, etc.). Ensure these files exist in the expected directories.
Check your project settings in Visual Studio to make sure the include paths are correctly configured. This can be done by going to Project Properties > C/C++ > General > Additional Include Directories.
Update and Sync Repository:

Make sure your local WebKit repository is up-to-date with the latest changes. Run the following commands to update and sync:
git pull origin main
Tools/Scripts/update-webkit
Install Additional Dependencies:

For QuickTime headers (like Movies.h), you may need to install the QuickTime SDK if it's not already included. This SDK might be required for the files in question.
Reconfigure and Rebuild:

Sometimes, reconfiguring the build setup can resolve path issues. Run CMake again to regenerate the project files:
Tools/Scripts/build-webkit --release
Detailed Steps for Missing Include Files
Example for FixMath.h:

Locate FixMath.h within your WebKit directory. If it's missing, you may need to obtain it from the QuickTime SDK.
Add the directory containing FixMath.h to your project's include directories:
In Visual Studio: Project Properties > C/C++ > General > Additional Include Directories.
Repeat similar steps for other missing headers like CVBase.h, CFNumber.h, CFData.h, GXMath.h, ImageCompression.h, and Movies.h.

Community and Documentation
If the above steps do not resolve the issues, consider reaching out to the WebKit development community:

WebKit Mailing List: webkit-dev
WebKit IRC Channel: #webkit on irc.freenode.net
You can also refer to additional documentation and community forums for similar issues:

WebKit on Windows Documentation
WebKit GitHub Issues
Example Configuration for Include Paths in php.ini
[Paths]
; Make sure to replace 'path_to_sdk' with the actual path to the SDK or library directory
include_path = "path_to_sdk/QuickTimeHeaders"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240627/ded5535f/attachment-0001.htm>


More information about the webkit-unassigned mailing list