cmajor-lang/cmajor

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

Closed this issue · 2 comments

pd3v commented

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

Have you correctly updated choc submodule ?

pd3v commented

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