The NDK r11 that was just released.
release notes state: Removed ndk-gdb in favor of ndk-gdb.py
However there doesn't appear to be any gdb tools anywhere in the r11 NDK package. What am I missing. Is this now a separate tool that has to be tied in some how? Was it a gross oversight by the NDK gods? I peaked at my old ndk r10e and there is indeed both ndk-gdb and ndk-gdb.py so I know the python script at least existed there. Are these items I can port over from my R10e version. I know the ndk-gdb script was always breaking on me with some periodic tweaks needed. I've never used the python script so I guess really my question is two fold.
Where do I get/install/configure ndk-gdb.py and how do I use it. Is it vastly different than the old ndk-gdb shell script.
Any insight or help is greatly appreciated.
Update to the latest NDK r11b release, a bug related to ndk-gdb.py was fixed in that version: https://github.com/android-ndk/ndk/issues/3
I'm not totally sure about ndk-gdb vs ndk-gdb.py, but if you look in <NDK>/prebuilt/darwin-x86_64/bin (or replace darwin-x86_64 with your platform's name), you'll find ndk-gdb and some other tools (ndk-depends and ndk-stack). I haven't tried using them myself though, so I don't know if their behaviour has changed compared to r10e.
Related
I've build a complete empty Project and I got this error:
e: This version (1.0.0-alpha13) of the Compose Compiler requires Kotlin version 1.4.30 but you appear to be using Kotlin version 1.4.32 which is not known to be compatible. Please fix your configuration (or suppressKotlinVersionCompatibilityCheck but don't say I didn't warn you!).
What can I do? (Sorry for this dumb question, but I'm complete new to Kotlin)
Thanks, Boothosh
You can go to Plugins in the IDE settings and uninstall the Kotlin one there, and do Install From Disk (under the gear icon) and use one of these: https://plugins.jetbrains.com/plugin/6954-kotlin/versions - you'd probably need to update your gradle files too (I haven't done any of this before so I can't tell you if it works or if you'll run into problems)
Why not just use a newer version of Compose though? They're up to beta 6 now - I can't even see an alpha 13 listed! Seems like a better idea all round, unless there's a really specific reason you need that version you're using?
I'm starting a drone project based on Ardupilot and trying to build Ardupilot project using Qt Creator, following this instructions . I'm working with Ubuntu, BTW.
You've probably find this stupid (cause it probably is), but I'm not able to set up the compiler (in spite of having the instructions):
As suggested, I downloaded the compiler from here, and tried to follow the instructions but after choosing a custom compiler in 'Build & Run', the 'Make path' is driving me crazy and I have no idea of which path is that (in other words, the equivalent to the file 'make.exe' in Windows, see the image attached), since there doesn't seem to be anything similar in the compiler folder and it doesn't seem to refer to the Makefile of the project.
Hope anyone can help me, as you've surely noticed, I'm pretty new to big, real projects and also to Linux itself.
Thanks in advance,
Eduardo
PD:
Instructions provided (both Windows & Linux):
Linux: Which one is the 'Make path'?
The build directory should point to ardupilot/ArduCopter if you are building for Copter
In the example it was pointing to ardupilot
Compiler path: /opt/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc
The make file path: /usr/bin/make
First. What version of qt? If it's 5.7 then the 2015 toolkit won't work. If you're new to Linux then you should definitely stay with a prior version of qt 5.7 until someone has compiled a new toolkit that supports a c++11 compiler.
You don't have enough info on what you're doing to give a good answer though.
What do you need the program to do? If it's Qt3d on Arm then you have a big problem only 5.7 will do.
Hope this helps.
I output a lot of information by way of Debug.WriteLine() when programming in Xamarin.iOS. But with the latest version of Xamarin Studio (4.0.10 (build 7)) there is now a ton of whitespace and duplicate output text when I use Debug.WriteLine().
Is there a way that I can suppress all this extra output, or at least have a little more control over it? Using Console.WriteLine() solves the problem, but I would prefer to use Debug.WriteLine() so that it is removed from the release build.
Might be a little late, but I had already logged a bug for this - still unresolved.
https://bugzilla.xamarin.com/show_bug.cgi?id=13538
The title of the question sums it up pretty well. I've downloaded the source for firefox 3.6 and built it (no errors), but when I try to run it, I get a warning that says:
(firefox-bin:2857): GLib-WARNING **: g_set_prgname() called multiple times
I'm not sure what to try now. Any suggestions? Or even a better place to ask this question?
*EDIT - It's not that I only get a warning, that wouldn't bother me. The problem is that the warning is the only thing that ever happens (no firefox windows show up or anything). When I run it from the terminal, that warning shows up twice and then nothing else happens (it just hangs and I have to Ctrl-C it).
Bug in Glib introduced while trying to fix https://bugzilla.gnome.org/show_bug.cgi?id=563627 and, as discussed in that bug, later backed out because of the issue you're seeing. The warning will go away once you get a newer version of Glib.
Quick comments:
It's a warning, not an error. This is not a problem but looks like the library wanted to be used differently. So why worry?
Why did you build it from source? If you want newer packages, I usuaully start with Debian sources and turn those into local packages -- as this incorporates whatever the package maintainers deemed worthy and will be closer to the package you will get at the next Ubuntu upgrade.
I'm having problems understanding how to get an assembly file to run
inside the ZX Spin emulator using the built-in assembler. I'm able to assemble my program but it seems to crash each time I attempt to run the assembled object code.
I cannot find any documentation on how this is meant to be set to run.
The message I get with version is v0.7:
Access violation at address 0060470C in module 'ZXSpin.exe'. Write of address 05603622"
Any help on getting this working with the most simple of assembly files would be great.
I had that error too with both 0.7 and 0.66 version, but I've found a solution.
Get to Tools/Options/System and change "When no longer active application" to "Keep running with sound"
I'm using version 0.666. Try to set a conditional breakpoint.
I found that version 0.7 had a bug in the assembler as that part was no longer being maintained and subsequently had been broken between releases.
I tried the previous version and it worked correctly (so I made a wonderful dot). Thanks to anyone who helped out with this. Can't recall the forum where I was provided with that info, but thanks :)