Ninja build fails to find third_party file

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.

Ninja build fails to find third_party file

Postby kbiskar » Thu Apr 16, 2015 7:42 pm

Running the command
Code: Select all
c:\excluded\cef_2272\chromium\src>ninja -C out/Debug cefclient cef_unittests

gives me the following error very quickly after starting

Code: Select all
c:\excluded\cef_2272\chromium\src>ninja -C out/Debug cefclient cef_unittests
ninja: Entering directory `out/Debug'
ninja: error: '..\..\third_party\ffmpeg\libavformat\mux.c', needed by 'obj\third_party\ffmpeg\libavformat\ffmpegsumo.mux
.obj', missing and no known rule to make it


This is after a successful sync and run of cef_create_projects.bat for 2272 on Windows 7.
kbiskar
Techie
 
Posts: 25
Joined: Mon May 12, 2014 1:02 pm

Re: Ninja build fails to find third_party file

Postby magreenblatt » Fri Apr 17, 2015 5:23 am

It looks like some Chromium dependencies were not checked out correctly. You can try running `gclient sync --reset` and then re-running cef_create_projects.bat, etc. If that doesn't work you can try passing `--force-clean --force-clean-deps` to automate-git.py (note, however, that this will take a long time because it re-downloads a lot of code and then re-builds everything).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Ninja build fails to find third_party file

Postby kbiskar » Tue Apr 21, 2015 5:41 pm

Sorry for the delay. Your suggestions did help, and I was able to get everything to build, thanks!
kbiskar
Techie
 
Posts: 25
Joined: Mon May 12, 2014 1:02 pm


Return to Support Forum

Who is online

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