DSP compiling error on WIN, works fine on MAC
-
@Morphoice said in DSP compiling error on WIN, works fine on MAC:
@d-healey kidding aside, I need to figure out how to compile a current HISE version on PC first. I can't even remember how I did it back then. I share a dropbox with the pc so the source should be current, just hit projucer and then visual studio should do it, well once it has synced a couple thousand files
I would caution against this approach for HISE building - use git/hub to get yourself a clean ready-to-build HISE project thats not potentially polluted with your post build Mac based stuff...
-
@Morphoice said in DSP compiling error on WIN, works fine on MAC:
I share a dropbox with the pc so the source
Yup that's what git is for
-
@Morphoice are you still having issues compiling the dsp networks on Windows? If so did you try loading the VS project and running it from there?
-
@Lindon I used github to install it onto the dropbox folder, the WIN is just a virtual machine accessing the external dropbox, I don't see the need to install github inside the virtual machine again
-
@Morphoice If you install git, then you just call git pull to get the latest version directly from Christoph's repo
-
@d-healey yes that's how it works on my mac but do I necessarily have to do it again on PC if both machines access the same files on disk? I'm considering switching from a virtual machine to PC hardware... just for the sake of it, a friend is about to bring over an old notebook
-
@Morphoice Oh I see, a shared disk makes sense.
-
@d-healey still wont compile HISE ;/(
-
@Morphoice said in DSP compiling error on WIN, works fine on MAC:
@d-healey still wont compile HISE ;/(
What errors are you seeing?
-
-
@Morphoice I've not seen that before. Did you clean the build folder?
-
@d-healey approximately a billion times today ;)
im trying on another pc, there it says it cant find "faust/export.h"
even though faust is enabled and properly installedsigh
-
@Morphoice Does the none-faust version build?
-
@d-healey HISE built fine on the new PC, but the DSP compilation is the problem still now
-
@Morphoice said in DSP compiling error on WIN, works fine on MAC:
HISE built fine on the new PC,
Without faust?
-
@d-healey I built it with faust, I have no use for HISE without faust, it says faust enabled in HISE. just some damn path seems to be set wrong... I don't know where to change them, the include/faust/export.h is there just probably not where it expects to find it
-
@d-healey yeah I set the faust path in settings, now I get all those template class errors again I posted this afternoon....
-
@d-healey so yeah it's basically the same as with the virtual machine this afternoon, soon as I try compiling the DSP network on Windows, the project is fucked, and doesn't work on MAC anymore either...
pc says
> Create files > Sorting include dependencies > Creating C++ file for Network DspNetwork > Copying third party files > Compiling dll plugin Re-saving file: C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\AutogeneratedProject.jucer Finished saving: Visual Studio 2022 Finished saving: Xcode (macOS) Finished saving: Linux Makefile Compiling 64bit HeatBurn ... MSBuild version 17.13.19+0d9f5a35a for .NET Framework Main.cpp RNBO.cpp include_hi_dsp_library_01.cpp include_hi_dsp_library_02.cpp include_hi_tools_01.cpp include_hi_tools_02.cpp include_hi_tools_03.cpp C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\ThirdParty\src\Disintegrate.cpp(17,6): warning C4305: "=": Verkrzung von "double" in "float" [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(20,66): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(24,67): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(28,67): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(20,57): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(20,57): der Vorlageninstanziierungskontext (der lteste zuerst) ist C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(33,47): Siehe Verweis auf die gerade kompilierte Alias Vorlage-Instanziierung "DspNetwork_impl::smoothed_parameter_t<NV>". !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(24,58): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(24,58): der Vorlageninstanziierungskontext (der lteste zuerst) ist C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(34,34): Siehe Verweis auf die gerade kompilierte Alias Vorlage-Instanziierung "DspNetwork_impl::smoothed_parameter1_t<NV>". !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(28,58): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "T" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(28,58): der Vorlageninstanziierungskontext (der lteste zuerst) ist C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(35,34): Siehe Verweis auf die gerade kompilierte Alias Vorlage-Instanziierung "DspNetwork_impl::smoothed_parameter2_t<NV>". !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(76,49): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "Processors" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') !C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(76,40): error C3203: "Disintegrate": nicht spezialisiertes Klasse Vorlage kann nicht als Vorlage-Argument fr den Vorlage-Parameter "Processors" verwendet werden, ein echter Typ wurde erwartet. [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../Source/Main.cpp') C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(76,40): der Vorlageninstanziierungskontext (der lteste zuerst) ist C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(80,26): beim Kompilieren der Klassenvorlage "DspNetwork_impl::instance" C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Source\DspNetwork.h(80,60): Siehe Verweis auf die gerade kompilierte Alias Vorlage-Instanziierung "DspNetwork_impl::DspNetwork_t_<NV>". C:\HISE\hi_tools\hi_standalone_components\SliderPack.cpp(1389,7): warning C4189: "idx": Lokale Variable ist initialisiert aber nicht referenziert [C:\Users\admin\Dropbox\HISE\HeatBurn\DspNetworks\Binaries\Builds\VisualStudio2022\HeatBurn_DynamicLibrary.vcxproj] (compiling source file '../../JuceLibraryCode/include_hi_tools_01.cpp') include_juce_audio_basics.cpp include_juce_audio_formats.cpp include_juce_core.cpp include_juce_data_structures.cpp include_juce_dsp.cpp include_juce_events.cpp include_juce_graphics.cpp
mac simply goes
> Create files > Sorting include dependencies > Creating C++ file for Network DspNetwork > Copying third party files > Compiling dll plugin Re-saving file: /Volumes/HISE/HeatBurn/DspNetworks/Binaries/AutogeneratedProject.jucer Finished saving: Visual Studio 2017 Finished saving: Xcode (macOS) Finished saving: Linux Makefile Compiling HeatBurn ... ** BUILD FAILED ** CompileC /Volumes/HISE/HeatBurn/DspNetworks/Binaries/Builds/MacOSX/build/HeatBurn.build/Release/HeatBurn\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Volumes/HISE/HeatBurn/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'HeatBurn - Dynamic Library' from project 'HeatBurn') (1 failure)
-
@Morphoice About compiling DSPs on both OS, I found that a perfect cleaning is key, each time... no source folder nor build folder should be git synced between machines. And even on the same machine, I often end up emptying everything to recompile new versions after a modification.
The folders I clean are:
- general
binaries
dspNetworks/binaries
dspNetworks/ThirdParty
- the entire
AdditionalSourceCode
So be sure not to track those folders between OS. Maybe it shouldn't be an issue, I don't know, but that is what I found after days of trial and errors and now I can safely compile on both mac and win if I respect this procedure.
On top of that I often need to disable the networks
AllowCompilation
flags, re-open the project,re-enable
the flags, and only after all of those steps I can start the compilation process. This makes simple modifications, well, not so simple... - general
-
@Morphoice oh and when you do this, the networks still expect to load the old faust compiled node when there are such be, because the XML has been saved in that state. So this has to be replace with the interpreted node or errors will invite to the party...