Hi,
In version prior to 3770 branch, I followed https://bitbucket.org/chromiumembedded/ ... dows-setup and built the libcef.dll and libcef_dll_wrapper and then consumed them in my app. libcef.dll build used clang and lld-link and my app used MSVC toolchain (cl.exe and link.exe).
When using a branch after 3770, I again followed the same steps as above. libcef.dll and libcef_dll_wrapper built fine. However, when consuming them in my app, I ran into lot of linker errors. Another user (naoki) ran into same issue as mentioned here : https://magpcss.org/ceforum/viewtopic.php?f=6&t=16905
The root cause is that prior to 3770, chromium did NOT use libc++ . I verified that by checking that libc++ repository is not synced. Chromium moved to libc++ as per commit https://chromium.googlesource.com/chrom ... 04e96676e0 in 3770. So whenever we try to build a branch after 3770,
libcef.dll links against libc++. When my app tries to consume it via MSVC toolchain, it doesn't find the right definitions, as MSVC doesn't use libc++ and thus, there are many linker errors.
Marshall is kinda aware of this problem as per his comment here : https://bitbucket.org/chromiumembedded/ ... ink-errors.
So I've the following questions:
1) What's the right way to move forward, to ensure that the app, which uses MSVC toolchain (for now), can be built fine by consuming libcef.dll which links against libc++ ?
2) Using "AutomatedBuildSetup" (https://bitbucket.org/chromiumembedded/ ... BuildSetup) , the user naoki was able to link win32 app with libcef_dll_wrapper.lib as per viewtopic.php?f=6&t=16932#p42718 . I don't see the "Automated Method" adding any flags which turns off libc++ so I am confused how things worked there. Only reason I can think of is
naoki used clang-cl to compile and lld-link to link the MFC app with CEF
3) Builds on openspotify have the option to generate solution file and build application with Visual Studio. How does it work in their case? Ideally, they would run into the same issue , unless they somehow forced chromium to use MSVC toolchain?
So what should be the right way to move forward and can you shed some light on my above questions ?
Thanks in advance!
(Edited to add automatedBuildSetup link)