Hise crashes when compiling Script FX as DLL.
-
@DW said in Hise crashes when compiling Script FX as DLL.:
completely uninstalled
Have you compiled HISE?
-
@d-healey yes, I was sure this would solve but it still crashes
-
@DW As Matt asked, How many copies of the HISE source code are on your system?
-
@d-healey there is only one copy of the source code
-
@DW And that matches the source code from which you built the one and only version of the HISE executable you have?
-
@d-healey what’s also strange is I tried to compile a DLL of a minimal test on my friends Mac and it happened to him as well. I’m thinking it may be a permissions or a issue running a script somewhere maybe. but I checked the permissions in all the obvious places
-
@d-healey yes that is correct
-
@DW Where on your system is the HISE source code folder?
-
@d-healey currently it’s on my desktop
-
@DW And is your project folder on the desktop too?
-
@d-healey no my project folder is in my documents
-
@DW Create a new blank project on your desktop. Add a knob or something to the UI, then compile it as a standalone app. Let me know if it works.
-
@d-healey yes I haven’t had issues with compiling as a standalone app or plugin, the issue arrises only when compiling the DSP network to DLL
-
@DW In that case add the new blank project to the desktop. Create a network with a single node. Save it. Try to compile the DLL.
-
@d-healey okay I added the new blank project to the desktop and created a network with a single node, saved it and hit compile network as DLL and boom it crashes hise.
-
@DW Now let's try compiling the networks from the commandline. Open a terminal window, drag the HISE executable onto it. Then write
-p:
and drag your project folder in. Then writecompile_networks -c:Debug
. Then hit enter.So the full command will look something like:
'/media/dave/Desktop/HISE/projects/standalone/Builds/LinuxMakefileFaust/build/HISE Standalone' -p:'/home/dave/Desktop/MyProject' compile_networks -c:Debug
I haven't tested this so it's possible I have made a mistake in the commands, but try it and let me know.
-
@d-healey okay gave that a go, I'm getting this error
2025-01-07 07:48:38.793 HISE[2564:56901] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. zsh: bus error
-
@DW That's a warning rather than an error so I wouldn't be concerned about it.
-
@d-healey yes true, but what about the line under that says
zsh: bus error /Users/administrator/Desktop/HISE/projects/standalone/Builds/...
-
@DW which version of XCode do you have installed?