How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?

后端 未结 1 1639
温柔的废话
温柔的废话 2021-02-01 10:55

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 b

1条回答
  •  無奈伤痛
    2021-02-01 11:53

    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
    4. Press Configure
    5. Press Generate
    6. Open solution in folder/build/cef.sln
    7. Build Debug/Release
    8. Reference in your project folder/build/libcef_dll_wrapper/[Debug|Release]/libcef_dll_wrapper.lib
    9. Copy files to your bin folder:
      • folder/[Debug|Release]
      • folder/Resources

    0 讨论(0)
提交回复
热议问题