Author Topic: AGS engine Linux port  (Read 144058 times)

Radiant

  • Mittens Knight
  • AGS Baker
  • Return once more to the Two Kingdoms!
    • I can help with publishing
    • I can help with story design
    • Radiant worked on one or more games that won an AGS Award!
    •  
    • Radiant worked on one or more games that was nominated for an AGS Award!
Re: AGS engine Linux port
« Reply #680 on: 10 Apr 2019, 20:10 »
I'm afraid I hadn't heard of that build before. Where can I find it?

Re: AGS engine Linux port
« Reply #681 on: 10 Apr 2019, 20:42 »
@Radiant:
I'm using toojays' OpenGL implementation here, applied to the 3.4.15 linux sourcetree. You may also want to build a custom Allegro 4.4.3 library to deal with spazzy mouse behaviour. If you're going to distribute this on say, Steam, you'll also want to update the make_ags+libraries script.

blur

    • blur worked on one or more games that won an AGS Award!
    •  
    • blur worked on one or more games that was nominated for an AGS Award!
Re: AGS engine Linux port
« Reply #682 on: 19 Jul 2020, 09:13 »
I get the following error when compiling from git origin/master:
Code: [Select]
Linking engine...
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdumb.a(itrender.o): in function `it_filter':
(.text+0x11f9): undefined reference to `__pow_finite'
/usr/bin/ld: (.text+0x123a): undefined reference to `__exp_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdumb.a(itrender.o): in function `update_effects':
(.text+0x404b): undefined reference to `__pow_finite'
/usr/bin/ld: (.text+0x4079): undefined reference to `__pow_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdumb.a(itrender.o): in function `process_tick':
(.text+0x429c): undefined reference to `__pow_finite'
/usr/bin/ld: (.text+0x42e0): undefined reference to `__pow_finite'
/usr/bin/ld: (.text+0x4386): undefined reference to `__pow_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdumb.a(itrender.o):(.text+0x4c34): more undefined references to `__pow_finite' follow
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdumb.a(readmod.o): in function `dumb_read_mod_quick':
(.text+0x8d1): undefined reference to `__log_finite'
collect2: error: ld returned 1 exit status
make: *** [Makefile:40: ags] Error 1
Please send help.

Re: AGS engine Linux port
« Reply #683 on: 19 Jul 2020, 10:43 »
Does this make any difference?

Code: [Select]
make USE_BUILT_IN_LIBSRC=1

blur

    • blur worked on one or more games that won an AGS Award!
    •  
    • blur worked on one or more games that was nominated for an AGS Award!
Re: AGS engine Linux port
« Reply #684 on: 19 Jul 2020, 12:17 »
Cor blimey! Indeed, this works.
The system's libdumb is 0.9.3 while the libdumb in ags source is 0.9.2.

eri0o

Re: AGS engine Linux port
« Reply #685 on: 19 Jul 2020, 17:13 »
Why are you building from source?

I recommend using the Allegro4 from AGS repositories if the sound is broken.