-
Notifications
You must be signed in to change notification settings - Fork 420
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
Various build errors (undefined reference to AndroidSurface) #24
Comments
Hi Werner! Found any solution to this? I keep having the exactly same errors with NDKv5 ... Greetings from ums Eck, |
No luck. I kept searching for hours to find any implementation of these Surface methods. What I did in my frustration was to use Bambuser's ffmpeg builds. See my gameClient repo for the code. It should build just fine. at least I was able to generate all necessary |
Well, I found the implementations ... Thanks, I will try Bambuser's ffmpeg builds! |
Thanks too for the gameClient repo. I've also been battling to get this compile with no luck. GameClient compiled first time, can't wait to try it out tomorrow. |
@ashcairo It's not fully working at the moment with the file I tried, but you can extract the whole FFmpeg and native part from it and see how far you can get it working! The native libs however load and the calls seem fine, too. |
I received various build errors using NDKv5 on OS X . I was able to fix most of them by manually copying missing header files to some locations and fixing the import statements. Still, one I can't resolve:
There doesn't seem to be an
<android/surface.h>
, which is included inoutput.cpp
.I just copied it from
/jni/include/android/surface.h
tolibmediaplayer/android/surface.h
and changedoutput.cpp
to reflect that, but still the implementation of above methods is just missing. There's nosurface.cpp
and no source file in your repository mentions any of those method signatures.I know that the NDKv4 is supposed to work, but it doesn't:
Is there any way to overcome these errors? I'm stuck here. As mentioned above, I could get away several of those by just adding missing headers, but these are slightly more complicated.
Thanks for any help.
The text was updated successfully, but these errors were encountered: