Replies: 2 comments 5 replies
-
They are different. cef.redist is probably the better choice as it includes the locals and swiftshader.
The packages provided by this project are designed for use with CefSharp. Whilst you are welcome to use them in your project, help with compiling cefsimple is outside the scope of this project. The libcef_dll_wrapper is compiled for dynamic linking.
The cef.redist packages contain only the runtime. The cef.sdk package has the required lib files. You can look at the vcxproj files within this project as a reference to see how the cef.sdk project is used. https://github.com/cefsharp/CefSharp/blob/cefsharp/91/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj#L77 |
Beta Was this translation helpful? Give feedback.
-
No CEF is not currently used or part of the system. Like other developers that have integrated CEF with Unreal Engine and Unity, I am trying to integrate it with the Godot game engine. I am trying to use their GDNative plugin architecture which has C++ entry points for initialization and shutdown. Unfortunately, they have chosen yet another build system, SCONS, which (as far as I can tell) does not understand linking by just specifying a shared library with the .dll extension. It keeps trying to make it libcef.dll.lib. So I had to generate a .DEF and then a .LIB for the libcef.dll and chrome_elf.dll, and try and to link those, but am still getting unresolved symbols. I just read through the 1000 line long build.ps1 looking for anything that might have been modifying the code (changing name mangling), but there was nothing. Long, but straightforward. SCONS is nice, it's just CEF is using CMake/Ninja, Godot is using SCONS, Microsoft uses MSBuild. It WOULD be nice if we could all use the same build tool, but I get it. We are all looking to make our build chain easier to use, more efficient, and have different ideas on how to do it. Probably more content than you wanted, but thank you for the warning. I am sure there are more than a few statics and singletons in the CEF codebase to avoid doing that. Again, thank you for the help. |
Beta Was this translation helpful? Give feedback.
-
I created a packages.config file:
The NuGet package "cef.redist.x64" appears to be the same as "chromiumembeddedframework.runtime.win-x64". Do I need both NuGet packages? My own project is based on cefsimple in /tests, but I am getting tons unresolved symbols when linking, which appear to be defined in the above libraries and DLLs (having done dumpbin).
I don't understand Ninja, other than it is a generator (of what I do not know), but if I am just pulling in the above pre-built .lib and DLLs and linking with libcef_dll_wrapper.lib, libcef.lib, and chrome_elf.lib, shouldn't that be sufficient? I don't need to use cmake/Ninja, do I? I created the export lib(s) from the dll(s), although it would be great if those were included the cef.redist.x64 NuGet package.
Beta Was this translation helpful? Give feedback.
All reactions