DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.22k stars 153 forks source link

22.12 release seems to be missing a directory. #493

Closed magnetophon closed 1 year ago

magnetophon commented 1 year ago

When I try to build it on NixOS, I get:

cd /build/cardinal-22.12/deps/surge-build && \
        env AR=ar CC=gcc CXX=g++ CFLAGS='-Wall -Wextra -pipe -MD -MP -fno-gnu-unique -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -mfpmath=sse -fvisibility=hidden -I/build/cardinal-22.12/include -I/build/cardinal-22.12/include/simd-compat -pthread -std=gnu99  -fno-finite-math-only -fno-strict-aliasing -w' CXXFLAGS='-Wall -Wextra -pipe -MD -MP -fno-gnu-unique -fPIC -DPIC -DNDEBUG -O3 -ffast-math -fdata-sections -ffunction-sections -mtune=generic -msse -msse2 -mfpmath=sse -fvisibility=hidden -I/build/cardinal-22.12/include -I/build/cardinal-22.12/include/simd-compat -pthread -fvisibility-inlines-hidden -fexceptions -DDISTRHO_NAMESPACE=CardinalDISTRHO -DDGL_NAMESPACE=CardinalDGL -DDGL_USE_NANOVG_FBO -fno-finite-math-only -fno-strict-aliasing -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS -DHysteresisProcessing=surgextHysteresisProcessing -DPatch=surgextPatch -DSolverType=surgextSolverType -DTunings=surgextTunings -DWavetable=surgextWavetable -Dclouds=surgextclouds -Dghc=surgextghc -Dplaits=surgextplaits -Dstmlib=surgextstmlib -DJUCE_DSP_ENABLE_SNAP_TO_ZERO=0 -w' LDFLAGS='-fdata-sections -ffunction-sections -Wl,-O1,--as-needed,--gc-sections -Wl,--strip-all  -Wl,--no-undefined -fexceptions' cmake -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX='/build/cardinal-22.12/deps/sysroot' -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release \
        -DSURGE_COMPILE_BLOCK_SIZE=8 \
        -DSURGE_SKIP_AIRWINDOWS=TRUE \
        -DSURGE_SKIP_JUCE_FOR_RACK=TRUE \
        -DSURGE_SKIP_LUA=TRUE \
        -DSURGE_SKIP_ODDSOUND_MTS=TRUE \
        /build/cardinal-22.12/plugins/surgext/surge
env: 'cmake': No such file or directory

I downloaded and unpacked https://github.com/DISTRHO/Cardinal/releases/download/22.12/cardinal+deps-22.12.tar.xz and it indeed does not seem to contain cardinal-22.12/deps/surge-build.

I must be doing something wrong here, otherwise someone else would have noticed this, but I can't figure out what.

falkTX commented 1 year ago

you need to add cmake to your build deps, it is needed in order to build surge stuff

magnetophon commented 1 year ago

Sorry for the slow response; giving it a quick test drive turned into 5 days of modular mayhem... IOW: it works now, and thanks for this extremely cool project! :)