I’d like to run the demo projects provided with the fpwebview library, but so far I can’t get them to run. For example, the demo ‘lclembed’ compiles successfully (so the compiler is finding the dylib OK for linking), but when the app is run the dylib does not seem to load.
If I run from the Lazarus IDE, I get a SIGABRT error message. If I run by double clicking the executable file directly in Finder, then terminal opens and displays the following output:
/Users/ … /FPWebView/demo/lclembed/lclembed ; exit;
dyld: Library not loaded: libwebview.dylib
Referenced from: /Users/ … /FPWebView/demo/lclembed/lclembed
Reason: image not found
zsh: abort /Users/ … /FPWebView/demo/lclembed/lclembed
[Process completed]
I’m on macOS Catalina 10.15.7, so I’ve tried different versions of the dylib, including one that indicates it was built on Catalina (10.15)
Any ideas what the issue might be?
How can I build the dylib myself?