Author Topic: QB64 SDL  (Read 8655 times)

Offline John

  • Forum Support / SB Dev
  • Posts: 3598
    • ScriptBasic Open Source Project
QB64 SDL
« on: September 05, 2013, 09:38:07 PM »
I was finally able to get QB64 running on my Ubuntu 12.04 64 bit laptop.







Feedback

  • Seems to be a lot of warnings building QB64 and compiling the samples. The author indicates one should just ignore them.
  • File sizes are a bit large.
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
  • I was able to compile one out of two examples I tried.  :-\

If I find time I may try to port QB64 to Android native using C4droid's g++ compiler + SDL2. (no promises)
« Last Edit: September 05, 2013, 10:16:03 PM by JRS »

Offline John

  • Forum Support / SB Dev
  • Posts: 3598
    • ScriptBasic Open Source Project
QB64 OpenGL
« Reply #1 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.




Offline John

  • Forum Support / SB Dev
  • Posts: 3598
    • ScriptBasic Open Source Project
QB64 Android
« Reply #2 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.

« Last Edit: September 05, 2013, 11:51:28 PM by JRS »