Pre-processor definition confusion
-
After years working with Hise I am still confused with the way pre-processor definitions are working.
When I set them in the project they are never working the way I expect (another word to say not working at all) so I'm always ending up to set the jucer manually after each export (well the trick is to keep the jucer opened so it asks if you want to saved the previous state, so you don't have to bother scrolling everything again...), hence I keep my projects extra definition empty...
Is there a difference between definitions that are known in the jucer and the one that aren't?
So what is it I can't understand with this ?
I would much prefer to keep my pre-proc in the project for sure...
-
@ustk if you set them in HISE project preferences they will automatically be added to the auto generated jucer file. Are you saying this isn't happening for you and when you open the jucer file the preprocessor box is empty?
-
@d-healey No they appear as they should, they just seem to do nothing once compiled so I have to enable/disable them manually in the different modules (mainly hi_core)
I don't know exactly if they are all touched by this issue as I haven't strictly performed one by one testings... I just don't bother anymore placing them in the project, and this bothers me :)
-
@ustk I seem to recall this happened with the IPP one years ago, but I thought that was no longer the case. Perhaps it also affects some others. If you can narrow it down to particular definitions we can dig deeper.
-
@d-healey Yeah you're right! I'm out for a week so I'll dig into this when I'm back ;)
In the waiting, if you have a list of the one you use regularly that you know they are working it could help me find the differences with others...
-
HISE_NUM_PLUGIN_CHANNELS=8 ENABLE_ALL_PEAK_METERS=1 HISE_DEACTIVATE_OVERLAY=1 HISE_USE_OPENGL_FOR_PLUGIN=0 AUDIOFFT_FFTW3=1
-
@d-healey Thanks
It seems some of them I am using don't work on my side... But I'll check it in time -
@d-healey under what circumstances would one want to use open gl?
-
@lalalandsynth If the GUI is laggy and enabling makes it not laggy. :D
-
@lalalandsynth or in the case you use a shader, but it’s broken afaik, I can’t get my animations working again