如何在Visual Studio 2017(C ++)中使用Chromium嵌入式框架? [英] How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?

查看:271
本文介绍了如何在Visual Studio 2017(C ++)中使用Chromium嵌入式框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将CEF与使用C ++的VS 2017一起使用(不是C#,因此CEFSharp在这里不起作用)。我不太明白该怎么做。根据我的阅读,似乎我需要将源代码构建到.sln文件中,然后修改现有代码,但是他们的网站上还说有可供下载的二进制文件,这使我感到困惑。

I would like to use CEF with VS 2017 using C++ (not C#, so CEFSharp won't work here). I can't quite understand how to do this. From what I have read, it seems like I need to build the source into a .sln file and then modify the existing code, however their site also says there are binaries available to download, which is confusing me.

如何使用CEF和VS 2017在C ++中编程?

How do I program in C++ using CEF and VS 2017?

推荐答案


  1. 下载 CEF3二进制文件,并将存档提取到文件夹

  2. 下载并安装CMake

  3. 打开CMake,并设置:


    • 源代码在哪里: folder

    • 在哪里生成二进制文件: folder / build

  1. Download CEF3 binaries, and extract archive to folder
  2. Download and install CMake
  3. Open CMake, and set:
    • Where is the source code: folder
    • Where to build the binaries: folder/build

  • 文件夹/ [Debug | Release]

  • 文件夹/资源

  • folder/[Debug|Release]
  • folder/Resources

这篇关于如何在Visual Studio 2017(C ++)中使用Chromium嵌入式框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆