|
Post by vovchik on Dec 23, 2017 22:48:12 GMT 1
Dear Joe, Congrats on getting fltk going. I have to free up heaps of space on a tablet in order to try that out. I'll do that, but ofter xmas, I tink. It's really nie that you got flk to work. It means my scrabble ad other games would also work on android. Wioth kind regards and happy holidays, vovchik
|
|
|
Post by bigbass on Dec 24, 2017 0:26:59 GMT 1
Hey vovchik back on linux mint
It is good to know android will let you get linux running but it is awkward because of the extra steps just to write some simple widgets and compile them the speed is slow because of the many hoops you have to jump to get a display in xsdl but command line stuff is fine
I know that you and Alex are working on another display ?? is it possible to run on an android tablet if so I would test anything or no chance just the rpi
Joe
|
|
|
Post by alexfish on Dec 24, 2017 3:05:40 GMT 1
Hi Joe
In theory if The Device has EGL as the graphics driver then yes that will be possible. but here looking at the mouse /devs/input/ path & keyboard /devs/input/path this is what is in the mouse bits on RPI .. on where by RPI the mouse has a Handle. but path to /dev/input/ will do for starters.. or similar.
mouse_event = Exec("cat /proc/bus/input/devices | grep 'mouse0'") mouse_event = "/dev/input/" + Mid(mouse_event,Instr(mouse_event,"event")-1) Trim(mouse_event," \t"," \t\n")dnl fd = open(Cstring(mouse_event),O_RDONLY|O_NONBLOCK); If can find the where they are + where the EGL is ...
IE on the RPI
the graphics side of EGL are in the /opt/vc .. | this path is needed for the LDFLAGS
BR Alex
PS No one knows , including Vovchik how the openvg widgets work as yet.. + I will be looking at how the EGL is inited & de-inited . IE on RPI it is in the bcm_host.h .. that be the server side of the Client to U the host
|
|
|
Post by bigbass on Dec 24, 2017 3:55:18 GMT 1
Hey Alex looks like I got the right chip and after reading just a little seems like a big can of worms I opened but anyway if there is some way I could test demo code I would I will have to see what you are doing and if there is a possibility or not and investigate sounds interesting anyway www.notebookcheck.net/Imagination-PowerVR-G6400.123400.0.htmlfrom what I see there Among others, the GPU supports OpenGL 3.x/4.x, OpenGL ES 3.0 as well as DirectX 10. Specifications Dell Venue™ 7 Technical specification Display 7.0 inch IPS Display with HD (WXGA 1280 x 800) resolution with capacitive multi - touch Processor Intel® Atom™ processor Z3460 (up to 1.6GHz Dual - Core) Operating System Android ™ 4.4, KitKat® OS graphics Intel® HD Graphics ( Imagination PowerVR G6400
|
|
|
Post by Pjot on Sept 2, 2019 21:49:22 GMT 1
All, In Android there is the TermUX app which can compile and run BaCon without too much work. Just install the app on your phone or tablet, then login the shell and install the C compiler: # apt install build-essential
Then use the 'configure' script as mentioned in the README.1ST: # CXXFLAGS="-x c++" ./configure --prefix=`pwd`/../../usr
After the 'make install' all works. See attached screenshots. BR Peter
|
|
|
Post by bigbass on Oct 24, 2019 3:50:59 GMT 1
My android 7 phone running bacon Beta fom the latest fossil Using termux Installed wget then downloaded Directly from the fossil web page Now I need to use my reading glasses With this micro font But wanted to tell you that it does compile and run And a screen shot Joe
|
|
|
Post by thetraveler on Dec 4, 2019 20:52:21 GMT 1
Hello and greetings to everyone, first post in this forum for me. Sorry to start off with a small problem ..
Compiling 3.9.3 on a Samsung SM-T580 tablet using Android 8.1.0 with Termux (11/24/19 update) and clang v 9.0.0 Target: arm-unknown-linux-android Thread model: posix
Running configure with the additional flags from above, all dependencies are satisfied. Everything moves right along until this error:
bacon.getpeer.c:3.5: error: no matching function for call to 'getpeername' if (getpeername (remote, (struct sockaddr *) peer, &length) < 0) { if (_b2c_trap) { ERROR = 16: RUNTIMEFERR("GETPEERS", ERROR, k, 1); } else strncpy (_b2c_sbuffer[idx], "Peer not found", 512); }
/data/data/com.termux/files/usr/include/sys/socket.h:309: 18: note: candidate function not viable: no known c_socketcall int getpeername(int_fd, struct sockaddr* _addr, socklen_t* addr_length);
I think this is a library incompatibility, but I don't have much experience with termux and clang yet so I'm posting here for your expertise. I've
compiled 3.9.3 on Raspberry Pi 3B and B+ ARMv8 64 models without any issues using gcc 8.3.0 and on Ubuntu with gcc 8.3.0 for Intel. I don't have a copy of 3.9.2 so I can't try a compile for it.
All said and done, I'm looking forward to being part of the community!
Cheer and thanks.
|
|
|
Post by Pjot on Dec 5, 2019 19:59:35 GMT 1
Hi thetraveler, The C function ' getpeername()' is not very special and part of POSIX since 2001. One would expect it works. From your post I understand that compiling in TermUX on 64bit platforms work, but compiling on plain ARM (32bit) doesn't. Verifying 3.9.3 on my Samsung S3 SM-T820 all works, but this is a 64bit environment also. So unfortunately, I cannot reproduce your error. Sorry that I am not of much help, but as I cannot reproduce your error, it is impossible for me to troubleshoot this further... Maybe you can ask the TermUX support forums for more information? Best regards Peter
|
|
|
Post by thetraveler on Dec 5, 2019 20:56:18 GMT 1
Hello Peter and thank you for the response.
I understand it's nigh on impossible to troubleshoot a problem if one can't reproduce it.
I'll put some more time into getting more familiar with the Termux environment and see if I can work out the problem. We may have a misunderstanding as all platforms I'm working on are 64-bit so perhaps I can check some library versions or etc between
them. If I find the issue I'll post it for others who may encounter the same problem.
Anyway, it will give me some brain work to do while winter blows by outside.
Cheers and thanks again.
Jeff
|
|