<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On 18.05.2016, at 17:01, Dave Crossland <<a href="mailto:dave@lab6.com" class="">dave@lab6.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><span style="font-family: FiraSans-Regular;" class="">On 18 May 2016 at 10:54, Bert Freudenberg</span> <span dir="ltr" class="" style="font-family: FiraSans-Regular;"><<a href="mailto:bert@freudenbergs.de" target="_blank" class="">bert@freudenbergs.de</a>></span> <span style="font-family: FiraSans-Regular;" class="">wrote:</span><br class=""><div class=""><div class="gmail_quote" style="font-family: FiraSans-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class=""><span class="">On 18.05.2016, at 16:26, Dave Crossland <<a href="mailto:dave@lab6.com" target="_blank" class="">dave@lab6.com</a>> wrote:<br class=""><div class=""><blockquote type="cite" class=""><br class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra">Hi</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 18 May 2016 at 09:57, Tony Anderson<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:tony_anderson@usa.net" target="_blank" class="">tony_anderson@usa.net</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#FFFFFF" text="#000000" class="">Its an educational project. An example is<span class="Apple-converted-space"> </span><a href="https://github.com/ezequielpereira/Bridge" target="_blank" class="">https://github.com/ezequielpereira/Bridge</a>. This version of the Bridge-activity was developed as part of GCI.<span class="Apple-converted-space"> </span><br class="">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<span class="Apple-converted-space"> </span><br class="">proper xo bundle which installed and ran.<span class="Apple-converted-space"> </span></div></blockquote><div class=""><br class=""></div><div class="">Sounds good :)</div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#FFFFFF" text="#000000" class="">However, it failed to start: import error lib/box2d_32/_Box2D.so.<br class=""></div></blockquote><div class=""><br class=""></div><div class="">Is that error a bug in the program?</div></div></div></div></div></blockquote><br class=""></div></span><div class="">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.</div></div></blockquote><div class=""><br class=""></div><div class="">Okay cool :)<br class=""><br class="">Can the bundle structure deal with this in an ad-hoc way, or does it need changes to the Sugar Desktop platform itself? </div></div></div></blockquote><br class=""></div><div>The bundle can have arbitrary library folders, but the activity would need to implement selecting the right binary for the current architecture.</div><br class=""><div class="">
- Bert -<br class=""><br class=""></div></body></html>