l2m2 / l2m2.github.io

l2m2的技术博客 https://l2m2.top
3 stars 1 forks source link

Windows下编译cef使其支持H.264 | L2M2 #130

Open l2m2 opened 2 years ago

l2m2 commented 2 years ago

https://l2m2.top/2021/12/14/2021-12-14-build-cef/

l2m2 commented 2 years ago

本文所有命令都在CMD下执行。

mydsuo commented 1 year ago

请教编译时报 ninja: error: loading 'build.ninja': The system cannot find the file specified. 怎么解决?

l2m2 commented 1 year ago

@mydsuo 请教编译时报 ninja: error: loading 'build.ninja': The system cannot find the file specified. 怎么解决?

我当时编译的时候没遇到过这个错误,不知道与版本有没有关系。参考这个帖子:https://magpcss.org/ceforum/viewtopic.php?f=6&t=17434

mydsuo commented 1 year ago

@l2m2

@mydsuo 请教编译时报 ninja: error: loading 'build.ninja': The system cannot find the file specified. 怎么解决?

我当时编译的时候没遇到过这个错误,不知道与版本有没有关系。参考这个帖子:https://magpcss.org/ceforum/viewtopic.php?f=6&t=17434

感谢 ,已解决了,还有一个问题想请教,第7步中 修改dirty\chromium_git\chromium\src\third_party\ffmpeg\chromium\config\Chrome\win\ia32\config.h 在第4行下增加如下代码:

define FFMPEG_CONFIGURATION...

代码中的/vs_files/9ff60e43ba91947baca460d0ca3b1b980c3a2c23/ 其中类似guid的这一串 9ff60e43ba91947baca460d0ca3b1b980c3a2c23 是什么,如果我下载最新版本的话需要修改这里吗

l2m2 commented 1 year ago

@mydsuo

@l2m2

@mydsuo 请教编译时报 ninja: error: loading 'build.ninja': The system cannot find the file specified. 怎么解决?

我当时编译的时候没遇到过这个错误,不知道与版本有没有关系。参考这个帖子:https://magpcss.org/ceforum/viewtopic.php?f=6&t=17434

感谢 ,已解决了,还有一个问题想请教,第7步中 修改dirty\chromium_git\chromium\src\third_party\ffmpeg\chromium\config\Chrome\win\ia32\config.h 在第4行下增加如下代码:

define FFMPEG_CONFIGURATION...

代码中的/vs_files/9ff60e43ba91947baca460d0ca3b1b980c3a2c23/ 其中类似guid的这一串 9ff60e43ba91947baca460d0ca3b1b980c3a2c23 是什么,如果我下载最新版本的话需要修改这里吗

我印象中是不需要改的。你也可以对应看看 depot_tools下有没有这个路径