cmajor-lang / cmajor

The Cmajor public repository
https://cmajor.dev
Other
534 stars 31 forks source link

Couldn't build release 0.9.2006 -> choc::json::create() not found #13

Closed pd3v closed 1 year ago

pd3v commented 1 year ago

Your help would be great. After cmaking a build I got the following errors:

cmajor/examples/native_apps/HelloCmajor/../../../include/cmajor/API/cmaj_DiagnosticMessages.h:179:24: error: 
      no member named 'create' in namespace 'choc::json'
    return choc::json::create ("severity", getSeverity(),
           ~~~~~~~~~~~~^

/include/cmajor/API/cmaj_Endpoints.h:419:26: error: 
      no member named 'create' in namespace 'choc::json'
    auto o = choc::json::create ("endpointID",   endpointID.toString(),
             ~~~~~~~~~~~~^

/include/cmajor/API/cmaj_ExternalVariables.h:80:47: error: 
      no member named 'create' in namespace 'choc::json'
            list.addArrayElement (choc::json::create ("name", e.name,
                                  ~~~~~~~~~~~~^

[Edit] Note: I cloned choc repo directly, not as a git submodule.

Thank you.

sletz commented 1 year ago

Have you correctly updated choc submodule ?

pd3v commented 1 year ago

I cloned from its repo directly, not as a git submodule.