HISE Build issues...(Copy Protection system)
-
@d-healey said in HISE Build issues...:
@DabDab Did you use the same preprocessor definitions as Lindon?
That's what I am saying. I didn't add any extra pp definition. I used default projucer that comes with HISE develop source code. I used vs 2022 on Windows 11 23H2. It should not have problem.
-
@DabDab He needs to use these preprocessor definitions for the copy protection system he's using.
-
@d-healey that means it is user specific. If we don't want to use copy protection system , it shouldn't cause any issue right?
-
@DabDab said in HISE Build issues...:
If we don't want to use copy protection system , it shouldn't cause any issue right?
Yeah it's only a problem for people who are using the built in copy protection system
-
@d-healey said in HISE Build issues...:
@DabDab said in HISE Build issues...:
If we don't want to use copy protection system , it shouldn't cause any issue right?
Yeah it's only a problem for people who are using the built in copy protection system
Great. The title confused me " HISE build issue". It is supposed to be " HISE build issue for Copy protection System".
Any how thank you to @Lindon for getting us the right solution. -
@DabDab It is a HISE build issue. HISE won't build when using those preprocessor definitions, those definitions are part of the HISE codebase. Currently we don't have a solution.
-
@Christoph-Hart -- any chance of a solution soon (ish)?
-
-
Why would you want to compile HISE with copy protection? HISE is an open source framework for building virtual instruments and audio effects and I stand firm against any attempts to slap DRM on it!
Just kidding, but you should not need to add those lines to HISE for it to load a project that uses copy protection as it should use a dummy unlocker as drop in replacement for the real class in the compiled project.
Just make sure that the extra definitions of your project have these flags enabled.
-
@Christoph-Hart ok well my project extra definitions look like this:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
ENABLE_ALL_PEAK_METERS=1
USE_MOD2_WAVETABLESIZE=0
USE_COPY_PROTECTION=1
USE_SCRIPT_COPY_PROTECTION=1
HISE_DEACTIVATE_OVERLAY=1- I build - it compiles fine - and then it crashes pluginval and reaper on start up.. so maybe its something else, time to start removing code in this one to see where the problem is...
-
just curious,
is this the copy protection setup you are trying to use for your plugin:
https://activate.hise.dev/
the one that Christoph has developed?I am only asking for future reference for myself.
-
@jeffd yes, and it's worked fine on all the other product versions...