|
Post by bigbass on Sept 19, 2015 22:12:29 GMT 1
Working on something Getting close to getting some GUI bacon apps on Android Geany so far is working on my x86 (Android) Attachment Deleted
|
|
|
Post by bigbass on Sept 19, 2015 23:23:06 GMT 1
Bacon and hug working in Android! This is great news Used hug and clock.bac as a test compiled All on my tablet from inside Android Can't wait to try out more hug GUI stuff The way I understand it is from linux you can't use Xorg and talk to the display so the way around this Is use Xsdl and send the output to it Really cool it took some time to sort it all out but If you don't want to wait for it to compile x86 BaCon and lib basic-converter.proboards.com/attachment/download/1184 cd bacon-3.1.1 wget http://www.basic-converter.org/hug.bac wget http://www.basic-converter.org/clock.bac cat /sdcard/Download/bacon-x86-android/bacon > bacon cat /sdcard/Download/bacon-x86-android/libbacon.a > libbacon.a chmod 755 bacon cp libbacon.a /usr/lib ./bacon clock.bac export DISPLAY=192.168.1.70:0 ./clock
It is easier with export export DISPLAY=192.168.1.70:0 Then just run the program you want Now it's working Joe
|
|
|
Post by alexfish on Sept 20, 2015 1:31:33 GMT 1
Hi Joe & et all Glad to see U got connected......... hope to read on how ... as in more... BR Alex
|
|
|
Post by bigbass on Sept 20, 2015 2:47:03 GMT 1
|
|
|
Post by vovchik on Sept 20, 2015 11:30:16 GMT 1
Dear Joe,
Great pioneering work here!!!! Have to start reading and experimenting. Thanks for pointing us re Android.
With kind regards, vovchik
|
|
|
Post by bigbass on Sept 21, 2015 0:14:53 GMT 1
Attachment DeletedGot xfce4 going a little buggy but a good start That is the BaCon clock.bac running Remember xsdl needs to be running before You run the last command if you want to see the GUI startxfce4 launches xfce Will post all packages installed to save time setting it in Joe 1 apt-get install debian-keyring debian-archive-keyring 2 apt-get update 3 apt-get install debian-keyring debian-archive-keyring 4 apt-get upgrade 5 apt-get install libgtk-3-dev 6 apt-get install libgtk-2-dev 7 wget beta.basic-converter.org/bacon-3.1.1.tar.gz 8 tar xzf bacon-3.1.1.tar.gz 9 cd bacon-3.1.1 10 chmod 755 bacon.sh 11 ./bacon.sh bacon.bac 12 cp libbacon.a /usr/lib 13 cp bacon /usr/bin * Optional if you want xfce4 * apt-get install xfce4 14 wget www.basic-converter.org/hug.bac 15 wget www.basic-converter.org/clock.bac 16 ./bacon clock.bac 18 export DISPLAY=192.168.1.70:0 19 ./clock
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 21, 2015 0:48:35 GMT 1
Peter, Here is an old screen shot of compiling BaCon with my C4Droid / ConnectBOT gcc setup. I have a lot of plates spinning at the moment but I haven't forgotten your request.
|
|
|
Post by bigbass on Sept 23, 2015 16:53:19 GMT 1
For Android arm use these then follow the same steps Setting up Debian as a dev box this allows you to install any package And compile even complex apps on your Android box Easy and powerful uses proot instead of fakeroot Get from the playstore gnuroot to launch imagewheezy image
|
|
|
Post by alexfish on Sept 23, 2015 22:56:47 GMT 1
Hi Joe thanks for the ARM update at this side have got a Sony xperia e2105 , not done much with it at present. need to do some research .. details IE :: Processor info :: MT6582 , mm! lost here.. Andriod Version :: 4.4.4 Kernel Version :: mm! interesting :: 3.4.67 admin.. @ch-ubuntu-.... ------------------------------------------------------------- here looking at Rasberry pi .. Graphics Why.. can read Hereas can see open gl will not work . esp the libs gl area + gl direct.. err to the side of caution .. think most of these devices may be using vg or opengles .. note the ES + read rest of and visit the links on the Raspberry Pi2 thread.. The ES is a bit of a swine to handle as regards events , if one tries to link direct to the Devs .. the device will crash on a second call to the dev as in input reading.. but the direct GPU access is blindinly fast.. not sure what compiler U be using but to speed things up I downloaded TCC . then compiled with the ggc + gcc-libs. use the ./configure -help .. details are on the Raspberry pi thread. can say that it can be as much as 20X faster than gcc esp when using HUG libs Plain code = almost instant result. back to the GLES .. not sure where U will find them if on Ur device but the demos on the links will give a clue cutting short .. I downloaded goo canvas . this works in Hug mode .. Proto = mixed bag so can almost say for certain the hug method of accessing the base libs is the way to go.. further to that the ES .. here use the X11 side of thing to get the feedback as in key-events etc IE if in full screen and if programming the GPU then can pick up the esc key etc, then one can boot out the app hopeful > in a safe. way. here thinking if same as Raspberry all will be good + speedy OpenGLES . if not then Poo..(the ES layer should be on top of the x11 as in a hug gui app) Rather busy at present, hope to update the Raspberry Pi thread sometime next week. + expand a bit further on how to use the gtk/x11 with opengles. If find anything on Ur device that relates to VG or more so >> Open GLES then it may worth pregressing further.. (Nice to here from U as well) BR Alex
|
|
|
Post by bigbass on Oct 11, 2015 22:32:35 GMT 1
Doing a test to see how sane is the x86 atom (dell venue 7 Android 4.4.2) Compiling from inside Android Here I am using an Android tablet with wheezy running inside Android Using proot there are apks you can install to do this without Rooting I want to see if I could build some binaries from source code To improve the x86 atom I compiled xdelta which requires autoconfig Saturday, July 25, 2015 latest version is of xdelta wget github.com/jmacd/xdelta-devel/releases/tag/v3.0.10tar xzf v3.0.10.tar.gz #This creates xdelta-devel-3.0.10 cd xdelta-devel-3.0.10 cd xdelta3 # fix the configure by running autoreconf -fvi ./configure --prefix=/usr #then the normal make here you can copy to or run make install make Here are some Lib's you may need on debian zlib1g-dev lzma lzma-dev liblzma-dev To create a .delta file the developer uses this xdelta3 -e -s old.iso new.iso patch.delta To apply the .delta file (end user does this): xdelta3 -d -s old.iso patch.delta new.iso Here is xdelta3 xdelta-x86-atom.zip (295.99 KB)
|
|
|
Post by bigbass on Nov 3, 2015 7:16:47 GMT 1
|
|
|
Post by bigbass on Nov 3, 2015 17:59:28 GMT 1
How to get the cavas.bac to work
glxinfo | grep OpenGL Error: unable to open display
# we need to start xsdl then set up the display number export DISPLAY=192.168.1.64:2
#try again glxinfo | grep OpenGL Error: couldn't find RGB GLX visual or fbconfig
#after installing libs still needed his one! apt-get install libgl1-mesa-swx11
# try again glxinfo | grep OpenGL OpenGL vendor string: Brian Paul OpenGL renderer string: Mesa X11 OpenGL version string: 2.1 Mesa 8.0.5 OpenGL shading language version string: 1.20 OpenGL extensions:
# now working but just flashes for a second # but this is great progress bacon canvas demos compile and run !
|
|
|
Post by vovchik on Nov 3, 2015 18:01:47 GMT 1
Dear Joe, Great work and great progress:! With kind regards, vovchik
|
|
|
Post by bigbass on Nov 3, 2015 18:19:37 GMT 1
Thanks vovchik
I am Just at step 1 on the tablet Because I want to try your new cool demos for the canvas!
And those by Peter and Alex
But in time this will work on Android Some good news for the future use of bacon
Joe
|
|
|
Post by bigbass on Dec 23, 2017 20:42:34 GMT 1
Well using my android tablet again (Dont have a linux box on hand) Have to play with the resolution of the Xsdl display but good news fltk works! Hey vovchik The demo code you posted It took me awhile to test but there it is Joe
|
|