Skip to content

[BUG] Chow Kick uses a faulty version of chowdsp_utils #52

@BrendanMesters

Description

@BrendanMesters

Describe the bug
When building the project from source, as described in the README you get a cmake error:

  360 |         position.y += r.h;```

**To Reproduce**
Steps to reproduce the behavior:
1. Download the ChowKick git project
2. Install prerequisits
3. Run `cmake -Bbuild`
4. run `cmake --build build --config Release`

**Expected behavior**
I would expect ChowKick to install itself correctly

**Terminal Output**

(main)$ cmake --build build --config Release
[ 11%] Built target BinaryData
[ 13%] Built target clap_juce_extensions
[ 15%] Built target oddsound-mts
[ 17%] Building CXX object modules/CMakeFiles/juce_plugin_modules.dir/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp.o
[ 18%] Building CXX object modules/CMakeFiles/juce_plugin_modules.dir/foleys_gui_magic/foleys_gui_magic.cpp.o
[ 19%] Building CXX object modules/CMakeFiles/juce_plugin_modules.dir/chowdsp_utils/modules/dsp/chowdsp_filters/chowdsp_filters.cpp.o
In file included from $PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/chowdsp_core.h:80,
from $PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/dsp/chowdsp_filters/chowdsp_filters.h:23,
from $PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/dsp/chowdsp_filters/chowdsp_filters.cpp:1:
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h: In member function ‘constexpr chowdsp::Rectangle chowdsp::Rectangle::removeFromTop(T)’:
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h:360:25: error: ‘const struct chowdsp::Rectangle’ has no member named ‘h’ [-Wtemplate-body]
360 | position.y += r.h;
| ^
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h:361:21: error: ‘const struct chowdsp::Rectangle’ has no member named ‘h’ [-Wtemplate-body]
361 | height -= r.h;
| ^
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h: In member function ‘constexpr chowdsp::Rectangle chowdsp::Rectangle::removeFromLeft(T)’:
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h:368:25: error: ‘const struct chowdsp::Rectangle’ has no member named ‘w’ [-Wtemplate-body]
368 | position.x += r.w;
| ^
$PACKAGE_PATH/ChowKick/modules/chowdsp_utils/modules/common/chowdsp_core/DataStructures/chowdsp_GraphicsHelpers.h:369:20: error: ‘const struct chowdsp::Rectangle’ has no member named ‘w’ [-Wtemplate-body]
369 | width -= r.w;
| ^
gmake[2]: *** [modules/CMakeFiles/juce_plugin_modules.dir/build.make:275: modules/CMakeFiles/juce_plugin_modules.dir/chowdsp_utils/modules/dsp/chowdsp_filters/chowdsp_filters.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:710: modules/CMakeFiles/juce_plugin_modules.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2



**Desktop (please complete the following information):**
 - OS: Fedora 42 (KDE Plasma)
 - DAW: NOT APPLICABLE
 - Current main branch

**Additional context**
not applicable

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions