Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCan you replicate the examples on macOS? #7
Comments
japaric
added
help wanted
Blocks Rust 2018
labels
Aug 2, 2018
japaric
added this to the RC1 milestone
Aug 2, 2018
This comment has been minimized.
This comment has been minimized.
tekjar
commented
Aug 4, 2018
|
I can do this |
japaric
self-assigned this
Aug 7, 2018
This comment has been minimized.
This comment has been minimized.
|
@tekjar Thanks! To clarify: do you mean you can run the examples on macOS? Or that you would test this (but haven't yet)? |
This comment has been minimized.
This comment has been minimized.
tekjar
commented
Aug 7, 2018
|
Oops. Sorry for the confusion. Yet to test. |
This comment has been minimized.
This comment has been minimized.
odunboye
commented
Aug 9, 2018
|
@japaric I have tested the example in Memory layout page and got the follow error :
What could be the issue? |
This comment has been minimized.
This comment has been minimized.
|
@odunboye sounds like you are compiling the program for the host instead of cross compiling. Did you set up a default build target in |
This comment has been minimized.
This comment has been minimized.
odunboye
commented
Aug 9, 2018
|
@japaric I was able to compile it by setting the |
This comment has been minimized.
This comment has been minimized.
odunboye
commented
Aug 10, 2018
|
@japaric I was able to test the example up until the very last one where I can't generate the "release" version of the output like target/thumbv7m-none-eabi/release/app but was able to compile to the debug output. |
This comment has been minimized.
This comment has been minimized.
|
Try using the --release argument when building. Note to self: add this missing info to the book. |
This comment has been minimized.
This comment has been minimized.
twilco
commented
Sep 11, 2018
|
I ran through the whole thing (almost) without issue on MacOS 10.12.6. I did run into issues with the
However, things mostly worked :). Looking at flutter/flutter#17803, there is probably some brew/Python finagling that could be done to make it work. Might be worth noting in the |
This comment has been minimized.
This comment has been minimized.
|
@twilco thanks for the report. Some windows users are also having trouble with lldb so I think we'll recommend gdb instead of lldb.
Thanks for the info! I'll add a small section to the preface covering how to install the tools on macOS. |
japaric commentedAug 2, 2018
Let us know if you had to significantly deviate from the instructions!