GLBasic forum

Main forum => GLBasic - en => Topic started by: r0ber7 on 2021-Apr-28

Title: SETFONT undefined on Linux platform?
Post by: r0ber7 on 2021-Apr-28
Hi,

I'm running the latest Steam version. But somehow I still had to install Linux platform manually. When I do and try to compile some code with SETFONT in it, I get this during the linking:

: undefined reference to `__GLBASIC__::SETFONT(int, double, int)'

What's up with that?
Title: Re: SETFONT undefined on Linux platform?
Post by: Qedo on 2021-Apr-28
but SETFONT has 2 parameters (SETFONT num% [, scale # = 1]).
Why 3?   SETFONT(int, double, int)
Title: Re: SETFONT undefined on Linux platform?
Post by: MrPlow on 2021-May-03
I think SpaceFractal or Gernot might have added an optional extra flag for something? at some stage.
Title: Re: SETFONT undefined on Linux platform?
Post by: erico on 2021-May-06
I think it was added to go along with that scaling routine. So you can link both.
Title: Re: SETFONT undefined on Linux platform?
Post by: r0ber7 on 2021-May-09
I do not think I am using this extra parameter, that's just what the linker throws back. Still unsure why this should crash for a Linux build, am I maybe using the wrong platform files? I could not find a Linux platform in the v16 directory.  O_O