cmajor-lang / cmajor

The Cmajor public repository
https://cmajor.dev
Other
549 stars 33 forks source link

Compilation errors #4

Closed sletz closed 1 year ago

sletz commented 1 year ago

With current cmajor/choc includes:

/usr/local/include/cmajor/API/cmaj_Engine.h:291:20: error: no matching member function for call to 'serialise'
    auto s = value.serialise();
             ~~~~~~^~~~~~~~~
/usr/local/include/cmajor/API/../../choc/audio/../containers/choc_Value.h:2320:17: note: candidate function template not viable: requires single argument 'output', but no arguments were provided
void ValueView::serialise (OutputStream& output) const
                ^
In file included from cmajor-faust-player.cpp:29:
In file included from /usr/local/include/faust/dsp/cmajorpatch-dsp.h:36:
/usr/local/include/cmajor/API/cmaj_Engine.h:291:20: error: no matching member function for call to 'serialise'
    auto s = value.serialise();
             ~~~~~~^~~~~~~~~
/usr/local/include/cmajor/API/../../choc/audio/../containers/choc_Value.h:2320:17: note: candidate function template not viable: requires single argument 'output', but no arguments were provided
void ValueView::serialise (OutputStream& output) const
                ^
1 error generated.
make: *** [cmajor-faust-tester] Error 1
make: *** Waiting for unfinished jobs....
In file included from cmajor-faust-player.cpp:35:
/usr/local/include/cmajor/helpers/cmaj_PatchUtilities.h:1729:42: error: no matching member function for call to 'serialise'
        auto serialisedMessage = message.serialise();
                                 ~~~~~~~~^~~~~~~~~
/usr/local/include/cmajor/helpers/../../choc/containers/choc_Value.h:2320:17: note: candidate function template not viable: requires single argument 'output', but no arguments were provided
void ValueView::serialise (OutputStream& output) const
sletz commented 1 year ago

Was a choc submodule installation issue.