编译libcef_dll_wrapper.lib

参考文章:http://blog.csdn.net/foruok/article/details/51614545

编译环境:VS2015 + Win10  + cmake-3.9.3-win64-x64 + cef_binary_3.3163.1669.ge260cbb_windows32.tar.bz2

cef下载地址:

http://opensource.spotify.com/cefbuilds/index.html#windows32_builds
http://opensource.spotify.com/cefbuilds/cef_binary_3.3163.1669.ge260cbb_windows32.tar.bz2

  --------------------------------------------------------------------------------------------------------------------------------------------

1、解压cef_binary_3.3163.1669.ge260cbb_windows32.tar.bz2后,目录如下:


2、 打开cmake-gui.exe,设置如下:

Where is the source code:     ...\cef_binary_3.3163.1669.ge260cbb_windows32

where to build the binaries:   ..\cef_binary_3.3163.1669.ge260cbb_windows32

Configure: 选择VS2015(官方推荐),当然选择VS2010也可以

配置好后,点 Generate 按钮即可生成VS2015的工程文件cef.sln了





  

3、VS2015打开cef.sln然后直接编译即可生成libcef_dll_wrapper.lib文件了,

如下图项目ceftests会失败,这个不影响生成libcef_dll_wrapper.lib,我就不解决了











猜你喜欢

转载自blog.csdn.net/friendan/article/details/78067388