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 » Fri Jul 15, 2016 6:42 pm

The x64 toolchain should be included with Visual Studio. If I remember correctly it's included by default. When you installed VS did you uncheck any of the installation optinos?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Mon Jul 18, 2016 12:12 pm

magreenblatt wrote:The x64 toolchain should be included with Visual Studio. If I remember correctly it's included by default. When you installed VS did you uncheck any of the installation options?


I went into Change installation of VS and clicked on modify and found that under "Universal Windows App Development Tools", I had Tools (1.4) and Windows 10 SDK unchecked. I am installing it now. That should install toolchain right?
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby sam007 » Mon Jul 18, 2016 1:01 pm

Ok even after installing those, I still can't use ninja to build and create cefclient.exe

Do I need to provide some variable so that ninja builds it in x64?
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Mon Jul 18, 2016 1:13 pm

There seems to be something wrong with your environment. I'd like to take a step back for a moment if that's OK.

1. What version of Windows are you using? Is it English language?
2. Are you using a normal user account?
3. Did you re-run cef_create_projects.bat after changing the VS installation?
4. How are you running the ninja command? Are you using a standard cmd.exe console window?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Mon Jul 18, 2016 3:48 pm

magreenblatt wrote:1. What version of Windows are you using? Is it English language?
2. Are you using a normal user account? Did you mean a normal window user account, then yes but I also have administrative privileges when required.
3. Did you re-run cef_create_projects.bat after changing the VS installation?
4. How are you running the ninja command? Are you using a standard cmd.exe console window?


1. Windows Server 2008 and Yes it is English
2. Not sure what a normal user account means? Did you mean a normal Windows user, then yes but I also have admin priveledges.
3. No, should I re-run cef_create_projects.bat?
4. I am running ninja in a standard non-administrative cmd.exe console window
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby magreenblatt » Mon Jul 18, 2016 4:31 pm

You should re-run cef_create_projects.bat whenever you make any configuration changes (environment variables, VS install, etc).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build fail

Postby sam007 » Mon Jul 18, 2016 5:48 pm

magreenblatt wrote:You should re-run cef_create_projects.bat whenever you make any configuration changes (environment variables, VS install, etc).


You are right. After the VS install and updating my environment variable with "DEPOT_TOOLS_WIN_TOOLCHAIN=0" I ran the create.bat again, which has call cef_create_projects.bat and the build has been running for quite sometime. It is building about 16845 items and presently is stuck on 16836 for quite some time. Here is the output.
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby sam007 » Mon Jul 18, 2016 5:51 pm

Never mind, it completed. I finally have cefclient.exe and it runs fine. Thanks
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby sam007 » Wed Nov 30, 2016 6:47 pm

Don't know if I should be opening a new thread but I am getting an error when I build now. Is it related to `gn`

Output
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Build fail

Postby sam007 » Thu Dec 01, 2016 2:14 pm

Got it. VS 2015 does not install C++ common tools by default. Install it separately and it works fine.
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 89 guests