Proprietary codec support - problem during cef-binary build

90 views
Skip to first unread message

Dana Chapman

unread,
Apr 5, 2016, 6:16:21 PM4/5/16
to CefSharp
Hi there

I'm trying to recompile CEFSharp with proprietary codecs enabled. I've been following a relatively comprehensive guide here: [url]http://stackoverflow.com/questions/8033495/chromium-embedded-framework-mp3-support[/url], which I believe is based on a post in this forum, but have hit a snag at step 16, regenerating CEF nuget packages.

I'm trying to run build.ps1, but am getting the error below, regarding libcef_dll_wrapper.vcxproj not being found.
It's true - that file does not exist. Should it?
A screenshot of my libcef_dll folder is attached.

The output of the cef-binary build:

.\build.ps1 vs2013                                                                                                         
                                                                                                                             
Bootstrapping                                                                                                                
                                                                                                    
Starting to build targeting toolchain v120                                                                                   
                                                                                                  
Targeting v120 using configuration Debug on platform x86                                                                     
                                                                                                                             
Get-Content : Cannot find path                                                                                               
'D:\git\Chromium\cef-binary\cef_binary_3.2526.1373.gb660893_windows32\libcef_dll\libcef_dll_wrapper.vcxproj' because it      
does not exist.                                                                                                              
At D:\git\Chromium\cef-binary\build.ps1:224 char:6                                                                           
+     (Get-Content $CefProject) | Foreach-Object {$_ -replace "<RuntimeLibrary>Mul ...                                       
+      ~~~~~~~~~~~~~~~~~~~~~~~                                                                                               
    + CategoryInfo          : ObjectNotFound: (D:\git\Chromium...wrapper.vcxproj:String) [Get-Content], ItemNotFoundExcepti  
   on                                                                                                                        
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand                                   
                                                                                                                             
Get-Content : Cannot find path                                                                                               
'D:\git\Chromium\cef-binary\cef_binary_3.2526.1373.gb660893_windows32\libcef_dll\libcef_dll_wrapper.vcxproj' because it      
does not exist.                                                                                                              
At D:\git\Chromium\cef-binary\build.ps1:225 char:6                                                                           
+     (Get-Content $CefProject) | Foreach-Object {$_ -replace "<RuntimeLibrary>Mul ...                                       
+      ~~~~~~~~~~~~~~~~~~~~~~~                                                                                               
    + CategoryInfo          : ObjectNotFound: (D:\git\Chromium...wrapper.vcxproj:String) [Get-Content], ItemNotFoundExcepti  
   on                                                                                                                        
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand                                   
                                                                                                                             
True                                                                                                                         
Microsoft (R) Build Engine version 12.0.40629.0                                                                              
[Microsoft .NET Framework, version 4.0.30319.42000]                                                                          
Copyright (C) Microsoft Corporation. All rights reserved.                                                      

I realise this isn't really much to go on, and I have very little understanding of what I'm doing, but any help on how to get past this issue would be gratefully received.

ваня бахчеев

unread,
May 2, 2016, 10:56:30 AM5/2/16
to CefSharp
Seems you don't have `cmake` in PATH. Take a look log messages above you submitted, install cmake and try again. I just finished (successfully!) rebuild of CEF 41 with proprietary codecs using this guide: https://groups.google.com/forum/#!msg/cefsharp/BJLMXl9c204/HMJlp8mZzF0J

jonas -

unread,
Jan 6, 2017, 2:04:07 PM1/6/17
to CefSharp
I'm also trying to use CefSharp with re-compiled CEF binaries. Do you know if it is required to re-compile CefSharp binaries in order to use the new CEF binaries? Or, is it possible to simply copy the CEF binaries into the CefSharp project?
Reply all
Reply to author
Forward
0 new messages