Compile for old wavetable approach
-
So I have a product that uses wavetables, and when I load it into a fairly recent version of HISE it tells me:
WavetableSynth4:! Wavetable with non-power two buffer size loaded. Please recompile HISE without USE_MOD2_WAVETABLESIZE.
so right now I dont want to have to rebuild all my wavetables, so I assume this means I need to recompile HISE with a flag set, and again I assume thats:
USE_MOD2_WAVETABLESIZE= 0
So if this is correct can someone tell me, and point me where this needs putting:
Extra Preprocessor Definitions?
Extra Compiler Flags?
Preprocessor Definitions? -
@Lindon Just like any other compile flag, in the ExtraDefinitionsXXX field for each OS in your project settings. When working on it, you might want to recompile HISE with that flag too, so either edit the source code directly where it's defined, or add it in the projucer fields Preprocessor Definitions for each build configuration you want to use.
-
@Christoph-Hart said in Compile for old wavetable approach:
@Lindon Just like any other compile flag, in the ExtraDefinitionsXXX field for each OS in your project settings. When working on it, you might want to recompile HISE with that flag too, so either edit the source code directly where it's defined, or add it in the projucer fields Preprocessor Definitions for each build configuration you want to use.
Ok thanks --- Im sorta getting the idea I need to:
do this in projucer for HISE - to work on the product
also do this in the products own projucer ?? Is this correct?
-
@Lindon said in Compile for old wavetable approach:
also do this in the products own projucer ?? Is this correct?
In HISE preferences
-
@d-healey ahhhhhhh....thanks