how to rebuild cef

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Re: how to rebuild cef

Postby Jonas » Thu Dec 15, 2016 10:32 am

What should the contents of environment.x86 look like?
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm

Re: how to rebuild cef

Postby magreenblatt » Thu Dec 15, 2016 10:37 am

Jonas wrote:What should the contents of environment.x86 look like?

It should include a lot of path information separated by NUL characters.
magreenblatt
Site Admin
 
Posts: 10748
Joined: Fri May 29, 2009 6:57 pm

Re: how to rebuild cef

Postby Jonas » Thu Dec 15, 2016 10:58 am

Did you want to see the binary contents?
Also, I have two versions of Win SDK 10 installed: 10.0.10586 and 10.0.14393. I that a problem? Is 10586 and later ok?
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm

Re: how to rebuild cef

Postby magreenblatt » Thu Dec 15, 2016 11:11 am

If you see only binary contents then that's likely your problem -- the file is not being generated correctly. It's generated by the build/toolchain/win/setup_toolchain.py script so that would be a good place to start debugging.

CEF requires the SDK listed on the BranchesAndBuilding Wiki page (currently 10.0.10586).
magreenblatt
Site Admin
 
Posts: 10748
Joined: Fri May 29, 2009 6:57 pm

Re: how to rebuild cef

Postby Jonas » Thu Dec 15, 2016 12:20 pm

I was wrong about the paths missing. In the sublime editor environment.x86 was all binary and I didn't see a path. However, in WordPad the contents is readable:

TMP=C:\Users\geduldj\AppData\Local\Temp_TEMP=C:\Users\geduldj\AppData\Local\Temp_LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\um\x86;_PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC_LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;_PATH=C:\Windows\Sysnative;C:\Windows\SysWOW64;d:\cefbuild\download_07\depot_tools\python276_bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64_x86;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;d:\cefbuild\download_07\depot_tools\python276_bin;d:\cefbuild\download_07\depot_tools\python276_bin\Scripts;d:\cefbuild\download_07\depot_tools\;d:\cefbuild\download_07\depot_tools\python276_bin;d:\cefbuild\download_07\depot_tools\python276_bin\Scripts;d:\cefbuild\download_07\depot_tools;d:\cefbuild\download_07\depot_tools;d:\cefbuild\download_07\depot_tools;C:\Program Files\Python27\;C:\Program Files\Python27\Scripts;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\ProgramData\Oracle\Java\javapath;C:\PROGRA~1\Matrox VFW Software Codecs\System64;C:\PROGRA~1\Matrox VFW Software Codecs\System32;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\_SYSTEMROOT=C:\Windows_INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\winrt;__
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm

Re: how to rebuild cef

Postby magreenblatt » Thu Dec 15, 2016 12:27 pm

That looks OK. Try running the failing command manually (the one starting with `ninja -t msvc -e environment.x86`).
magreenblatt
Site Admin
 
Posts: 10748
Joined: Fri May 29, 2009 6:57 pm

Re: how to rebuild cef

Postby Jonas » Thu Dec 15, 2016 5:12 pm

I think it works now. I didn't get to try your suggestion because I decided to first uninstall Win SDK 10 and VS2015 and reinstall. I remember I had an issue installing VS2015 and had to fix the install. I guess the fix was not good enough. I reinstalled and ran automate-git.py and it finished compiling Debug_GN_x86 and is still going.
Thank you for your help!
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm

Previous

Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 6 guests