-
Notifications
You must be signed in to change notification settings - Fork 589
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
Maqueen Avoiding Obstacles #4812
Comments
Log: https://makecode.com/compile/dd13b0493958372b7a1c8b36291a7c639b55cbff34ae481be2e9dbd503eff21f.log w/
but hasn't changed in a while so probably on us? |
It builds OK on live after updating the Maqueen extension. |
Thanks @martinwork! This is indeed an issue of the extension being outdated. @4CodeLife you can download the latest extension by switching to typescript and clicking the refresh button next to the extension in the file explorer on the left Or, just open this project where I updated it for you: |
@riknoll Thank you for your response. I am teacher and I will be using the Maqueen Robot this school year. I am hoping that my students will not ran into the same issue as I did this week when they try to download MaQueen code. What should I have my students do they ran into a downloading issue with the MaQueen? |
Since there is a new tagged version, the students shouldn't run into this issue -- whenever you add the extension from the extensions view it grabs the latest release (1.7.0 currently). This issue would happen when someone has an old project that was created when that version of maqueen (1.2.3) was the latest version. Could you say where you got that share link from -- was it an example you got from somewhere? It looks like it was likely made back in march 2020 looking at the version history of maqueen @riknoll do you think we should add a version upgrade to targetconfig like https://github.com/microsoft/pxt-microbit/blob/master/targetconfig.json#L458 since the old version c++ doesn't work or should it be fine as is? |
@jwunderl yeah, wouldn't hurt |
@riknoll Can this be fixed, so the extension code compiles as in MakeCode v4? If not, how must extension code that uses |
I think the easiest thing to do would just be avoid the vector class for now. @mmoskal any idea why this cropped up? I would assume it's either because of the new yotta or some change in the microbit-dal |
@martinwork the easiest hack is to put a space or some comment in front of The offending line is https://github.com/microsoft/pxt/blob/master/pxtlib/cpp.ts#L677 - it copies typedefs from source files to pointers.cpp, so the prototypes can be parsed correctly. We could change that to not copy lines containing I'm not sure how this ever worked, this code has been there for 6 years. It could be that something implicitly included |
Thanks @mmoskal and @riknoll! A single space in front of |
Ce problème ne semble pas avoir été résolu car j'obtiens le même message Qulequ'un a t'il une solution ? |
Hello GitHub I am trying to download code for the maqueen onto the Microbit and I continuously get the following message: The hex file is not available, please connect to the internet and try again. However, I am connected to the internet. I tried downloading a different project on the same Microbit. That code downloaded with no problem. Does anyone have any suggestions? Please
Here is the code link:
https://makecode.microbit.org/_a34Jt9EAU02i
The text was updated successfully, but these errors were encountered: