Error Build FFMPEGSUMO.lib

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.

Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 4:22 pm

Can anyone help me with this error.. i found this error when build cef from trunk source,, ffmpegsumo.lib wasn't build cause there are error in 'convert_ffmpeg_sources' project and on generate_stubs.py 'error: No input specified'..
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Re: Error Build FFMPEGSUMO.lib

Postby magreenblatt » Mon Feb 10, 2014 5:07 pm

You need to build with Ninja.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 5:18 pm

magreenblatt wrote:You need to build with Ninja.


Where i can download ninja,, and the instruction to build ffmpeg with ninja ?? Thanks..
i use Windows 7 and Visual Studio 2010..
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Re: Error Build FFMPEGSUMO.lib

Postby magreenblatt » Mon Feb 10, 2014 5:43 pm

You need to build all of CEF/Chromium with Ninja. See https://code.google.com/p/chromiumembed ... ndBuilding.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 6:05 pm

Thanks for your reply,, but i get this error using ninja..
#1 run cef_create_projects and success
C:\chromium\src\cef>cef_create_projects.bat

#2 run ninja to build all and get this error
C:\chromium\src>ninja -C out/Debug cefclient
ninja: fatal: chdir to 'out/Debug' - No such file or directory
ninja: Entering directory 'out/Debug'

#3 try navigate to build/Release and run ninja
C:\chromium\src>ninja -C build/Release cefclient
ninja: error: loading 'build.ninja' : No such file or directory
ninja: Entering directory 'build/Release'
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Re: Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 6:51 pm

Ok, now i've run ninja.. but now i get error cefclient unknown target in ninja.. how do i fix it??
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Re: Error Build FFMPEGSUMO.lib

Postby magreenblatt » Mon Feb 10, 2014 7:08 pm

Did you set the GYP environment variables and then re-run cef_create_projects.bat?
Code: Select all
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2010
cef_create_projects.bat
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 8:59 pm

yeah,, i do all..
Code: Select all
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2010
cef_create_projects.bat


but,, i get:
Code: Select all
ninja: warning: multiple rules generate gen\about_credits.html. builds involving
 this target will not be correct; continuing anyway

whether this effect later? something like get another error..
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Re: Error Build FFMPEGSUMO.lib

Postby magreenblatt » Mon Feb 10, 2014 9:31 pm

You can safely ignore that warning.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Error Build FFMPEGSUMO.lib

Postby DhideMarshall » Mon Feb 10, 2014 10:34 pm

Thanks for your helps,, all working fine.. So now all successfully build,, and for next time can i build from visual studio ?? Thanks a lot..
DhideMarshall
Techie
 
Posts: 24
Joined: Thu Jul 04, 2013 5:01 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 37 guests