XProger / OpenLara

Classic Tomb Raider open-source engine
http://xproger.info/projects/OpenLara/
BSD 2-Clause "Simplified" License
4.64k stars 360 forks source link

Compile error with -DNO_SOUND flag #398

Closed arczi84 closed 2 years ago

arczi84 commented 2 years ago

Hi, I want to compile without sound but I get this errors: Of course XA is defined with DECODE_XA which is enabled only with sound ON.

In file included from ../../core.h:814:0,
                 from ../../game.h:4,
                 from main.cpp:5:
../../video.h:796:16: error: 'XA' in namespace 'Sound' does not name a type
         Sound::XA *audioDecoder;
                ^~

Same with -DNO_VIDEO

arczi84 commented 2 years ago

Any hint how to make no audio version work?