ScriptNode errors on compile with simple multichannel layout
-
So I have a scriptNode FX with 10 channels....
laid out like this:
The contents of this ScriptFX are this node layout...
Yep its doing nothing...
yet I get these errors when I try to compile it:
f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): error C2039: 'MulMer_t': is n ot a member of 'MulMer_impl' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBo ssRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(14): note: see declaration of 'M ulMer_impl' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(39): error C2504: 'MulMer_t': base class undefined (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetw orks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(61): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(62): error C2039: 'chain': is not a member of 'MulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work \LoopBossRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): note: see declaration of 'M ulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(62): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(63): error C2039: 'chain1': is not a member of 'MulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_wor k\LoopBossRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): note: see declaration of 'M ulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(63): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(64): error C2039: 'chain2': is not a member of 'MulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_wor k\LoopBossRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): note: see declaration of 'M ulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(64): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(65): error C2039: 'chain3': is not a member of 'MulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_wor k\LoopBossRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): note: see declaration of 'M ulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(65): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(66): error C2039: 'chain4': is not a member of 'MulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_wor k\LoopBossRE\DspNetworks\Binaries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj] f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(38): note: see declaration of 'M ulMer_impl::instance' (compiling source file ..\..\Source\Main.cpp) f:\audio\channel robot\hise_dev_work\loopbossre\dspnetworks\binaries\source\mulmer.h(66): error C2059: syntax error: 't emplate' (compiling source file ..\..\Source\Main.cpp) [F:\Audio\Channel Robot\Hise_Dev_work\LoopBossRE\DspNetworks\Bin aries\Builds\VisualStudio2017\LoopBossRE_DynamicLibrary.vcxproj]
So I may be doing something silly -- but I think its broken...
-
@Lindon Have you set the channel count to 10 in the DspNetwork properties (next to the AllowCompilation flag)?
-
-
yep simplest possible project -= compile errors
HiseSnippet 1038.3oc0WssaabCDkTRqskZZQBPx65QE.WCIeOnOzXKa0JzZagHWi7V.MWpHBwkbwtbsqZQeueV8Sp+Asyrj5hkk23JzFTKCXrCOyr7vgygC2dIFtHM0jPn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yc+eIOeXiiMlQQr7iBWsKn8YtAEonFTzhZPQJpAEsnFTjhZPQKpAEonFTz60fJhwSLef6taAtmuQ9HPkfN+q0pBe1HXWuE4F29c.14fDAeI0G3brqyWC2xa4wr8JDyNqPL6tBwr2JDy9qPLGrBwbXgwfeD6QYVSj6JBv.8NMWDQompYvU7x04j+VyCEW.
-
@Lindon yeah, just add a node anywhere, then it will compile (the cpp exporter will "optimize away" empty containers, so if your container is completely empty, it optimizes away the entire thing and fails because it has nothing to do anymore).
-
@Christoph-Hart said in ScriptNode errors on compile with simple multichannel layout:
@Lindon yeah, just add a node anywhere, then it will compile (the cpp exporter will "optimize away" empty containers, so if your container is completely empty, it optimizes away the entire thing and fails because it has nothing to do anymore).
no - added a gain to every container - still fails to compile
HiseSnippet 1208.3oc6Y8zSibCE2NIFHYoRcU6dOGYknnLP3Oq5ABDHsQs.QLTz1SaMy3PrxL1ilwA1zpdu2548V+Hzq8FeG5Wj9Mn0uwCYBSByBYKbJIRQyy+re+w9264gGcBkNrnHYHBW9rgALDdYh8PgpWydTt.09.DdIhhEopYg1eX.MJh4hv3heCfhKWBE+4e1cepGU3vRGBgNWxcXeO2mqRGsSiui640h5xNi6O1rq2nsiTzT5IGn8jhjZn.pSe5kriovzJPP3ENzkqjg1Jp1czyYeo6P6dxqEl4eNOhegGCDrP1ZEYFF0rG2ysysQYDBgK0IMlKZh4ujbD2kOZ7zX+yiAplthw2CvExykrdDtDdLWpjwkdIw1IjGnRQ.+4Ej1BEKrKUuUOtqXlKBeCooTOAgZMeZeVqPsvnErxV0psZU8Ou9q6NP3n3RQUo3XohchXkWW4WpTtxuVoZVntcmJFXlPomGKbpvvoaXdKbEw.+KXgqV8Jp2.1nIpC+6tmtvCaO0wD0iMQonsfqNIfkH2R54B6UvySdBfR11zO8CsOfpnvgRxX54EvBUbvcvGvtRypMGQkIGvh5qjAZd8DmeZlizcfGUcW5Dj2j.n2OtyYHbPIh3pgimWkkiU592OpM19wGIZeft6KIc3JmdS2eKLE+Uuq8T6uIYreF4vtcYNpTmsDo0ayM8rzCiJk5JOzT0JIopZ6CNxxIhUa8Vqolj9ajzDhfPV.MjclriGc3JQT+.O1oZ+c0pW3Ic5ay+Y1jYQAFWXeXFq3ziJDLunYIYag+mJfgNUNPwEWdDUExeOB+piG3aqKk6vZl3cHLAWAxyLx0.YfuXyDtwB+q9SBnEHiS.sx.tNHWHAb8Lfa.xES.2HCXcPtTBX8LfaBxjDvMy.tEHuPB3VY.2FjWLAb6Lf6.xKk.tSFv2.xkS.eysfiUJ5Xl5ZYX+XZWxyH7h.GqLwefGPCP644IutozOfmjhFeXYF31c+87kCzJTmhXounjEFEOuEI0VS+0ngNRugA8jBtCvT+VZzYTtGjkaOHRWC08DgsVew2vCYVGKc0OQZQczzmgcnpdP0BnJrNcjEtlynzxTOMMU.HQfFt89dCUP6y9PbGeaeQ.2D3FSA5ZQPWJN5dMqAd1LD4NFxD.ej36SOhVfb4D14EZ6DxV6x6ZAy5yQ+EF6dJcESZn9Mmz27CVr3HIsEOhKNGJCjV09Gu4H56yLllTpXAP4mjw9iO7g+ZW69rqM9Zxn2b4e9pFl.I9MBmPKn7MMBMgoa76MdPl9m9hC96cMuSjsuTp5oq+j090afd5C8kImxhXJiVxYCH4hrQmQwWk.R5KPKXTT6nyATGp2sJRWpaL5xRFdo0SOwbwXho0bl4bl4igYt9yEyb84Ly4LyGCybimKl4FyYlyYlOFlY8mKlY84Ly4Ly6mYduJ3SW06Kk88ow+kryV+0dl6u.Ju9Kfyq+Bn75u.Nu9Kfxq+B375u.Ju9Kfmn+B9TmP46bLsFBNDWJdDc5qHtY6kIGAxUsPWYN.IPiBP9bW96bbftH7UVHzzWy5yvZ1XFVS8YXMaNCqYqYXMaOCqYmbWC7+fXuAJouoCO5A5bXbRDFenfdgmotM5+X7679G
-
@Lindon hmm, weird, when I added some nodes it worked. However I found a glitch that caused the C++ exporter to fail with simple networks, which should be fixed now.
-
@Christoph-Hart ok I will give it a try...