Stubs42 / OrangeLine

OrangeLine VCV Plugin
GNU General Public License v3.0
15 stars 7 forks source link

Debian 11, Rack 2.1.1 : compilation failed : ‘struct rack::engine::ParamQuantity’ has no member named ‘label’ #20

Closed zebulon-1st closed 1 year ago

zebulon-1st commented 2 years ago

System : Debian GNU/Linux 11 (bullseye) $ uname -a : Linux debian-1 5.10.0-14-amd64 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux

g++ -std=c++11 -Wsuggest-override  -I./src -fPIC -I../../include -I../../dep/include -fno-gnu-unique -MMD -MP -g -O3 -march=nehalem -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_LIN  -c -o build/src/Swing.cpp.o src/Swing.cpp
In file included from src/Fence.hpp:21,
                 from src/Fence.cpp:25:
src/Fence.cpp: In member function ‘void Fence::moduleReflectChanges()’:
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:744:8: note: in expansion of macro ‘reConfigParam’
  744 |        reConfigParam ( LOW_PARAM,   LOW_MIN_RAW,    LOW_MAX_RAW,    DEFAULT_LOW_RAW, "Lower Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:745:8: note: in expansion of macro ‘reConfigParam’
  745 |        reConfigParam (HIGH_PARAM,  HIGH_MIN_RAW,   HIGH_MAX_RAW,   DEFAULT_HIGH_RAW, "Upper Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:746:8: note: in expansion of macro ‘reConfigParam’
  746 |        reConfigParam (STEP_PARAM,  STEP_MIN_RAW,   STEP_MAX_RAW,   DEFAULT_STEP_RAW, "Step");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:749:8: note: in expansion of macro ‘reConfigParam’
  749 |        reConfigParam ( LOW_PARAM,   LOW_MIN_QTZ,    LOW_MAX_QTZ,    DEFAULT_LOW_QTZ, "Lower Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:750:8: note: in expansion of macro ‘reConfigParam’
  750 |        reConfigParam (HIGH_PARAM,  HIGH_MIN_QTZ,   HIGH_MAX_QTZ,   DEFAULT_HIGH_QTZ, "Upper Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:751:8: note: in expansion of macro ‘reConfigParam’
  751 |        reConfigParam (STEP_PARAM,  STEP_MIN_QTZ,   STEP_MAX_QTZ,   DEFAULT_STEP_QTZ, "Step");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:754:8: note: in expansion of macro ‘reConfigParam’
  754 |        reConfigParam ( LOW_PARAM,  LOW_MIN_SHPR,   LOW_MAX_SHPR,   DEFAULT_LOW_SHPR, "Lower Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:755:8: note: in expansion of macro ‘reConfigParam’
  755 |        reConfigParam (HIGH_PARAM, HIGH_MIN_SHPR,  HIGH_MAX_SHPR,  DEFAULT_HIGH_SHPR, "Upper Bound");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:756:8: note: in expansion of macro ‘reConfigParam’
  756 |        reConfigParam (STEP_PARAM, STEP_MIN_SHPR,  STEP_MAX_SHPR,  DEFAULT_STEP_SHPR, "Step");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:773:8: note: in expansion of macro ‘reConfigParam’
  773 |        reConfigParam ( LOW_PARAM,           0.f,    LOW_MAX_RAW,    DEFAULT_LOW_RAW, "Spread");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:774:8: note: in expansion of macro ‘reConfigParam’
  774 |        reConfigParam (HIGH_PARAM,  HIGH_MIN_RAW,   HIGH_MAX_RAW,                0.f, "Center");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:775:8: note: in expansion of macro ‘reConfigParam’
  775 |        reConfigParam (STEP_PARAM,  STEP_MIN_RAW,   STEP_MAX_RAW,   DEFAULT_STEP_RAW, "Step");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:778:8: note: in expansion of macro ‘reConfigParam’
  778 |        reConfigParam ( LOW_PARAM,           0.f,    LOW_MAX_QTZ,    DEFAULT_LOW_QTZ, "Spread");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:779:8: note: in expansion of macro ‘reConfigParam’
  779 |        reConfigParam (HIGH_PARAM,  HIGH_MIN_QTZ,   HIGH_MAX_QTZ,  float(1 / 12) / 2, "Center");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:780:8: note: in expansion of macro ‘reConfigParam’
  780 |        reConfigParam (STEP_PARAM,  STEP_MIN_QTZ,   STEP_MAX_QTZ,   DEFAULT_STEP_QTZ, "Step");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:783:8: note: in expansion of macro ‘reConfigParam’
  783 |        reConfigParam ( LOW_PARAM,           0.f,   LOW_MAX_SHPR,       LOW_MAX_SHPR, "Spread");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:784:8: note: in expansion of macro ‘reConfigParam’
  784 |        reConfigParam (HIGH_PARAM, HIGH_MIN_SHPR,  HIGH_MAX_SHPR,                0.f, "Center");
      |        ^~~~~~~~~~~~~
src/OrangeLine.hpp:134:6: error: ‘struct rack::engine::ParamQuantity’ has no member named ‘label’
  134 |  pq->label = pLabel; \
      |      ^~~~~
src/Fence.cpp:785:8: note: in expansion of macro ‘reConfigParam’
  785 |        reConfigParam (STEP_PARAM, STEP_MIN_SHPR,  STEP_MAX_SHPR,  DEFAULT_STEP_SHPR, "Step");
      |        ^~~~~~~~~~~~~
make: *** [../../compile.mk:72 : build/src/Fence.cpp.o] Erreur 1

Best regards.

Stubs42 commented 1 year ago

Assume you checked out branch master. You have to checkout branch 2.0.