Compiled Standalone/PlugIn not able to open
-
Good Evening/Day Hise Friends.
I finished the first test version of my new sample-instrument, but for some reason the compiled version seems to be damaged.In Hise itself the instrument is working fine, but after compiling (compiled successful), the instrument crashes before opening.
(MacOS)
I took a look at the terminal and these are the only warning I could find.
Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning ⚠️ /Users/gabriel/Documents/Hise/HISE-3.0.1/hi_scripting/scripting/api/ScriptTableListModel.cpp:82:11: enumeration values 'Text' and 'numCellTypes' not handled in switch [-Wswitch] switch (cellType) ^~~~~~~~ ⚠️ /Users/gabriel/Documents/Hise/HISE-3.0.1/hi_scripting/scripting/api/ScriptTableListModel.cpp:111:11: enumeration values 'Text' and 'numCellTypes' not handled in switch [-Wswitch] switch (cellType) ^ ⚠️ /Users/gabriel/Documents/Hise/HISE-3.0.1/hi_modules/effects/mda/mdaLimiter.cpp:121:43: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] void int2strng(int value, char *string) { sprintf(string, "%d", value); }
-
Build a standalone version - that rules out the possibility of the DAW being the issue. Build a debug version and run it in xcode and check for errors. Don't worry about warnings, only worry about errors.
-
Are you using scriptnode in a ScriptFX when exporting?
-
@VorosMusic These warnings are expected when building on macOS; they will not affect your build. (Also, follow David's advice.)
-
@dejans
No, I compiled one ScriptNode effect and use it as a hardcodedmasterFX. -
Its a bit much to take in debugging the first time.
I found an assertion failure for jlimit in MathsFunctions (lower value is bigger than the higher value).
But I still try to figure out where this jlimit belongs to.