Getting a lot of compile errors with the new version (scriptnode) under windows:



  • getting this:

    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\d
    spnetwork.cpp(59): error C2653: 'stk': is not a class or namespace name (compil
    ing source file ....\JuceLibraryCode\include_hi_scripting_03.cpp) [D:\Audio\Ch
    annelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualStudio2017\Chro
    maticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\d
    spnetwork.cpp(59): error C2061: syntax error: identifier 'StkFactory' (compilin
    g source file ....\JuceLibraryCode\include_hi_scripting_03.cpp) [D:\Audio\Chan
    nelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualStudio2017\Chroma
    ticPanFlute_SharedCode.vcxproj]

    and/or this:

    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\s
    taticnodewrappers.h(374): error C3536: 'obj1': cannot be used before it is init
    ialized (compiling source file ....\JuceLibraryCode\include_hi_modules_04.cpp)
    [D:\Audio\ChannelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualSt
    udio2017\ChromaticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\s
    taticnodewrappers.h(374): error C2227: left of '->' must point to class/struct/
    union/generic type (compiling source file ....\JuceLibraryCode\include_hi_modu
    les_04.cpp) [D:\Audio\ChannelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Buil
    ds\VisualStudio2017\ChromaticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\s
    taticnodewrappers.h(374): error C2232: '->scriptnode::hardcoded<scriptnode::met
    a::frame2_block1_impl::frame2_block1_>::get': left operand has 'int' type, use
    '.' (compiling source file ....\JuceLibraryCode\include_hi_modules_04.cpp) [D:
    \Audio\ChannelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualStudio
    2017\ChromaticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\s
    taticnodewrappers.h(375): error C3536: 'obj2': cannot be used before it is init
    ialized (compiling source file ....\JuceLibraryCode\include_hi_modules_04.cpp)
    [D:\Audio\ChannelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualSt
    udio2017\ChromaticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\d
    spnetwork.cpp(59): error C2653: 'stk': is not a class or namespace name (compil
    ing source file ....\JuceLibraryCode\include_hi_scripting_03.cpp) [D:\Audio\Ch
    annelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualStudio2017\Chro
    maticPanFlute_SharedCode.vcxproj]
    c:\users\lindon\desktop\hise-scriptnode\hi_scripting\scripting\scriptnode\api\d
    spnetwork.cpp(59): error C2061: syntax error: identifier 'StkFactory' (compilin
    g source file ....\JuceLibraryCode\include_hi_scripting_03.cpp) [D:\Audio\Chan
    nelRobot\AA HISE Work\ChromaticPanFlute\Binaries\Builds\VisualStudio2017\Chroma
    ticPanFlute_SharedCode.vcxproj]



  • Have you resaved the HISE project in the Projucer? The stk module seems to be missing.



  • @Christoph-Hart "resaved" ?? what do you mean?



  • @Lindon Open standalone.jucer in projucer and go to file >> save. Then compile it.



  • Ok so I opened projucer, loaded standalone.jucer

    saved it, selected save project and open in IDE, in Visual Studio 2017 I set Release and x64 and ran build solution, this is what it tells me:

    ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========

    hmm trying rebuild solution seems to improve things...



  • @Lindon Is there an option to rebuild or clean the build directory or something similar?



  • @d-healey yep sorry Dave our messages crossed in the ether - tis trying to rebuild now.

    -- theres a lot of stk warnings, no errors so far..

    -- well that compiled I will try and build a plug-in tomorrow...now its wine-oclock



  • OK well that seemed to fix it right up...thanks you two.


Log in to reply
 

9
Online

472
Users

1.6k
Topics

11.9k
Posts