-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcef_dll_wrapper.a is missing #27
Comments
Hey guys. I'm considering going down the rabbit hole that is CEF 😝 I'm seeing the same thing here, no |
ha welcome to a dark and mysterious cave! I haven't touched this on windows at all (or looked at it w/ 0.9...) pinging @smallfly will look at this in 0.9 / osx shortly.... |
Believe it or not this isn't for Windows (I've escaped, if only for a little while..) Got a WKWebKit into OF easily but oddly can't get it to respond to mouse events properly, so figured I'd see what was up here |
ha right, when I saw "dll" I tuned out... I'll take a look when I have a moment. here's a .a file I had on my hard drive in the ofxCef addon: https://www.dropbox.com/s/jz1tf2xilmfl3wd/libcef_dll_wrapper.a?dl=0 can you see if this helps, I have about 8-9 "libcef_dll_wrapper.a" around, I think some are compiled with different settings so I'll try to understand this more clearly when I have a moment. |
Hm, no dice. With the lib in there I get the same linker errors as if I had removed the lib from the project. Ah well, I may give building a newer version a shot, or keep trying with WebKit, or... |
Hi, I have just reopened this repo yesterday. My plan is to update the add-on (incl. the CEF version - lib and framework - 64 bits on OS X and 32/64bits on Windows), and make the add-on work with OF 0.9.0 (starting with OS X). Hopefully I will have this done by the end of the week, but I can not guarantee it. To answer your question: yes, you need to compile the libcef lib from the source. |
I guess you didn't complete that work? I hit this same error, and 32-bit Mac CEF appears to be deprecated. |
Following up... I'm trying to move to modern CEF and OF and OS X and 64-bit. I used the latest CEF, and after much much pain, have got the dll wrapper compiled with lbstdC++ not GNU (which stopped the helper and ofx app compiling with C++11). The key was to edit the deploy target in the CMAKE target, which it calls 'min'. |
sorry I should have followed up - I've done basically the same thing (!) and have 64 bit 0.9.0 osx working, but I did (I think, not 100% sure) roll back some of the changes to what was a more performant version of the addon code. I honestly don't have the bandwidth to do the merge but if you are fine poking around a zip of a working 0.9 / osx thing I'm happy to put it online for you and then take a PR... |
Oh, cool. Yes please! I've been digging all day and punting. Love to have a trove that I know will work. Everything else I tried isn't getting me the result I need (Awesomium rendering looks nasty, for instance). |
Yes, an example would be great please. I solved the link error - a script that copied in the 32-bit CEF framework, but I only get a blank window with a frame rate counter, so something is off. |
Hey @BruceWheaton I'm in the same spot as you. Let me know if you've had any luck! For other OF 0.9+ w/ CEF-seekers out there, here's what I did so far to at least get stuff compiling:
Beyond that, the only other thing I changed was switching "C++ Standard Library" in cefHelper target to libc++ as well. |
Oh! Update, now it's working! The issue I was having was cefHelper was throwing errors that it didn't have FMOD (which I ignored). I added a "Run Script" phase to build, and added the default copy-fmod-in script from general OF project (below) and viola, it works.
|
if it's helpful, here's a 0.9 version where I think I have rolled back the addon code for performance reasons (not 100% sure but I found the code got slower in most recent version of the addon). I don't have time to merge this or study this but just zipping it up in case it helps. https://dl.dropboxusercontent.com/u/92337283/OF/ofxCef_works3.zip cef is quite hard! happy to have more eyeballs on this on this -- @robotconscience also I think you can remove fmod from the linking on cefHelper, which I may have done here -- that gets rid of the dylib needs, etc |
@ofZach thank you for posting! Totally helpful. And yes, agreed–CEF is hard an weird, but also pretty cool. Will post if I make any headway! Thanks again for sharing your WIP stuff. |
yey! |
Great, thanks. I had mine compiling but it produced no output. Yours came right up - cool. |
hmm - this should be linking scroll up: https://github.com/ofZach/ofxCef/blob/master/example_ofxCEF/src/ofApp.cpp#L6-L8 there's still alot to connect up... |
Ah ha! In your scratch repo, it’s commented out. Thanks! Remind me to look at least a tiny bit before posting next time.
|
Hi!
hm, in the example for osX the "libcef_dll_wrapper.a" is missing...
greetings ascorbin
The text was updated successfully, but these errors were encountered: