Link Error please help

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.

Link Error please help

Postby sweetsweetgwendoline » Tue Nov 13, 2018 12:12 pm

I get the following link error:

Error LNK2019 unresolved external symbol CLSID_WbemLocator referenced in function "bool __cdecl base::win::CreateLocalWmiConnection(bool,class Microsoft::WRL::ComPtr<struct IWbemServices> *)" (?CreateLocalWmiConnection@win@base@@YA_N_NPEAV?$ComPtr@UIWbemServices@@@WRL@Microsoft@@@Z) cefclient
sweetsweetgwendoline
Newbie
 
Posts: 4
Joined: Tue Nov 13, 2018 12:10 pm

Re: Link Error please help

Postby magreenblatt » Tue Nov 13, 2018 1:49 pm

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Link Error please help

Postby sweetsweetgwendoline » Wed Nov 14, 2018 9:53 am

thanks for the answer. when will it be fixed in binaries?
sweetsweetgwendoline
Newbie
 
Posts: 4
Joined: Tue Nov 13, 2018 12:10 pm

Re: Link Error please help

Postby magreenblatt » Wed Nov 14, 2018 10:55 am

3538 branch binaries containing the fix are available from http://opensource.spotify.com/cefbuilds/index.html
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Link Error please help

Postby sweetsweetgwendoline » Wed Nov 14, 2018 3:28 pm

hmm, I've downloaded this http://opensource.spotify.com/cefbuilds ... 64.tar.bz2 but it didn't work.
Is that the right download link?

I added the wbemuuid.lib to cef_variables.cmake myself now and it worked
thanks for the quick help keep up the good work.
sweetsweetgwendoline
Newbie
 
Posts: 4
Joined: Tue Nov 13, 2018 12:10 pm

Re: Link Error please help

Postby amaitland » Wed Nov 14, 2018 3:35 pm

Version CEF 3.3538.1852.gcb937fc / Chromium 70.0.3538.102 will include the relevant change.

You using 1851 which is the previous commit.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: Link Error please help

Postby sweetsweetgwendoline » Wed Nov 14, 2018 3:42 pm

ohh okay :oops:
thanks guys
sweetsweetgwendoline
Newbie
 
Posts: 4
Joined: Tue Nov 13, 2018 12:10 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 94 guests