How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?(如何在 Visual Studio 2017 (C++) 中使用 Chromium Embedded Framework?)
问题描述
我想将 CEF 与 VS 2017 一起使用 C++(不是 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?
推荐答案
- 下载 CEF3二进制文件,并解压到
文件夹 - 下载并安装 CMake
- 打开 CMake,然后设置:
- 源码在哪里:
文件夹 - 在哪里构建二进制文件:
文件夹/构建
- 源码在哪里:
- Download CEF3 binaries, and extract archive to
folder - Download and install CMake
- Open CMake, and set:
- Where is the source code:
folder - Where to build the binaries:
folder/build
- Where is the source code:
文件夹/[Debug|Release]文件夹/资源
这篇关于如何在 Visual Studio 2017 (C++) 中使用 Chromium Embedded Framework?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Visual Studio 2017 (C++) 中使用 Chromium Embedded Framework?
基础教程推荐
- 初始化列表*参数*评估顺序 2021-01-01
- CString 到 char* 2021-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
