Build failure on Windows (branch 2743)

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.

Build failure on Windows (branch 2743)

Postby JasonLP » Fri Jul 01, 2016 1:00 pm

In an attempt to get past a build error on branch 2704 on Windows, I attempted to build branch 2743 (Chromium 52). Build halted because of this error:

Code: Select all
[5930/16107] CXX obj\base\allocator\allocator.allocator_shim_win.obj
FAILED: 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\base\allocator\allocator.allocator_shim_win.obj.rsp /c ..\..\base\allocator\allocator_shim_win.cc /Foobj\base\allocator\allocator.allocator_shim_win.obj /Fdobj\base\allocator\allocator.cc.pdb
c:\cefbuilds\chromium\src\base\allocator\allocator_shim_win.cc(97) : error C2732: linkage specification contradicts earlier specification for '_set_new_mode'
        c:\cefbuilds\chromium\src\base\allocator\allocator_shim_win.cc(97) : see declaration of '_set_new_mode'
c:\cefbuilds\chromium\src\base\allocator\allocator_shim_win.cc(107) : error C2732: linkage specification contradicts earlier specification for '_query_new_mode'
        c:\cefbuilds\chromium\src\base\allocator\allocator_shim_win.cc(107) : see declaration of '_query_new_mode'
[5930/16107] CXX obj\components\wifi\wifi_component.wifi_service_win.obj
ninja: build stopped: subcommand failed.


Any ideas?
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: Build failure on Windows (branch 2743)

Postby JasonLP » Thu Jul 07, 2016 8:51 am

I have tried again, hoping the problem may have been fixed. It seems to get a little further, but now I am seeing this:

Code: Select all
ninja: Entering directory `out\Debug'
[9/16650] CXX obj\v8\src\libsampler\v8_libsampler.v8-sampler.obj
FAILED: obj/v8/src/libsampler/v8_libsampler.v8-sampler.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\v8\src\libsampler\v8_libsampler.v8-sampler.obj.rsp /c ..\..\v8\src\libsampler\v8-sampler.cc /Foobj\v8\src\libsampler\v8_libsampler.v8-sampler.obj /Fdobj\v8\src\v8_libsampler.cc.pdb
C:\cefbuilds\chromium\src\v8\src\libsampler\v8-sampler.cc : fatal error C1083: Cannot open compiler generated file: 'stFail': Permission denied
[11/16650] CXX obj\v8\src\libplatform\v8_libplatform.worker-thread.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "automate-git.py", line 873, in <module>
    if options.buildlogfile else None)
  File "automate-git.py", line 55, in run
    shell=(sys.platform == 'win32'))
  File "c:\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 don't get it. At this point, should I just keep trying to build each day until it's fixed. Is there someone to report this to?
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: Build failure on Windows (branch 2743)

Postby Czarek » Thu Jul 07, 2016 11:48 am

Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Build failure on Windows (branch 2743)

Postby JasonLP » Thu Jul 07, 2016 2:00 pm

Czarek wrote:https://www.google.com/search?client=ubuntu&channel=fs&q=fatal+error+C1083%3A+Cannot+open+compiler+generated+file%3A+%27stFail%27%3A+Permission+denied&ie=utf-8&oe=utf-8


I don't know what I'm supposed to be looking at here.

Something seems to be broken with the Windows branches.
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: Build failure on Windows (branch 2743)

Postby magreenblatt » Thu Jul 07, 2016 2:11 pm

Windows builds work for me. Did you try a clean build after getting the permission error?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build failure on Windows (branch 2743)

Postby JasonLP » Thu Jul 07, 2016 2:13 pm

magreenblatt wrote:Windows builds work for me. Did you try a clean build after getting the permission error?

I do a clean build every time I try.

I just saw on another thread that the build now requires VS 2015. I have been building with VS 2013. Could this be the cause of the error? Do you know when this requirement changed?
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: Build failure on Windows (branch 2743)

Postby magreenblatt » Thu Jul 07, 2016 2:21 pm

JasonLP wrote:
magreenblatt wrote:Windows builds work for me. Did you try a clean build after getting the permission error?

I do a clean build every time I try.

I just saw on another thread that the build now requires VS 2015. I have been building with VS 2013. Could this be the cause of the error? Do you know when this requirement changed?

Yes, you need to build with the required VS version. See https://bitbucket.org/chromiumembedded/ ... uilding.md
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build failure on Windows (branch 2743)

Postby JasonLP » Thu Jul 07, 2016 2:32 pm

Updating now. Will report back when I have that updated.

Thanks.
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: Build failure on Windows (branch 2743)

Postby JasonLP » Thu Jul 14, 2016 9:53 am

JasonLP wrote:Updating now. Will report back when I have that updated.

Thanks.

Confirmed working using VS2015.
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 77 guests