[Microbit-Python] Halp! Reinstalled OS and can't build firmware anymore.

Damien George damien.p.george at gmail.com
Tue Nov 24 10:38:37 EST 2015


Larry, did you find a solution to this?  We have another report of the
same problem: https://github.com/bbcmicrobit/micropython/issues/109

On Thu, Nov 12, 2015 at 9:24 AM, Larry Hastings <larry at hastings.org> wrote:
> I wrote the instructions on adding the PPAs ;-)
>
> Yes, I ran the stuff in the README.  I actually open the README and
> copy-and-paste it into my shell.  And I added the PPAs in the list.  But it
> appears there's some other thing missing--either that, or, the PPAs aren't
> entirely ready for the recently-shipped Ubuntu 15.10.
>
>
> On Thu, Nov 12, 2015 at 12:27 AM, Nicholas H.Tollervey <ntoll at ntoll.org>
> wrote:
>>
>> Larry,
>>
>> Apologies if this sounds funny, but can you confirm that you've followed
>> all the instructions in the README file? I notice there are a couple of
>> PPAs that need adding and you also need to tell yotta to target
>> bbc-microbit-classic-gcc-nosd.
>>
>> I'm only asking because, on far too many occasions, I have missed
>> something in the README. Consider this a pre-flight check to ensure that
>> we're all on the same page that, "yes, I did follow all the bloody
>> instructions in the README Nicholas, thankyouverymuch" and thus
>> something more fundamental has broken. ;-)
>>
>> I'll spin up a virtualized Ubuntu and have a go myself over lunch (I've
>> just arrived at "real work" [tm] to an inbox full of "ugh").
>>
>> All the best,
>>
>> Nicholas.
>>
>> On 12/11/15 03:57, Larry Hastings wrote:
>> >
>> > I /should/ be current with microbit / micropython / yotta modules.  But
>> > I installed Ubuntu 15.10, and it turns out my "prebuild.sh" is
>> > insufficient to get all the dependencies.  When I start a build I get
>> > this error right away:
>> >
>> >     In file included from
>> >
>> > /home/larry/src/microbit/microbit-micropython/yotta_modules/mbed-classic/api/Timer.h:19:0,
>> >                      from
>> >
>> > /home/larry/src/microbit/microbit-micropython/yotta_modules/mbed-classic/common/Timer.cpp:16:
>> >
>> > /home/larry/src/microbit/microbit-micropython/yotta_modules/mbed-classic/api/platform.h:25:19:
>> >     fatal error: cstddef: No such file or directory
>> >      #include <cstddef>
>> >                        ^
>> >
>> >
>> > This sure looks like libstdc++ to me.  I installed every likely-looking
>> > libstdc++ library I could find in the package manager.  No joy.
>> >
>> > Anybody go from 0 to compiling on Ubuntu recently?
>> >
>> > Anxiously yours,
>> >
>> >
>> > //arry/
>> >
>> >
>> > _______________________________________________
>> > Microbit mailing list
>> > Microbit at python.org
>> > https://mail.python.org/mailman/listinfo/microbit
>> >
>>
>>
>>
>> _______________________________________________
>> Microbit mailing list
>> Microbit at python.org
>> https://mail.python.org/mailman/listinfo/microbit
>>
>
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>


More information about the Microbit mailing list