Linking CEF cefsimple files into an application

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Linking CEF cefsimple files into an application

Postby srmaxwell3 » Mon Aug 08, 2022 2:06 pm

Hello, folks. I'm trying to link my application with the contents of cefsimple/cefsime_mac.mm integrated into my application's main.cpp, and with the cefsimple application's source files (cefsimple/simple_app.cc, cefsimple/simple_handler.cc, and cefsimple/simple_handler_mac.mm) added. I'm linking with libcef_static.a and libcef_dll_wrapper.a, and I'm getting nearly 4300 unresolved symbols. I searched through all of the symbols defined in the .a's built in my copy of the latest release, and found 149 libraries exporting the unresolved symbols, including libcef_static.a and libcef_dll_wrapper.a (???). So I added 5 more CEF libraries to the link, hoping to resolve some larger subset, only to get errors like the following:

ld: in deps/cef/lib/Debug/libbrowser.a(platform_util_mac.o), archive member 'platform_util_mac.o' with length 316696 is not mach-o or llvm bitcode for architecture x86_64

Does anyone have any suggestions?
srmaxwell3
Techie
 
Posts: 13
Joined: Fri Jul 08, 2022 5:22 pm

Re: Linking CEF cefsimple files into an application

Postby magreenblatt » Mon Aug 08, 2022 2:16 pm

You should build using a binary distribution. See https://bitbucket.org/chromiumembedded/ ... utorial.md
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], TakashiHSD and 37 guests