Video playing error

Having problems with building or using CEF? This forum is here to help. Please do not post bug reports or feature requests here.

Video playing error

Postby azulciels » Fri Sep 14, 2012 4:41 pm

I m trying to create a mac app to play videos. When site loads video, it doesn't play. On console, an error is shown as " dyld could not load inserted library: @executable_path/../../../libplugin_carbon_interpose.dylib"

Similarly, if I try to visit youtube.com, I get same error.

dyld: could not load inserted library: @executable_path/../../../libplugin_carbon_interpose.dylib
[0914/172033:ERROR:webplugin_delegate_proxy.cc(300)] Plug-in crashed on start

dyld may fail to load a library if library was built for a different architecture than binary. Both default setting of NATIVE_ARCH and only 32 bit arch for all components (cefclient, cefclient helper, and libcef_dll_wrapper resulted in same error. When I downloaded the source code initially, it was using compiler as GCC 4.2, which is not supported on Xcode 4.3, so I used LLVM GCC 4.2.

Build environment is latest CEF version 3.1180.719 on Mac 10.7.4 (Snow Leopard) Xcode 4.3.2 (My machine is 64 bit).

Your insight/ideas will be appreciated. Thanks in advance.
azulciels
 
Posts: 9
Joined: Fri Sep 14, 2012 4:22 pm

Re: Video playing error

Postby magreenblatt » Mon Sep 17, 2012 11:14 am

CEF doesn't normally try to load libplugin_carbon_interpose.dylib. Did you perhaps copy some files from a Google Chrome installation or make other changes?
magreenblatt
Site Admin
 
Posts: 4443
Joined: Fri May 29, 2009 6:57 pm

Re: Video playing error

Postby azulciels » Mon Sep 17, 2012 12:04 pm

magreenblatt, Thanks for your reply. No files were copied from Chrome installation or setup was tweaked in any way.

This issue impacts only CEF3. On CEF1, it works correctly.
azulciels
 
Posts: 9
Joined: Fri Sep 14, 2012 4:22 pm

Re: Video playing error

Postby magreenblatt » Mon Sep 17, 2012 12:11 pm

My mistake, I was testing with the CEF3 trunk revision instead of the 1180 branch. It works in trunk but is indeed broken in the 1180 branch. Please add an issue to the CEF issue tracker.
magreenblatt
Site Admin
 
Posts: 4443
Joined: Fri May 29, 2009 6:57 pm

Re: Video playing error

Postby magreenblatt » Mon Sep 17, 2012 12:13 pm

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

Re: Video playing error

Postby azulciels » Mon Sep 24, 2012 2:23 pm

Mag, Thanks for your help. I checked out the trunk and chrome and build it. Resulting libraries did not have this problem.

It does print a message about missing Carbon interpose library but app continues to work. (Previously, it used to crash with crash report in console)
azulciels
 
Posts: 9
Joined: Fri Sep 14, 2012 4:22 pm


Return to Support Forum

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests