Stazed / non-mixer-xt

Reboot of Non Mixer with eXTended LV2 support, CLAP, VST(2) and VST3 support.
GNU General Public License v2.0
27 stars 6 forks source link

'GAIN_LABEL' was not declared #44

Closed suedwestlicht closed 1 month ago

suedwestlicht commented 1 month ago

When I try to build a recent version from Git I get in main:

[ 46%] Building CXX object mixer/CMakeFiles/non-mixer-xt.dir/src/Meter_Indicator_Module.C.o
[ 47%] Building CXX object mixer/CMakeFiles/non-mixer-xt.dir/src/Meter_Module.C.o
[ 48%] Building CXX object mixer/CMakeFiles/non-mixer-xt.dir/src/Mixer.C.o
[ 49%] Building CXX object mixer/CMakeFiles/non-mixer-xt.dir/src/Mixer_Strip.C.o
/tmp/non-mixer-xt/non-mixer-xt/mixer/src/Mixer_Strip.C: In member function 'void Mixer_Strip::init()':
/tmp/non-mixer-xt/non-mixer-xt/mixer/src/Mixer_Strip.C:732:34: error: 'GAIN_LABEL' was not declared in this scope
  732 |                         o->label(GAIN_LABEL);
      |                                  ^~~~~~~~~~
/tmp/non-mixer-xt/non-mixer-xt/mixer/src/Mixer_Strip.C:742:34: error: 'METER_LABEL' was not declared in this scope
  742 |                         o->label(METER_LABEL);
      |                                  ^~~~~~~~~~~
make[2]: *** [mixer/CMakeFiles/non-mixer-xt.dir/build.make:790: mixer/CMakeFiles/non-mixer-xt.dir/src/Mixer_Strip.C.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:183: mixer/CMakeFiles/non-mixer-xt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Stazed commented 1 month ago

You need to update the submodule:

git submodule update --init

You might also need to run:

make clean

if the build directory is not new.

suedwestlicht commented 1 month ago

Thx, it works now. Saving/restoring the window size is a great feature.