libcef_ddl_wrapper build failure osx

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.

libcef_ddl_wrapper build failure osx

Postby nirmi » Mon Apr 24, 2017 2:39 pm

Hello everyone,

i am trying to build libcef_dll_wrapper for using it in my own project.
I was following the this instruction https://bitbucket.org/chromiumembedded/cef-project and got stucked at the point where you have to build the "product" using XCode.
Unfortunenately xcode throws an error:

Code: Select all
cef-project/third_party/cef/cef_binary_3.2924.1570.g558741c_macosx64/libcef_dll/ctocpp/ctocpp.h:119:43: Instantiation of variable 'CefCToCpp<CefCommandLineCToCpp, CefCommandLine, _cef_command_line_t>::kWrapperType' required here, but no definition is available


Can someone help me please?
nirmi
Newbie
 
Posts: 2
Joined: Mon Apr 24, 2017 2:32 pm

Re: libcef_ddl_wrapper build failure osx

Postby magreenblatt » Mon Apr 24, 2017 4:14 pm

Xcode 8.3 build support was added in https://bitbucket.org/chromiumembedded/ ... ld-support. Change the "CEF_VERSION" value near the top of the top-level CMakeLists.txt file to "3.2987.1601.gf035232" and it should build for you.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: libcef_ddl_wrapper build failure osx

Postby nirmi » Tue Apr 25, 2017 5:34 am

Thank you ! That helped.
nirmi
Newbie
 
Posts: 2
Joined: Mon Apr 24, 2017 2:32 pm

Re: libcef_ddl_wrapper build failure osx

Postby JasonLP » Fri May 05, 2017 3:03 pm

I came across the same problem. For future reference if anyone has this issue, I added the -Wno-undefined-var-template switch in the Other Warning Flags section of the libcef_dll_wrapper project's build settings.
JasonLP
Mentor
 
Posts: 98
Joined: Fri Jul 25, 2014 10:10 am

Re: libcef_ddl_wrapper build failure osx

Postby michaeladamkatz » Fri Sep 15, 2017 5:59 pm

JasonLP, thank you very much for posting that settings detail.
michaeladamkatz
Mentor
 
Posts: 50
Joined: Wed Jan 09, 2013 5:10 pm

Re: libcef_ddl_wrapper build failure osx

Postby hkurra » Sun Apr 12, 2020 5:48 am

JasonLP, thanks for posting the detail of the setting.
it saved my day!
hkurra
Techie
 
Posts: 22
Joined: Wed Jun 21, 2017 8:13 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 38 guests