Scriptnode DSP Compilation help (again!)
-
@christoph-hart FYI - Having compiled the .dll I rolled back to a recent commit of HISE which lets me build a standalone instrument. With the .dll in the project I can't open the Standalone - it's a straight crash on OSX. Without the .dll in the project it's ok.
On Windows I built the latest Develop and built a Standalone from the project with the .dll. Again it won't open, crashes before anything happens, nothing opens etc. Agai without the .dll it's fine.
Have tried au and vst3 too...
-
@Christoph-Hart Made a simple project with only a SinWaveGen plus a Script FX with the .dll loaded in and I still get an instant crash.
Are people exporting their plugins with .dlls in them ok?
-
I’ll make a simple test project tomorrow to try and let you know. I have many many issues making the dlls that I have been waiting for some free time to properly report to the GitHub issues page Christoph made.
-
@crd Did you ever get round to testing?
-
@danh I haven’t yet. Hopefully later today.
-
Sorry... I won't get a chance to be back at my rig until late next week. Hopefully someone else can try a test export.
-
I am getting an instant crash just when trying to compile a dll after wrapping the node, so I don't think I can test this for you.
-
@crd are you using the latest scriptnode? I had some issues that were fixed in the last couple weeks
-
@dustbro I am not - I am a day or so behind. I will give the latest ago. Thanks !!!
-
@dustbro Some progress. Simple test networks are compiling now. My actually project is still crashing instantly when I click "compile all dsp" in Hise or Scriptnode. I'll do the fun task of trying to export each of the nodes individually tomorrow.
-
@crd there’s a thread somewhere with a link @Christoph-Hart posted to his GitHub where you can upload troublesome scriptnode projects so he can see if he needs to update that side of Hise. My one wouldn’t work until he’d pushed a commit after I uploaded it there.
I’ll try and find it later on unless you get there before me
-
@crd Are you using a convolution node?
-
@d-healey I am not.
I found the right GitHub page to load issues to:
https://github.com/christophhart/scriptnode_testsuiteHopefully the minimal snippet I made is enough info for @Christoph-Hart . If I am understanding what constitutes a scriptnode network correctly that is the first of 5 similar networks I am trying to compile.
-
Something seems to be wrong with the export process using the latest develop build and I also think I am messing up the wrap/compile process...
-
Okay now I am having trouble exporting simple test math.expr nodes. I am getting many errors in the terminal window.
-
@crd send a snip. I'm using Math nodes with no issues.
-
@dustbro One second and I will make a gif. I think that might be more helpful...
-
This post is deleted! -
@crd hmm... the scriptnode network is empty in the snip.
-
@dustbro
Okay, I've been at this too long and making silly mistakes.duh. Once the node is wrapped the snippet function doesn't work since it's referring to an external file (?).
All that was in the snippet is the math.expr node with the Hise saturation formula in it. It wraps fine but fails to compile. Here are the first few error messages: Here are the first few errors I am getting:
/Users/christopherdammann/Desktop/git/test5/DspNetworks/Binaries/Source/chain.h:36:35: template argument for template type parameter must be a type
using chain_t_ = container::chain<NV,
^~/Users/christopherdammann/Desktop/git/test5/DspNetworks/Binaries/Source/chain.h:42:55: unknown template name 'chain_t_'
template struct instance: public chain_impl::chain_t_