OSX - FX Plugin and Standalone App Build Errors with StkFactory?



  • Hi again,

    MacOS 10.12.6
    I am trying to build FX Plugins and Standalone Apps and I got some strange errors about Stk:

    ❌  /Users/studiob/Downloads/HISE-scriptnode/hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:60:25: use of undeclared identifier 'stk'; did you mean 'std'?
    
    ownedFactories.add(new stk::StkFactory(this));
    
    ❌  /Users/studiob/Downloads/HISE-scriptnode/hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:60:25: no template named 'StkFactory' in namespace 'std'; did you mean 'Factory'?
    
    ownedFactories.add(new stk::StkFactory(this));
    
    
    ❌  /Users/studiob/Downloads/HISE-scriptnode/hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:60:30: use of class template 'std::Factory' requires template arguments
    
    ownedFactories.add(new stk::StkFactory(this));
    

    I've looked on the forum and no thread about this 😞

    Anybody had this kind of error before?

    Thanks!



  • It seems like the project is not including the stk module, which was recently added. You most probably are using a project file that was created with the master branch version and try to compile it with the scriptnode branch.

    Try a full clean and rebuild.


Log in to reply
 

6
Online

491
Users

1.7k
Topics

13.0k
Posts