Branch 4183 - Build Problems

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.

Branch 4183 - Build Problems

Postby neosoul » Thu Sep 24, 2020 9:43 am

I am trying building Branch 4183 with vs2017 using the following commands:

set CEF_USE_GN=1
set GYP_MSVS_VERSION=2017
set CEF_ARCHIVE_FORMAT=tar.bz2

set GN_DEFINES=use_jumbo_build=false is_official_build=true ffmpeg_branding=Chrome enable_precompiled_headers=false
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*

python automate-git.py --download-dir=C:\code\chromium_git --depot-tools-dir=C:\code\depot_tools --minimal-distrib --client-distrib --branch=4183 --no-debug-build --force-build --x64-build --force-clean

After a long runnng process I got the following results: Please see the snapshot attached and see the errors,

Anyone has any idea ?
Attachments
image.jpg
image.jpg (363.89 KiB) Viewed 4763 times
neosoul
Newbie
 
Posts: 3
Joined: Thu Sep 24, 2020 9:34 am

Re: Branch 4183 - Build Problems

Postby magreenblatt » Thu Sep 24, 2020 10:58 am

I don't know what your exact problem is, but you shouldn't be using an Administrator command prompt. Try running the cef_create_projects.bat script directly after setting your environment variables, and then look at the scripts it calls to debug further.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Branch 4183 - Build Problems

Postby ndesktop » Thu Sep 24, 2020 1:04 pm

Was the command with double backslashes?
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Branch 4183 - Build Problems

Postby neosoul » Thu Sep 24, 2020 1:57 pm

ndesktop wrote:Was the command with double backslashes?


No, with single backslahes
neosoul
Newbie
 
Posts: 3
Joined: Thu Sep 24, 2020 9:34 am

Re: Branch 4183 - Build Problems

Postby ebahar » Fri Sep 25, 2020 1:46 am

same issue for me..
and i also tried to run cef_create_projects.bat
(me last build was branch 4103, and it worked fine)
Attachments
Screenshot 2020-09-25 094441.png
Screenshot 2020-09-25 094441.png (68.65 KiB) Viewed 4732 times
ebahar
Techie
 
Posts: 46
Joined: Tue Nov 22, 2016 3:52 am

Re: Branch 4183 - Build Problems

Postby neosoul » Fri Sep 25, 2020 8:19 am

The same results with VS2019
neosoul
Newbie
 
Posts: 3
Joined: Thu Sep 24, 2020 9:34 am

Re: Branch 4183 - Build Problems

Postby ndesktop » Fri Sep 25, 2020 9:44 am

Something I don't get from your picture.
Looks like python is in C:\code\depot_tools\python3.bat, but the error is in C:\Users\Israel\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py.
Try to add to your commands/batch

set DEPOT_TOOLS=C:\code\depot_tools
set PATH=%DEPOT_TOOLS%;%PATH%
...
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Branch 4183 - Build Problems

Postby ndesktop » Fri Sep 25, 2020 9:46 am

The error is from gn, in RunGen function.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Branch 4183 - Build Problems

Postby ebahar » Fri Sep 25, 2020 12:35 pm

Something I don't get from your picture.
Looks like python is in C:\code\depot_tools\python3.bat, but the error is in C:\Users\Israel\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py.
Try to add to your commands/batch

set DEPOT_TOOLS=C:\code\depot_tools
set PATH=%DEPOT_TOOLS%;%PATH%


for me it run via epot_tools\python3.bat, but still same issue
ebahar
Techie
 
Posts: 46
Joined: Tue Nov 22, 2016 3:52 am


Return to Support Forum

Who is online

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