Giter Club home page Giter Club logo

apkenv's People

Contributors

art-o avatar coderus avatar krnlyng avatar notaz avatar raimue avatar thp avatar vakkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apkenv's Issues

Thumb hooks not compatible with armv6

-e CC (TH) debug/wrappers/wrapper_code_thumb.o
/tmp/ccQR3dE2.s: Assembler messages:
/tmp/ccQR3dE2.s:25: Error: invalid register list to push/pop instruction -- push {r0-r11,lr}' /tmp/ccQR3dE2.s:26: Error: selected processor does not support Thumb modeldrd r0,fun'
/tmp/ccQR3dE2.s:28: Error: selected processor does not support Thumb mode ldrd r1,name' /tmp/ccQR3dE2.s:29: Error: selected processor does not support Thumb modeldrd r2,str'
/tmp/ccQR3dE2.s:30: Error: selected processor does not support Thumb mode ldrd r4,tc' /tmp/ccQR3dE2.s:32: Error: invalid register list to push/pop instruction --pop {r0-r11,lr}'
/tmp/ccQR3dE2.s:40: Error: lo register required -- `ldr pc,fun'
make: *** [debug/wrappers/wrapper_code_thumb.o] Error 1

feof broken on harmattan

feof is defined as a macro in bionic, the FILE struct in harmattan differs from the one in bionic causing feof to be broken.

Compilation fails on RPi 3

In case this is still alive, the compilation fails on the RPi 3, similar to this issue with:

In file included from compat/gles2_wrappers.c:4:0:
/opt/vc/include/GLES2/gl2.h:49:26: error: two or more data types in declaration specifiers
/opt/vc/include/GLES2/gl2.h:49:1: warning: useless type name in empty declaration [enabled by default]

If I use @krnlyng 's RPi2 branch, the compilation gets almost finished, failing at:

libEGL.so undefined reference to "XCreateImage"

and 4 other similar libEGL errors just with different references.

Not working with apps using only the Dalvik VM

Hi. I've been analyzing your source code as I found strange that even very simple Acivity/layout application don't work on apkenv.

So the problem, as I see it, is that your are trying to find a shared library with apk_get_shared_library, but there is none. If I understand correctly this function checks the apk as a zip for "lib/armeab" folder. But my app doesn't contain even the lib folder. It just doesn't use any except those built into Android.

For me it seems that apkenv returns a wrong message. Or maybe even there would be a way to run much larger set of apk just by omitting trying to load the libraries?

Hello world app:
http://m.enux.pl/_native/hello/HelloAndroid.zip

The app built with Netbeans:
http://m.enux.pl/_native/hello/HelloAndroid-debug.apk
http://m.enux.pl/_native/hello/HelloAndroid-debug-unaligned.apk

Raspberry pi egl fails

Is it possible to get a platform file for the raspberry pi, i have managed to get libsdl-gles to compile and install, if it works is another matter..

Since there wasn't a platform file and the n9xx code wouldn't compile (references to sdl1.3 ?) i tryed pandora=1
Currently getting a egl surface on screen but the program kicks out the following
http://i.imgur.com/C1qEb1D.png

Build fails on maemo-leste / droid 4

user@ml1:/big/src/apkenv$ make
makefile:33: Using SDL 1.2 libraries
CC compat/gles2_wrappers.o
: error: two or more data types in declaration specifiers
make: *** [makefile:89: compat/gles2_wrappers.o] Error 1

Unfortunately make isn't giving me the line of gles2_wrappers.c that it doesn't like.
The structs end with semicolons, so that's correct. Idk what else could be the problem.

Touch input does not work

I compiled apkenv on my Allwinner A10 linux device (using pandora for platform and maemo for gles). I maked some changes in imagelib and headers to fix compile errors (it does not build with actual libpng, zlib, libjpeg versions) It is working on my device, but running games does not respond to any touch events.
I added some tracing calls (printf("native input %d %d %d %d\n",event,x,y,finger); before native input call).
Input events are sent:
native input 1 435 241 0
x,y are true.
What is wrong?
Only trg2 responds to touch events.
O.K the problem was in hardfp (SOFTFP disabled on pandora).

Add audio API

I think, it would be better to move all SDL sound code from support modules to apkenv binary. Then will be possible move support modules between platforms without recompile it to different SDL versions. As for evdev and joystick code.

accelerometer on SailfishOS

On SailfishOS accelerometer reading is not working due to SDL_JoystickOpen(0) returning NULL with SDL error: "There are 0 joysticks available"

Compile error on Raspberry Pi 2

I am getting this error compiling apkenv on Raspberry Pi 2:

...
-e CC linker/strlcpy.o
-e CC linker/dlfcn.o
-e CC compat/gles2_wrappers.o
In file included from compat/gles2_wrappers.c:4:0:
/opt/vc/include/GLES2/gl2.h:49:26: error: two or more data types in declaration specifiers
/opt/vc/include/GLES2/gl2.h:49:1: warning: useless type name in empty declaration [enabled by default]
makefile:84: recipe for target 'compat/gles2_wrappers.o' failed
make: *** [compat/gles2_wrappers.o] Error 1

Any ideas ?

Cannot compile on x86_64

linker/dlfcn.c:267:17: error: initializer element is not constant
linker/dlfcn.c:267:17: note: (near initialization for ‘apkenv_libdl_symtab[6].st_value’)

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.