How do i get cefglue up and running? - missing libcef.dll

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

How do i get cefglue up and running? - missing libcef.dll

Postby bjarkeck » Mon Mar 21, 2016 2:21 pm

I'm using Visual Studio 2015 Community Edition on Windows 10

This is what i've done so far.

1. Downloaded the source
2. Opened the solution.
3. Set CefGlue.Demo.WinForms as startup project and clicked run.
- Got the error missing cefglue.dll
4. build.cmd located in the root directiory
- Got the error missing cefglue.dll
5. Set all projects platform target to x86 & rebuild
- Got the error missing cefglue.dll
6. Tried Release instead of Debug mode
- Got the error missing cefglue.dll

Somthing is telling me i'm missing cefglue.dll

Where do i get the correct version from? It doesn't look like it is included in the repocitory. Is there a startup guide somewhere?
bjarkeck
Newbie
 
Posts: 3
Joined: Mon Mar 21, 2016 2:07 pm

Re: How do i get cefglue up and running? - missing libcef.dl

Postby fddima » Mon Mar 21, 2016 3:40 pm

Hello.

I'm using Visual Studio 2015 Community Edition on Windows 10

It is okay / preffered.

3. Set CefGlue.Demo.WinForms as startup project and clicked run.
- Got the error missing cefglue.dll

There is no cefglue.dll library. It is exists only xilium.cefglue.dll.

1. In visual studio unload CefGlue.Demo.GtkSharp project. You not need it, and it will generate errors, but them not prevent to use other projects.

2. You build in VS should be successful now. Nothing more.

---

If you got runtime error: System.DllNotFoundException: Unable to load DLL 'libcef': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Then:

1. You need download appropriate CEF biaries. In sources you can found cef version at: https://bitbucket.org/xilium/xilium.cefglue/src/4146c2b46923593f55d28c7435f017631f86dca0/CefGlue/Interop/version.g.cs?at=default&fileviewer=file-view-default#version.g.cs-12

2. Go to http://cefbuilds.com and download binary package.

3. Unpack content of Release & Resources folders of CEF binaries distribution into target's directory (i.e. ...Demo.Winforms/bin/Debug). As result you should have libcef.dll and cef.pak files in same folder (and other files, except .lib too).

4. Now demo project will run.

---

PS: I'm have created experimental nuget packages for this too, but
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: How do i get cefglue up and running? - missing libcef.dl

Postby bjarkeck » Mon Mar 21, 2016 7:53 pm

Thanks a lot, i'll give this a try tomorrow and report back :)
bjarkeck
Newbie
 
Posts: 3
Joined: Mon Mar 21, 2016 2:07 pm

Re: How do i get cefglue up and running? - missing libcef.dl

Postby bjarkeck » Tue Mar 22, 2016 1:20 pm

Worked like a charm.

Thanks for your help :)
bjarkeck
Newbie
 
Posts: 3
Joined: Mon Mar 21, 2016 2:07 pm

Re: How do i get cefglue up and running? - missing libcef.dl

Postby freeqaz » Sun Jun 26, 2016 7:06 pm

It looks like there is no build history on that link, cefbuilds. When I clone the latest master, I can't grab the build that it's referencing by hash.

How do I manually update to the newest build? Or would you be able to upload the current master version somewhere and link it in the Readme?
freeqaz
Newbie
 
Posts: 3
Joined: Sun Jun 26, 2016 7:03 pm

Re: How do i get cefglue up and running? - missing libcef.dl

Postby freeqaz » Sun Jun 26, 2016 7:17 pm

I was actually able to resolve this by manually punching in the version number at Spotify's link.



[Windows 32bit][http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1425.gaf7a122_windows32.tar.bz2]

[Windows 64bit][http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1425.gaf7a122_windows64.tar.bz2]

[Mac OSX 64bit][http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1425.gaf7a122_macosx64.tar.bz2]

[Linux 32bit][http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1425.gaf7a122_linux32.tar.bz2]

[Linux 64bit][http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1425.gaf7a122_linux64.tar.bz2)]
freeqaz
Newbie
 
Posts: 3
Joined: Sun Jun 26, 2016 7:03 pm


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 15 guests