Compilation Errors
-
I'm using Windows 10. I've installed VST & ASIO SDK's. (But not installed AAX and XCode)
When I want to export in HISE, it gives errors. (I've uploaded error screenshots)
Also I want to ask; there is a sdk.zip file in the HISE-master\tools\SDK folder, and it asks password. I Downloaded Steinberg VST SDK, but the sdk's folder name is different than sdk.zip file (original name: VST3_SDK). And I've renamed it just like in the sdk.zip file folder name (VST3 SDK). Is it true?![0_1517256483288_2.jpg](Uploading 100%)
![0_1517256440719_3.jpg](Uploading 100%)
![0_1517256230452_4.jpg](Uploading 100%)!
-
I solved.
-
No need to password because no need to use this zip file. We only use VST3 SDK.
-
The reason of compiling error is that I'm using Visual Studio Enterprise 2015. I've installed Visual Studio Community 2017 and the problem is gone.
-
-
New error with the latest update:
../../../../../HISE/hi_modules/synthesisers/editors/WavetableComponents.cpp:339:24: error: invalid initialization of non-const reference of type ‘juce::ValueTree&’ from an rvalue of type ‘juce::ValueTree’ for (auto& s : parent.sampleMap)
-
@d-healey said in Compilation Errors:
New error with the latest update:
../../../../../HISE/hi_modules/synthesisers/editors/WavetableComponents.cpp:339:24: error: invalid initialization of non-const reference of type ‘juce::ValueTree&’ from an rvalue of type ‘juce::ValueTree’ for (auto& s : parent.sampleMap)
Wavetable error ? Christoph said on another thread that he was working on a brand new module to match with waveedit. Maybe the cause...
I don't use the latest last version. (version 25 day before). I just saw while writing this thread that he worked on it 15 hours ago (?) ...
this is THIS version you talk about David ?
-
@staiff Well I managed to get it to compile (although I may have broken something else hehe) by changing the line indicated by the error message to
for (auto s : parent.sampleMap)
-
as Christoph quote on github there is also "WavetableBody" (cpp/h)
something to change there maybe ?
will take a look.
EDIT: no definitively not in tableBody. But ... Samplemap with Uppercase like in "void SampleMapToWavetableConverter::SampleMapPreview::updateGraphics()" and the Samplemap folder ... no ?
in this case it's written samplemap with lowercase...
edit2:
No .... header said: "addAndMakeVisible(sampleMap = new SampleMapToWavetableConverter::SampleMapPreview(parent));
addAndMakeVisible(spectrum = new SampleMapToWavetableConverter::Preview(parent));"so not an uppercase problem
Edit 3: stupid i am if there was this kind of problem HISE couldn't compiling ...
but the error sais: "invalid initialization of non-const reference of type ‘juce::ValueTree&’ from an rvalue of type ‘juce::ValueTree’
for (auto& s : parent.sampleMap)"as linked in the lines 376 to 391.
something to inspect here ...
-
It‘s fixed now. It was just a minor typo that prevent compilation on MacOS and Linux.
Yes the Wavetable Synthesiser has gotten a complete overhaul including a resynthesis tool that extracts the harmonic spectrum from samples.
-
@christoph-hart Will there be a blog post on this tool? Does it require IPP?
-
Yes you‘ll need IPP for this but just because I am
too lazy to write a fallback solution. IPP is also available on Linux AFAIK.And yes I‘ll make a blog post / tutorial about it soon. You can feed a samplemap to it and it basically analyses the frequency spectrum and extracts 64 wavetables containing the harmonic spectrum of the given sample which can then be loaded into the Wavetable Synthesiser and modulated.
The dialogue is pretty raw right now and the algorithm needs some polishing in order to handle different source materials, but it‘s a powerful tool for all tonal sounds, but it won‘t work with samples where noise is a significant part of the sound.
-
@christoph-hart Yeah I have the IPP installed on Linux Mint. This sounds very useful. I'm going to have to get some crescendo samples to test out.
-
You can also use it on decaying sounds like guitars / epianos. It‘s fun to play around :)