Author Topic: FLTK version  (Read 702 times)

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 39
    • View Profile
FLTK version
« on: 13. June 2019, 13:00:57 »
I'm bringing back the old FLTK version!

This is now based on the 1.4 stream, their current development branch. It's working pretty well but I still prefer the SDL version lol.

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 676
    • View Profile
    • Home of EGSL
Re: FLTK version
« Reply #1 on: 13. June 2019, 14:33:28 »
Are there any downloads available, yet?
Best regards,
Cybermonkey

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 39
    • View Profile
Re: FLTK version
« Reply #2 on: 15. June 2019, 09:41:28 »
There are no builds yet. It would be good to make github somehow auto-magically do that for me.

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 676
    • View Profile
    • Home of EGSL
Re: FLTK version
« Reply #3 on: 18. June 2019, 15:44:53 »
Yes, but via the source code? On github the last code update is 6 months ago. Is it already with FLTK support?
Best regards,
Cybermonkey

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 39
    • View Profile
Re: FLTK version
« Reply #4 on: 20. June 2019, 00:49:42 »
The code is currently in a different repository. I'll merge it to the main location soon.

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 39
    • View Profile
Re: FLTK version
« Reply #5 on: 21. June 2019, 23:55:26 »
Okay it's there now.

To build you'll first need to get FLTK 1.4. The easiest way is;

git clone https://github.com/fltk/fltk.git

Then to build the FLTK version of SmallBASIC

./configure --enable-fltk
make -s

It shouldn't take you too long to find some issue, so please let me know how you go

Cheers,
Chris



Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 676
    • View Profile
    • Home of EGSL
Re: FLTK version
« Reply #6 on: 22. June 2019, 19:36:05 »
That worked fine. Although I would recommend to add a
Code: [Select]
-no-pieto the compiler flags for Linux (Ubuntu solely?), so a real executable is compiled. Not all desktop environments let you execute the "LSB shared object".
Compiled without "-no-pie":
Quote
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=3a8544db55e8ddc0bbc212e66345bafb9403aa43
Compiled with "-no-pie":
Quote
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6ce37a2197678fd2b726cc0d2929366ff4f6ec4a, for GNU/Linux 3.2.0
Best regards,
Cybermonkey