Build fail

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.

Re: Build fail

Postby magreenblatt » Thu Jul 14, 2016 1:04 pm

sam007 wrote:I actually need the changes made in that branch to display a Client Certificate List dialog for authentications like PKI (Public Key Infrastructure). I will be using the build binaries from that and add it to CefSharp.

magreenblatt wrote:CHROMIUM_BUILD_COMPATIBILITY.txt


I looked into it and it shows
Code: Select all
'chromium_checkout': '088f14a08fb102ca523424290965c04052eca325'


How do I connect it to what CEF branch version it is?

CEF has release branches and master branch. The code that you're looking at is from master branch. You can guess which release branch it's closest to by looking at the commit date and comparing to the branch dates listed at https://bitbucket.org/chromiumembedded/ ... uilding.md. I would advise against distributing code built from master since it is generally unstable and not fully tested.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Thu Jul 14, 2016 3:04 pm

I installed VS 2015 but there is still some error while building.

But if the master is not stable and the best thing is to use the release version, what resource should I look up that can guide me in setting up the Development environment for CEF, so that I can make the changes for Client Certificate list dialog locally and build that?
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Thu Jul 14, 2016 3:20 pm

sam007 wrote:I installed VS 2015 but there is still some error while building.

But if the master is not stable and the best thing is to use the release version, what resource should I look up that can guide me in setting up the Development environment for CEF, so that I can make the changes for Client Certificate list dialog locally and build that?

https://bitbucket.org/chromiumembedded/ ... ckStart.md can be applied to master and recent release branches (2704 and newer).
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Thu Jul 14, 2016 4:55 pm

Thanks for pointing to MasterBuildQuickStart

I reached where I am supposed to run the "create.bat" in "c:\code\chromium_git\chromium\src\cef" which should create cef.sln that I can then load in Visual Studio, but once the bat file is executed, no cef.sln is created.
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Thu Jul 14, 2016 5:24 pm

sam007 wrote:Thanks for pointing to MasterBuildQuickStart

I reached where I am supposed to run the "create.bat" in "c:\code\chromium_git\chromium\src\cef" which should create cef.sln that I can then load in Visual Studio, but once the bat file is executed, no cef.sln is created.

Did you set GYP_GENERATORS=ninja,msvs-ninja ?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Thu Jul 14, 2016 5:44 pm

magreenblatt wrote:Did you set GYP_GENERATORS=ninja,msvs-ninja ?


The create.bat file has that in the code
Code: Select all
set GYP_MSVS_VERSION=2015
set GYP_GENERATORS=ninja,msvs-ninja
call cef_create_projects.bat


Nonetheless, I also added it to my environment variable but it still does not create a cef.sln
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Thu Jul 14, 2016 7:52 pm

Is there an error while running cef_create_projects.bat? What's the complete output?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Thu Jul 14, 2016 9:11 pm

magreenblatt wrote:Is there an error while running cef_create_projects.bat? What's the complete output?


Sadly once the bat file is executed it instantly closes. How can I capture the output?
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Thu Jul 14, 2016 9:17 pm

Run cmd.exe, then execute the script from the prompt.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Thu Jul 14, 2016 11:39 pm

magreenblatt wrote:Run cmd.exe, then execute the script from the prompt.


Thanks here is the output
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

PreviousNext

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 71 guests