mhorowitzgelb /root/BelaRemote/Release/Bela: error while loading shared libraries: libseasocks.so.1.3.2: cannot open shared object file: No such file or directory
it may have been a different version of the library?
I should have mentioned before: I have last used Eclipse for Bela in 2016 and I think the instructions you are following are from 2017. It's not a workflow we are actively supporting as there is not a large use base (you are probably the first in several years) and it's pretty complex to keep it from falling apart over time. Yet if we can manage to get you to the point where it works, it would be great if the lesson learned could be used to improve the existing documentation.
In general the deal with cross-building is to have all the includes and libraries you need available on the host. This is normally done by having a copy of the destination file system available to the host (either via a copy or an sshfs mount), then passing -nostdinc
and -nostdlib
to the compiler and linker and pointing them to the relevant folders via -I
and -L
and possibly using -rpath
.
mhorowitzgelb /root/BelaRemote/Release/Bela: error while loading shared libraries: libseasocks.so.1.3.2: cannot open shared object file: No such file or directory
what does ldd /root/BelaRemote/Release/Bela
give you? Probably you will see a missing dependency on libseasocks.so1.3.2
. If that version of the library is not on the board, then you probably linked against A wrong (outdated?) version.
mhorowitzgelb I also tried downloading and building the latest version of seasock, but it appears to require C++ 17 so I assume that's not compatible
The latest version that doesn't require C++17 is v1.4.4 (https://github.com/BelaPlatform/bela-image-builder/commit/f7d3b8d11dc3b7b89ee4be9b1ec94eefcf22524f). This is how it is built and installed on the board: https://github.com/BelaPlatform/bela-image-builder/blob/master/scripts/chroot.sh#L87-L95 .