TatriX

Results 106 comments of TatriX

It would be amazing to have a `defcustom` to tweak this behavior.

> Behavior similar to `eval-last-sexp` as default would be awesome. You can try something like this: ```elisp (use-package hy-mode :bind (:map hy-mode-map ("C-c C-c" . my-hy-eval-last-sexp)) :config ;; Don't echo...

I'm trying to build a [ggez](https://github.com/ggez/ggez) based app, which uses `SDL2`. ``` = note: /usr/local/android-ndk-r15b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lSDL2 collect2: error: ld returned 1 exit status Error while executing gcc...

Could you please point me to the docs on how I can do it?

If I have `libSDL2.so` built for android, where should I place it so `ld` could find it?

Ok, I did a custom `build.rs`. `cargo apk build` produced the apk, and I installed it to the device with `adb`. But app crashes with ``` java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/rust.bomber-2/lib/arm/libSDL2.so"...

There are 4 libs like so ``` . ├── arm64-v8a │   └── libSDL2.so ├── armeabi-v7a │   └── libSDL2.so ├── x86 │   └── libSDL2.so └── x86_64 └── libSDL2.so ``` `build.rs` looks...

``` arm64-v8a/libSDL2.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=678e6ed427ba01e71cc6e675ac376b713c387dd7, with debug_info, not stripped armeabi-v7a/libSDL2.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV),...

I linked `arm64-v8a/libSDL2.so` statically, and the next error :) is ``` java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@b091df3 does not exist ```

Hm, probably it's not related. But it still crashes.