Author Topic: FLTK version  (Read 2265 times)

chrisws

  • Guest
FLTK version
« on: June 13, 2019, 11:00:57 AM »
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
  • *****
  • Posts: 0
Re: FLTK version
« Reply #1 on: June 13, 2019, 12:33:28 PM »
Are there any downloads available, yet?

chrisws

  • Guest
Re: FLTK version
« Reply #2 on: June 15, 2019, 07:41:28 AM »
There are no builds yet. It would be good to make github somehow auto-magically do that for me.

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: FLTK version
« Reply #3 on: June 18, 2019, 01:44:53 PM »
Yes, but via the source code? On github the last code update is 6 months ago. Is it already with FLTK support?

chrisws

  • Guest
Re: FLTK version
« Reply #4 on: June 19, 2019, 10:49:42 PM »
The code is currently in a different repository. I'll merge it to the main location soon.

chrisws

  • Guest
Re: FLTK version
« Reply #5 on: June 21, 2019, 09:55:26 PM »
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
  • *****
  • Posts: 0
Re: FLTK version
« Reply #6 on: June 22, 2019, 05:36:05 PM »
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