irixxxx / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
52 stars 24 forks source link

Unable to build on x86_64 Arch Linux #130

Closed freq-mod closed 4 months ago

freq-mod commented 4 months ago
pico/cd/libchdr/src/libchdr_chd.c: In function ‘lzma_codec_init’:
pico/cd/libchdr/src/libchdr_chd.c:582:23: error: ‘CLzmaEncProps’ {aka ‘struct _CLzmaEncProps’} has no member named ‘reduceSize’; did you mean ‘dictSize’?
  582 |         encoder_props.reduceSize = hunkbytes;
      |                       ^~~~~~~~~~
      |                       dictSize
make: *** [Makefile:420: pico/cd/libchdr/src/libchdr_chd.o] Error 1
make: *** Waiting for unfinished jobs....

release_testing branch, fyi

DrUm78 commented 4 months ago

@freq-mod git submodule update before compiling should fix it.

irixxxx commented 4 months ago

As @DrUm78 already said, please try updating the submodules. I'm regularly compiling under linux and I don't think Arch is very special in that respect.

freq-mod commented 4 months ago

it didn't help, still errors out at encoder_props.reduceSize

freq-mod commented 4 months ago

Ok, disregard that, removing the directory and compiling once again worked.