On 18.05.2016, at 17:01, Dave Crossland <[email protected]> wrote: > On 18 May 2016 at 10:54, Bert Freudenberg <[email protected] > <mailto:[email protected]>> wrote: > On 18.05.2016, at 16:26, Dave Crossland <[email protected] > <mailto:[email protected]>> wrote: >> >> Hi >> >> On 18 May 2016 at 09:57, Tony Anderson <[email protected] >> <mailto:[email protected]>> wrote: >> Its an educational project. An example is >> https://github.com/ezequielpereira/Bridge >> <https://github.com/ezequielpereira/Bridge>. This version of the >> Bridge-activity was developed as part of GCI. >> The zip downloaded from github is named Bridge-master.zip. I copied the zip >> to an XO-1.75, unzipped, and ran setup.py dist_xo. The result was a >> proper xo bundle which installed and ran. >> >> Sounds good :) >> >> However, it failed to start: import error lib/box2d_32/_Box2D.so. >> >> Is that error a bug in the program? > > More likely an intel / arm problem. The XO-1.75 needs ARMv7 binaries, while > older XOs used x86. The activity bundle would have to include .so files for > each supported architecture. I don’t think we ever extended the bundle > structure to properly handle multi-arch, it was designed for > platform-independent code like Python. > > Okay cool :) > > Can the bundle structure deal with this in an ad-hoc way, or does it need > changes to the Sugar Desktop platform itself?
The bundle can have arbitrary library folders, but the activity would need to implement selecting the right binary for the current architecture. - Bert -
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

