Question for Libraries.load
-
Hello, @Christoph-Hart!
I have just found "Libraries.load("library_file") function in your code.
And so I am failing to load library. Please let me know how to call that function and where I have to store library binary file to load in HISE script.Sincerely,
Hasan -
Hi Hasan,
the documentation for the Library API can be found here:
which should contain all information you need to use external libraries. I edited it just now so it should be up to date, but let me know if there is anything missing.
For Windows, I would recommend using dynamic libraries for the final product, but on OSX, the static libraries are more convenient (and mandatory on iOS anyway).
-
Thanks for good information.
-
I am still getting error of missing dll files.
Windows: USER_APP_DATA_DIRECTORY/COMPANY/PRODUCT/dll
Here what are COMPANY and PRODUCT?
And also USER_APP_DATA_DIRECTORY means AppData\Local or AppData\Roaming? which one? -
If you are using HISE during development, the libraries should be here:
%APPDATA%/HISE/dll
(The default app data folder in Windows is AppData/Roaming)
COMPANY and PRODUCT are the names from the project if you export it (for NSK it is eg. Gospel Musicians and Neo-Soul Keys Studio)
-
This post is deleted! -
It's looking for another library which contains the other effects. Let's continue this conversation on GitHub, this is rather internal stuff :)
-
I got. It is definitely missing other library. I will close this post.