I tried to write some test, under both ./test and ./example/test
but it comes with error:
Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, my_function_name): symbol not found)
dart:ffi DynamicLibrary.lookup
Though it can be called in the application.
I tried to add some delay for loading the test, but still failed, probabaly some extra setting is required.
It should more related to ffi package, discussed it there: dart-archive/ffi#39
I tried to write some test, under both
./testand./example/testbut it comes with error:
Though it can be called in the application.
I tried to add some delay for loading the test, but still failed, probabaly some extra setting is required.
It should more related to
ffipackage, discussed it there: dart-archive/ffi#39