-
Notifications
You must be signed in to change notification settings - Fork 17
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
Building how-to (requires old NDK) #43
Comments
On 1/28/20 1:43 PM, vanta wrote:
Hmmmm I think it's totally awesome that you're interested in this project. You're a braver soul than I for being able to dig through all of that and hack at it with the different versions of the NDK. It's been a while since I've actually been able to / needed to compile the .so's for the engine using the C and C++ code. My initial suggestion: try looking at the git blame / history and look for changes TacoTheDank did to the C/C++ library code when he went on a cleaning spree. If you can roll back to before then, you might have a shot. That malloc error looks familiar, are you working on Windows? I think I saw a forum post (this may/may not be it) where somebody though of patching in Doug Lea's Malloc as a header file to work around Windows not having usable malloc tools at compile time. I didn't have to do this the first time I compiled the app though. My only other suggestion would be to use 14b or below, and try to see if you can revert some of Taco's changes or get an earlier version of the code to compile. Please let me know if you get something working. Even this output stuff from the compiler that you've got here is super helpful. |
On January 24, 2020 3:10:21 AM EST, vanta wrote:
Hi Vanta,
#41
Thanks for your interest in this project
It's been a while since I have been able to "compile" a working version of this app due to Byzantine problems with the NDK during compilation
I think your best bet would be to look at my commit history, look at the time that I committed a "build" of the app, and then using whatever version of the NDK was latest during the time I built it.
So, you're right on the money for how to build it. Build.sh patches and compiles the C/C++ GZDOOM portions and other libraries, and gradle assemble builds the apk with the binaries you've built in build.sh
If you're on Linux/Mac or whatever, you'll need to remove the .bat from one of the last lines of build.sh. I had to add that since I was compiling on Windows.
I was dorking around recently and was able to find how to add armv8a as a build target, but I've since forgotten. I have the changes on one of my local environments, and could give them to you if you need (I was unable to get the app to compile though [using NDK 16b], hence why I've kind of rage quit this project for a minute. You probably won't have issues if you use the correct NDK version though)
This would be necessary before any new versions could be published on the play store
The text was updated successfully, but these errors were encountered: