-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cannot compile nds4droid #8
Comments
I use version R10e of the Android NDK to compile the shared libraries -- it's possible it doesn't work on later versions (for one I believe they switched to Clang in version 12) |
Whoa! I did not think you would reply so quickly! |
Just happened to catch my eye in the e-mails ;). Here is a link to the specific one I use: https://dl.google.com/android/repository/android-ndk-r10e-windows-x86.zip |
Sounds like I made an issue at the right time then. I got lucky there, because usually, I don't get a reply until a few hours later or more. |
I updated my fork and fixed a LOT of errors (but sadly, can't get this working on Eclipse). Here is the error I'm facing:
This is how you know I have almost zero C++ knowledge, and I still figured out how to fix the "INLINE" problem by changing it to "FORCEINLINE". The errors I am sharing are WAY beyond what I know so far (and so far, I only know how to do "Hello World" in C and C++). |
Don't use my fork either, there's a lot I still need to work on before any real benefits are actually seen. However, these two commits and line change are necessary to build through Android Studio: I am not sure about any other errors, I'll look at my setup later and continue my work. I do have work and school as well, so this isn't my #1 focus at the moment. |
Don't worry. Your commits are also in my fork. So far, I figured out how to fix the ones that don't have a type, even though they do because of the headers they include. |
I've been working on upgrading DeSmuME to 0.9.11, but that would eliminate the threaded interpreter and lightning JIT that I keep finding in every DS emulator made for iOS or Android. I do not know how "ArmThreadedInterpreter.cpp", "ArmLJit.cpp", and "ArmCJit.cpp" ended up in there with the DeSmuME copyright at the top. Is it made when you run "./configure" on it, or is it something else? I can't figure it out. |
I managed to upgrade the whole DeSmuME engine to a 0.9.12 nightly build (and yes, 0.9.12 is an actual milestone). No more lightning JIT because DeSmuME already uses its own, but the threaded interpreter is gone too. |
Will development on this emulator continue? I'm going to experiment with DeSmuMe 0.9.12 soon. |
I believe at one point that Jeffery (on his blog) said emulation through DeSmuME had reached a limit - though this is as of a few years back, and this was probably his stopping point. I've kinda stopped fiddling with it for time being. I'm sure he would be willing to accept PRs given they are functional and tested working, however. |
DeSmuME is still being worked on, but I think it moved from Subversion to Git. The code is here on GitHub. |
I mean, emulation on mobile using LightningJIT and that specific DeSmuME version - my bad. |
I don't think we need Lightning JIT for emulation anymore. DeSmuME has it's own JUST engine for ARM now. |
Stupid autocorrect. |
Right, but I haven't seen any mobile emulator using it, let alone getting it working. It's definitely something to revisit. If I had more time in the world, I'd like to (in order): |
I already upgraded TinyXML to TinyXML2 in my fork. |
I have a Nexus 6P, will probably upgrade to a Pixel 2 when it comes out. I might start working on this again. It's mostly a lack of knowledge of OpenGL and DS internals that kept me from continuing. |
The whole OpenGL and DS internals are usually handled by the DeSmuME developers. |
Just chiming in -- I have a lot of other projects and haven't been able to give nds4droid attention (obviously) but like @Tsunamical said I'll accept any PRs and release new versions if we make some progress |
I've got the next few days off if you sync your 0.9.12 branch I'll fork it and try working on it. |
The whole project won't sync or build, and I'm using the normal branch. This didn't happen the last time I was working on this. |
@tangalbert919 Do you have Hangouts or Telegram? |
I'll start with Hangouts, but I will not do any video calling. Or audio calling. |
Yeah, I don't care about audio/video calling either, just somewhere to discuss development rather than on an issue considering every message gives anyone following a notification. |
Ok. I just got Hangouts, so how should I add you? |
Start a conversation with my email: [email protected] Ignore the email name. |
This might not sound like a concern to you, but I cannot compile this project. And before you ask, I DID use Android Studio for this.
Most of these errors involve JIT, which means lots of C++ errors. I did use some fixes from another developer called Tsunamical, which fixed the math-neon problem, and didn't make more problems. I can send the errors when I have the time. What am I supposed to do?
I used Android Studio 2.2.3, Gradle 2.14.3 (I think), and Build Tools 25.0.2 using Android API 18 (Jelly Bean) as the target API. I honestly wish I could do this on Eclipse.
The text was updated successfully, but these errors were encountered: