lzhiyong / termux-sdl Goto Github PK
View Code? Open in Web Editor NEWtermux sdl plugin
License: Apache License 2.0
termux sdl plugin
License: Apache License 2.0
So, I have gone through the install process on Termux, built the example as described in the reader, but get the following error when I do the "make run " step.
I'd appreciate it if you would be kind enough to tell me what I have done wrong if it is an obvious error on my part.
Thanks!
~/.../draw2/build $ ls CMakeCache.txt Makefile libdraw2.so CMakeFiles cmake_install.cmake ~/.../draw2/build $ make run [ 66%] Built target draw2 grep: warning: stray \ before - [100%] start running SDL2 program draw2 Starting: Intent { cmp=com.termux.sdl/.TermuxSDLActivity (has extras) } Error type 3 Error: Activity class {com.termux.sdl/com.termux.sdl.TermuxSDLActivity} does not exist. make[3]: *** [CMakeFiles/run.dir/build.make:71: CMakeFiles/run] Error 2 make[2]: *** [CMakeFiles/Makefile2:110: CMakeFiles/run.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/run.dir/rule] Error 2 make: *** [Makefile:137: run] Error 2
ok , so i want to use sdl2 ta draw some graphics , anything would do even a simple red rectangle.
i guess you can do that with C++ and sdl right ? so what exactly do i need to do ?
like what apps do i need to install to see the graphical output ? and just tell me every steps
安卓9, MIUI11.0.6安装app-release_sign.apk失败
Add a 32 bits version
how to use it on proot-distro virtualized environment?
This is a great work.
I haven't yet gotten any examples to run.
When I launch termux-sdl I see a rapidly spinning cube.
If I then do make run
in draw2/build or drawchessboard/build or showimage/build, I see a slowly spinning cube regardless which example I ran.
If I close termux-sdl, and then do make run
, it opens the app and immediately closes. If I return to termux-sdl manually from the app switcher, it immediately closes again. If I relaunch it from the home screen manually, I see a rapidly spinning cube.
If I do make run
in native/plasma/build and termux-sdl is already running, I see a slowly spinning cube. If I close termux-sdl and try again, I see an empty window with the title "termux-native". There is no content to the window and no menu to view a log. I get the same empty window for vulkan/build and colors/build.
Those are all the examples I've tried so far.
I'm just on an android phone right now, so I don't have a logcat or anything, I'm sorry. The phone is a BBB100-1 running Android 8.1.0 and kernel 3.18.71-perf-gc7467a0 aarch64.
well... read the title like a light novel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.