Author Topic: SETFONT undefined on Linux platform?  (Read 720 times)

Offline r0ber7

  • Prof. Inline
  • *****
  • Posts: 552
    • View Profile
SETFONT undefined on Linux platform?
« 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?

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 352
  • to program what I have todo how should I program?
    • View Profile
Re: SETFONT undefined on Linux platform?
« Reply #1 on: 2021-Apr-28 »
but SETFONT has 2 parameters (SETFONT num% [, scale # = 1]).
Why 3?   SETFONT(int, double, int)

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1784
    • View Profile
Re: SETFONT undefined on Linux platform?
« Reply #2 on: 2021-May-03 »
I think SpaceFractal or Gernot might have added an optional extra flag for something? at some stage.
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4396
    • View Profile
    • FUED
Re: SETFONT undefined on Linux platform?
« Reply #3 on: 2021-May-06 »
I think it was added to go along with that scaling routine. So you can link both.

Offline r0ber7

  • Prof. Inline
  • *****
  • Posts: 552
    • View Profile
Re: SETFONT undefined on Linux platform?
« Reply #4 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