Faust error when compiling dll
-
@d-healey commit d3f364f - bump version to 3.6.2
-
@d-healey Went to commit 3235dac - bump to version V 3.6.0
and throws the same error
-
@fazzitog Oh that's quite old now, I'd try a more recent one.
-
@d-healey Went to V2.4.8 and worked idk
previously I made a dll using RNBO. The cmd crashes before it loads RNBO.cpp
Can it be something?
-
@fazzitog I'm not familiar with RNBO so I don't know.
-
@fazzitog What version of RNBO are you working with?
-
@fazzitog Did you ever find a solution? I'm having the same issue.
Edit: Are you saying you went to version 2.4.8 of HISE? That doesn't seem right. I thought maybe you meant an older version of Faust, but that didn't work either.
Edit 2: I switched over to mac and got it to work easily, but I still can't get it to work on windows. I'm getting the same error stating
...fatal error C1083: Cannot open include file: 'src/FaustReverb.cpp': No such file or directory...
-
@obolig Update: I moved the "FaustReverb.cpp" file up in the folder structure and edited a single line in "FaustReverb.h" from
#include "src/FaustReverb.cpp"
to#include "FaustReverb.cpp"
to account for the changed location. This allowed me to successfully build the DLL and use it in a HardcodedMasterFX.Now the issue is that when I try to export the FX plugin, I get the error "DSP Network sanity check failed ... Hash mismatch".
I will continue to try and find a solution. Any help is appreciated.
-
@obolig SOLUTION: Turns out the statement in the generated header file that reads
#include "src/FaustReverb.cpp"
is not searching in reference to the header file, but instead in reference to your HISE path set in your compiler settings. I dragged the "src" folder (including .cpp file) to my HISE folder and it created a DLL and allowed me to export the FX plugin.I'm guessing this is not the intended process for this. I'll report the issue over on git.
-
Same Problem here.
@obolig , your solution works for me but how could we manage to find an other way to skip this error each times we compil?
thanks
Math
-
@obolig said in Faust error when compiling dll:
SOLUTION: Turns out the statement in the generated header file that reads #include "src/FaustReverb.cpp" is not searching in reference to the header file, but instead in reference to your HISE path set in your compiler settings. I dragged the "src" folder (including .cpp file) to my HISE folder and it created a DLL and allowed me to export the FX plugin.
I think I have the usual problem, which path should /src be moved to? In this post we only refer to the HISE folder.
Should I move the /src folder from DSPNetwork located in the Project folder to the folder where HISE is contained? to which route?
-
@Mighty23 try opening the autogenerated Projucer file and building it from there