Error building CEF branch=2454

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Error building CEF branch=2454

Postby lukasnosek » Wed Sep 21, 2016 6:05 am

Hi, I'm trying to build the unsupported 2454 branch of CEF but no matter what I try, I'm getting this error in the middle of the compilation:

Code: Select all
[7650/14836] CXX obj\ui\gl\gl.gl_bindings_skia_in_process.obj
FAILED: obj/ui/gl/gl.gl_bindings_skia_in_process.obj
ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\ui\gl\gl.gl_bin
dings_skia_in_process.obj.rsp /c ..\..\ui\gl\gl_bindings_skia_in_process.cc /Foobj\ui\gl\gl.gl_bindings_skia_in_process.obj /Fdobj\ui\gl\gl.cc.pdb
e:\cef1\chromium_git\chromium\src\ui\gl\gl_bindings_skia_in_process.cc(684) : error C2679: binary '=' : no operator found which takes a right-hand operand of ty
pe 'overloaded-function' (or there is no acceptable conversion)
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(109): could be 'GrGLInterface::GLPtr<GrGLBufferDataProc> &GrGLInterfac
e::GLPtr<GrGLBufferDataProc>::operator =(const GrGLInterface::GLPtr<GrGLBufferDataProc> &)'
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(105): or       'GrGLInterface::GLPtr<GrGLBufferDataProc> GrGLInterface
::GLPtr<GrGLBufferDataProc>::operator =(FNPTR_TYPE)'
        with
        [
            FNPTR_TYPE=GrGLBufferDataProc
        ]
        while trying to match the argument list '(GrGLInterface::GLPtr<GrGLBufferDataProc>, overloaded-function)'
e:\cef1\chromium_git\chromium\src\ui\gl\gl_bindings_skia_in_process.cc(685) : error C2679: binary '=' : no operator found which takes a right-hand operand of ty
pe 'overloaded-function' (or there is no acceptable conversion)
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(109): could be 'GrGLInterface::GLPtr<GrGLBufferSubDataProc> &GrGLInter
face::GLPtr<GrGLBufferSubDataProc>::operator =(const GrGLInterface::GLPtr<GrGLBufferSubDataProc> &)'
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(105): or       'GrGLInterface::GLPtr<GrGLBufferSubDataProc> GrGLInterf
ace::GLPtr<GrGLBufferSubDataProc>::operator =(FNPTR_TYPE)'
        with
        [
            FNPTR_TYPE=GrGLBufferSubDataProc
        ]
        while trying to match the argument list '(GrGLInterface::GLPtr<GrGLBufferSubDataProc>, overloaded-function)'
e:\cef1\chromium_git\chromium\src\ui\gl\gl_bindings_skia_in_process.cc(715) : error C2679: binary '=' : no operator found which takes a right-hand operand of ty
pe 'overloaded-function' (or there is no acceptable conversion)
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(109): could be 'GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc> &
GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc>::operator =(const GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc> &)'
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(105): or       'GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc> G
rGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc>::operator =(FNPTR_TYPE)'
        with
        [
            FNPTR_TYPE=GrGLFlushMappedBufferRangeProc
        ]
        while trying to match the argument list '(GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc>, overloaded-function)'
e:\cef1\chromium_git\chromium\src\ui\gl\gl_bindings_skia_in_process.cc(744) : error C2679: binary '=' : no operator found which takes a right-hand operand of ty
pe 'overloaded-function' (or there is no acceptable conversion)
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(109): could be 'GrGLInterface::GLPtr<GrGLMapBufferRangeProc> &GrGLInte
rface::GLPtr<GrGLMapBufferRangeProc>::operator =(const GrGLInterface::GLPtr<GrGLMapBufferRangeProc> &)'
        e:\cef1\chromium_git\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(105): or       'GrGLInterface::GLPtr<GrGLMapBufferRangeProc> GrGLInter
face::GLPtr<GrGLMapBufferRangeProc>::operator =(FNPTR_TYPE)'
        with
        [
            FNPTR_TYPE=GrGLMapBufferRangeProc
        ]
        while trying to match the argument list '(GrGLInterface::GLPtr<GrGLMapBufferRangeProc>, overloaded-function)'
[7655/14836] CXX obj\ui\gl\gl.gl_bindings_autogen_gl.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "automate\automate-git2.py", line 874, in <module>
    if options.buildlogfile else None)
  File "automate\automate-git2.py", line 56, in run
    shell=(sys.platform == 'win32'))
  File "E:\cef1\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug', 'cefclient']' returned non-zero exit status 1



I have used this in my .bat file
Code: Select all
set PATH=E:\cef1\depot_tools;%PATH%
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2013
set GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome
@rem set DEPOT_TOOLS_WIN_TOOLCHAIN=0
python automate\automate-git.py --download-dir=E:\cef1\chromium_git --depot-tools-dir=E:\cef1\depot_tools --force-config --force-build --force-clean --branch=2454 --checkout=2782fb8fc85f



any ideas why is this happenning? I have VS2013U4 and Windows 8.1SDK installed on Windows 7 64bit
lukasnosek
Newbie
 
Posts: 4
Joined: Wed Sep 21, 2016 5:56 am

Re: Error building CEF branch=2454

Postby jiaojiao » Fri Sep 23, 2016 3:56 am

Hi lukasnosek,

Have you solved the issue? I got the similar issue when building branch 2454.

Regards,
jiaojiao
jiaojiao
Techie
 
Posts: 44
Joined: Thu Jun 11, 2015 3:24 am

Re: Error building CEF branch=2454

Postby lukasnosek » Fri Sep 23, 2016 4:00 am

unfortunately no, I haven't so far :(

Have you?
lukasnosek
Newbie
 
Posts: 4
Joined: Wed Sep 21, 2016 5:56 am

Re: Error building CEF branch=2454

Postby jiaojiao » Fri Sep 23, 2016 4:14 am

lukasnosek wrote:unfortunately no, I haven't so far :(

Have you?


No progress yet. I am now googling it. I am thinking the automatic-git.py has adapted to use a version of c++ which not picked up by VS13? No clue at all. :( :(

jiaojiao
jiaojiao
Techie
 
Posts: 44
Joined: Thu Jun 11, 2015 3:24 am

Re: Error building CEF branch=2454

Postby jiaojiao » Fri Sep 23, 2016 4:19 am

lukasnosek wrote:unfortunately no, I haven't so far :(

Have you?


I do find it is weird. in the error messages, it mentions"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe". amd64_ is used for building 64bit dll, right?
jiaojiao
Techie
 
Posts: 44
Joined: Thu Jun 11, 2015 3:24 am

Re: Error building CEF branch=2454

Postby lukasnosek » Fri Sep 23, 2016 6:14 am

no I think it only means that I'm running the compiler on the 64bit machine... see here: http://stackoverflow.com/questions/3508 ... -and-amd64
lukasnosek
Newbie
 
Posts: 4
Joined: Wed Sep 21, 2016 5:56 am

Re: Error building CEF branch=2454

Postby lujiaxing » Tue Sep 27, 2016 2:46 am

hey. have you solved the issue? I got the similar issue when building branch 2623.
lujiaxing
Newbie
 
Posts: 2
Joined: Tue Sep 27, 2016 2:38 am

Re: Error building CEF branch=2454

Postby lujiaxing » Tue Sep 27, 2016 1:29 pm

Seems that "gl_bindings_skia_in_process.h" and "gl_bindings_skia_in_process.cc" are dead code. Just remove them and exclude them in build.gn/gl.gyp.


see: https://codereview.chromium.org/1673323002
lujiaxing
Newbie
 
Posts: 2
Joined: Tue Sep 27, 2016 2:38 am

Re: Error building CEF branch=2454

Postby lukasnosek » Tue Sep 27, 2016 2:11 pm

I did that but then it failed later on something like this: http://www.magpcss.org/ceforum/viewtopi ... =6&t=14473
lukasnosek
Newbie
 
Posts: 4
Joined: Wed Sep 21, 2016 5:56 am

Re: Error building CEF branch=2454

Postby jiaojiao » Wed Sep 28, 2016 2:27 am

lujiaxing wrote:Seems that "gl_bindings_skia_in_process.h" and "gl_bindings_skia_in_process.cc" are dead code. Just remove them and exclude them in build.gn/gl.gyp.


see: https://codereview.chromium.org/1673323002


I like to have a try with the information from the link. I am puzzled. The changes (removing gl_bindings_skia_in_process) are available after the branch 2454. Why this impacts on the branch?
jiaojiao
Techie
 
Posts: 44
Joined: Thu Jun 11, 2015 3:24 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 83 guests