AllBASIC

BASIC Developer & Support Resources => Translators => Topic started by: John on September 05, 2013, 09:38:07 pm

Title: QB64 SDL
Post by: John on September 05, 2013, 09:38:07 pm
I was finally able to get QB64 running on my Ubuntu 12.04 64 bit laptop.

(http://files.allbasic.info/QB64/qb64_ide.png)

(http://files.allbasic.info/QB64/qb64_monopoly.png)

(http://files.allbasic.info/QB64/qb64_mandel.png)

Feedback

Code: [Select]
-rwxrwxr-x 1 jrs jrs   715634 Sep  5 21:22 mandelb
-rwxrwxr-x 1 jrs jrs  1119928 Sep  5 21:16 monopoly
-rwxrwxr-x 1 jrs jrs  4062226 Sep  5 20:55 qb64

If I find time I may try to port QB64 to Android native using C4droid's g++ compiler + SDL2. (no promises)
Title: QB64 OpenGL
Post by: John on September 05, 2013, 10:15:42 pm
It seems that the SDL version of QB64 is an older (discontinued) version. The GL version built much cleaner with no errors or warnings. I'm not sure where this leaves me with porting this current version based on OpenGL rather than SDL to Android.

(http://files.allbasic.info/QB64/qb64gl_ide.png)

(http://files.allbasic.info/QB64/qb64gl_sudoku.png)
Title: QB64 Android
Post by: John on September 05, 2013, 11:23:08 pm
I don't think I'm going to put any effort into porting QB64 to Android. I don't think it would be that difficult to get it to compile on Android, I'm unsure of how much work it would take to get the keyboard codes right, mouse support and responding to orientation. The major reason it doesn't make sense to me is the size of the executables it generate. That was the deal breaker for me. I think interpreters have the advantage on Android due to how security works and limited executable directory permissions. With an interpreter, external (sdcard) R/W disk storage is available for application files and sharing data among apps.

I'm looking forward to retry some of the examples the SDL version wouldn't compile and do some benchmarking against BaCon and SB on Ubuntu 64.

Update

Looks like the OpenGL version of QB64 isn't ready for prime time. I was only able to compile 1 of the 10 examples I tried. You would think that the author would try these examples first before creating a build.