-
Notifications
You must be signed in to change notification settings - Fork 178
mbed.h: No such file or directory with mbed new --mbedlib #805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-345 |
I am also having this problem. In fact there is no |
@Timmmm Are you using the same command as reported above ? Just checking , we will review I've checked the mbed lib, it contains mbed.h (I imported it in the online compiler and fetched locally to review the files as it should). |
Yes:
|
By the way I eventually found where Unfortunately it doesn't seem possible to submit a pull request to fix it. All I can do is clone it. :-/ Edit: I sent an email with a patch instead. Works for Linus... |
@Timmmm where did you send the email to? |
@0xc0170 He sent the email to me. |
@theotherjimmy @Timmmm Any progress on this? |
Hi @screamerbg, Thanks for the reminder. Hi @Timmmm, that file is part of the tools-release that we use for the online compiler. I have created a new tools release based on 5.11.3 that contains the diff you sent me in email. I'm going to test it as part of |
any news on how to build for mbed2 from mbed-cli ? I'm trying to reproduce the online compiler output for a nrf51_dongle blinkie, and am stuck at this point. |
When I download zipped archive from below:
Also, same result (missing files in the mbed 2 library) by following command:
The latest version of mbed 2 library |
@toyowata I replicated this issue as well:
|
Hey folks, I took a look and indeed |
Hey everyone, just dropping in on you all to say I've encountered this issue today with revision 65be27845400, trying to compile mbed OS 2 with mbed CLI for a STM32F042K6 eval board. Anything new on this issue ? `mbed compile --clean --target nucleo_f042k6 --toolchain GCC_ARM --profile debug [mbed] ERROR: "/usr/bin/python" returned error. |
Apologies, this was closed in error by the automated bot - re-opening. |
Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-467 |
How am i supposed to switch to the old revision? I changed my mbed.bld to
and ran
but mbed still points to the latest revision
|
Yes, this is urgent. It is no longer possible to retrieve older builds. The issue with the newer builds appears to be related to the zip command failing to complete the job. There are also a lot of missing targets in the archive. |
Still a problem. I'm tested the method below on Ubuntu 16.04 LTS and 18.04 LTS (both with all updates), I have done the following steps:
and got the following:
and even reverting to
does not help. So there is no reproducible way to use Mbed OS 2. |
is there any way to bump up the priority of this problem? Its been OVER A YEAR and this entire mbed platform remains COMPLETELY USELESS AND BROKEN. |
not sure about python2 but with python 3 on 18.04 manually install pyelftools and i think it worked after that, sorry for a little vague, going off memory |
If you use the fix in #969 then the manual download should not be needed. With this fix, |
FYI. The step below works for me.
|
It is all great, but
So there is still nothing to compile. Any thoughts? |
Hi @N0rbert mbed new commandAs reported here, library version You can use the hash version Open the
Then deploy again with cache off.
Importing the mbed_blinkyI think the
|
Thanks @toyowata. Edit: What actually fixed it for me was that I needed to revert my |
@toyowata thanks, but it fails.
ends with strange thing that e95d10626187 is not a e95d10626187, it is 65be27845400:
|
hmm, it seems the Mbed-CLI download latest release of the library. Now, my suggestion to use this step: |
mbed new --mbedlib
not expand .h files.Does
https://mbed.org/users/mbed_official/code/mbed/builds/3a7713b1edbc
has problem?The text was updated successfully, but these errors were encountered: