<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 18 May 2016 at 11:59, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></span> wrote:<br><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 style="word-wrap:break-word"><span class="">On 18.05.2016, at 17:01, Dave Crossland <<a href="mailto:dave@lab6.com" target="_blank">dave@lab6.com</a>> wrote:<br><div><blockquote type="cite"><span style="font-family:FiraSans-Regular">On 18 May 2016 at 10:54, Bert Freudenberg</span> <span dir="ltr" style="font-family:FiraSans-Regular"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></span> <span style="font-family:FiraSans-Regular">wrote:</span><br><div><div class="gmail_quote" style="font-family:FiraSans-Regular;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing: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"><span>On 18.05.2016, at 16:26, Dave Crossland <<a href="mailto:dave@lab6.com" target="_blank">dave@lab6.com</a>> wrote:<br><div><blockquote type="cite"><br><div><div dir="ltr"><div class="gmail_extra">Hi</div><div class="gmail_extra"><br><div class="gmail_quote">On 18 May 2016 at 09:57, Tony Anderson<span> </span><span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span><span> </span>wrote:<br><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">Its an educational project. An example is<span> </span><a href="https://github.com/ezequielpereira/Bridge" target="_blank">https://github.com/ezequielpereira/Bridge</a>. This version of the Bridge-activity was developed as part of GCI.<span> </span><br>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> </span><br>proper xo bundle which installed and ran.<span> </span></div></blockquote><div><br></div><div>Sounds good :)</div><div> </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">However, it failed to start: import error lib/box2d_32/_Box2D.so.<br></div></blockquote><div><br></div><div>Is that error a bug in the program?</div></div></div></div></div></blockquote><br></div></span><div>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><br></div><div>Okay cool :)<br><br>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></div></span><div>The bundle can have arbitrary library folders, but the activity would need to implement selecting the right binary for the current architecture.</div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Awesome! <br><br>I filed <a href="https://github.com/sugarlabs/sugar-docs/issues/87">https://github.com/sugarlabs/sugar-docs/issues/87</a> to help raise awareness of this :)<br></div><div><br></div>-- <br><div class="gmail_signature">Cheers<br>Dave</div>
</div></div>