[Webkit-unassigned] [Bug 136921] New: Cannot find WebCore/LayoutUnit.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 18 07:30:52 PDT 2014


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

           Summary: Cannot find WebCore/LayoutUnit.h
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: qifugeng2002 at 163.com


When build webkit on ubuntu 14.04, there is an error:
../../Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:34:32: fatal error: WebCore/LayoutUnit.h: No such file or directory

[5/117] Building CXX object Tools/TestWebKitAPI/CMakeFiles/TestWebCore.dir/Tests/WebCore/LayoutUnit.cpp.o
FAILED: /usr/bin/c++   -DBUILDING_GTK__=1 -DBUILDING_WEBKIT2__ -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DENABLE_3D_RENDERING=1 -DENABLE_PLUGIN_PROCESS_GTK2=1 -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DGTEST_HAS_RTTI=0 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_CONFIG_H=1 -DMOZ_X11=1 -DTEST_INJECTED_BUNDLE_PATH=\"/home/gengqifu/projects/WebKit/WebKitBuild/Release/lib/libTestWebKitAPIInjectedBundle.so\" -DTEST_WEBKIT2_RESOURCES_DIR=\"/home/gengqifu/projects/WebKit/Tools/TestWebKitAPI/Tests/WebKit2\" -DUSER_AGENT_GTK_MAJOR_VERSION=601 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DWTF_PLATFORM_X11=1 -DWTF_USE_3D_GRAPHICS=1 -DWTF_USE_EGL=1 -DWTF_USE_GLX=1 -DWTF_USE_GSTREAMER -DWTF_USE_OPENGL=1 -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_WEBAUDIO_GSTREAMER -DXP_UNIX -std=c++11 -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-omit-frame-pointer -fno-tree-dce -I. -I../../Tools/TestWebKitAPI -I../../Source -IDerivedSources/Jav
../../Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:34:32: fatal error: WebCore/LayoutUnit.h: No such file or directory

I do a workaround for this error:
Add absolute path "...Tools/TestWebKitAPI/ForwardingHeaders" in file Tools/TestWebKitAPI, under include_directories.
Then building continue and success.

I think the variable ${FORWARDING_HEADERS_DIR} is not correctly set here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list