Dear all,
I have built several Faust plugins for Unity (mostly for Windows), always
without any issues.
Works great.
However, I always fail with Android ones.
The plugin gets complied without errors (on OSX with faust2unity -android).
Also, the package is imported in Unity with no errors (tested on Mac and
Windows versions of Unity).
But after the application starts (on desktop or as an apk) I get this error:
DllNotFoundException: libFaustPlugin_name
FaustUtilities_name.Faust_Context..ctor (System.Int32 buffersize) (at
Assets/Scripts/FaustUtilities_ name.cs:293)
FaustPlugin_ name.Awake () (at Assets/Scripts/FaustPlugin_ name .cs:76)
which basically points to this:
public Faust_Context(int buffersize) {
_context = Faust_contextNew(buffersize);
}
Does someone have any suggestions?
I tried to build different plugins for android/unity, and tried them in
several versions of Unity (both Windows and OSX versions), but the
same error is fired.
I tried to test different types of DSP Buffer Size in the Project Settings
in Unity but with no results.
The plugin generated seems fine, according to its structure:
/Plugins
----------/FaustPlugin_name
------------------------------------/Android
------------------------------------------------/armeabi-v7a
-----------------------------------------------------------------/libFaustPlugin_name.so
------------------------------------------------/x86
-----------------------------------------------------------------/libFaustPlugin_name.so
------------------------------------------------/README.md
/Scripts
----------/FaustPlugin_name.cs
----------/FaustUtilities_name.cs
Thank you!
alberto
--
Alberto Boem, Ph.D.
www.albertoboem.com
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users