Compile problems with ScripNode.
-
So I have a (fairly large) number of compile-able script nodes and when I now go to compile them I get this error:
C:\Current_HISE_work\Horizen\DspNetworks\ThirdParty\whiteDwarfian.h(15,10): error C1083: Cannot open include file: 'src /whiteDwarfian.cpp': No such file or directory [C:\Current_HISE_work\Horizen\DspNetworks\Binaries\Builds\VisualStudio20 22\Horizen_DynamicLibrary.vcxproj]
The .cpp file is present, but I think that is not the problem, because if I take this scriptNode out (set it to AllowCompilation=FALSE) - it just fails on another one....
I have cleaned the Binaries folder... anyone have any ideas what to try next?
If I try and build it in VS 2022 it fails in the same way....
-
@Lindon Every time one of you power users posts about a problem you're having, I read it, thinking, "Maybe I can help them for once!" And then I don't even understand the description of the problem. (Something something something Scriptnode something something.)
-
Have you updated VS? I read yesterday that there was an issue compiling with the latest version (fixed now in develop branch) so perhaps it's related.
-
@d-healey no ooooooo -- Im a fair way back in HISE and VS...
-
@Lindon open the autogenerated projucer project for the dsp and open and compile in VS
-
@DanH said in Compile problems with ScripNode.:
@Lindon open the autogenerated projucer project for the dsp and open and compile in VS
in the original post:
"If I try and build it in VS 2022 it fails in the same way...."
-
@Lindon did you open it in VS from the Autogen project or straight from the .vcxpropj file? I had this issue a while back, can't remember the exact process I went through but I think it was just the autogen proj.
-
@DanH said in Compile problems with ScripNode.:
@Lindon did you open it in VS from the Autogen project or straight from the .vcxpropj file? I had this issue a while back, can't remember the exact process I went through but I think it was just the autogen proj.
Wow, this way madness lies... you were right using the projucer path and it builds....in HISE = fails, in VS2022 = fails , but projuicer = success : cant work out why that would be... but thanks anyway : Life saver....
-
@Lindon maybe HISE calls msbuild with some funny arguments. Or does something to the project file.