Thanks Kenneth.
I tried this. But I get
I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources/i386
-I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources
-c
/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/DerivedSources/Debug/webkit/HTMLElementFactory.cpp
-o
/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/Objects-normal/i386/HTMLElementFactory.o
<command-line>: error: "ENABLE_3D_CANVAS" redefined
<command-line>: error: this is the location of the previous definition
<command-line>: error: this is the location of the previous definition
and also:
/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:49:
error: no matching function for call to
'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)'
../bindings/v8/ScriptCallStack.h:58: note: candidates are:
WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&,
unsigned int, WebCore::String, int)
../bindings/v8/ScriptCallStack.h:46: note:
WebCore::ScriptCallStack::ScriptCallStack(const
WebCore::ScriptCallStack&)
On Mon, Nov 2, 2009 at 10:38 PM, Kenneth Russell <[email protected]> wrote:
> On Mon, Nov 2, 2009 at 10:27 PM, n179911 <[email protected]> wrote:
>>
>> Hi,
>>
>> I have tried syncing up chromium HEAD by doing this (since i use git
>> for chromium and webkit).
>> $ git pull (update chromium)
>> $ gclient sync
>> $ tools/sync-webkit-git.py (update webkit)
>>
>> But i got the following errors when I compile it. It appears the
>> method 'CanvasRenderingContext3D::attachShader' is called with the
>> wrong number of parameters.
>> Does anyone know how to fix it?
>>
>> Thank you.
>>
>> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90:
>> error: no matching function for call to
>> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&,
>> WebCore::CanvasShader*&)'
>> ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are:
>> void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*,
>> WebCore::CanvasShader*, WebCore::ExceptionCode&)
>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101:
>> error: no matching function for call to
>> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&,
>> unsigned int&, WebCore::String&)'
>> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are:
>> void
>> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*,
>> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&)
>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111:
>> error: no matching function for call to
>> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&,
>> WebCore::CanvasBuffer*&)'
>> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are:
>> void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int,
>> WebCore::CanvasBuffer*, WebCore::ExceptionCode&)
>
> It looks like upstream WebKit changes have broken our WebGL
> implementation again. The reason you're running into this is probably
> that you synced a more recent version of WebKit than is described in
> the DEPS file. Your best bet to get things compiling again quickly is
> to set ENABLE_3D_CANVAS=0 in src/build/features_override.gypi, run
> "gclient runhooks --force", and rebuild.
>
> -Ken
>
--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected]
View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---