Skip to content
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

Install instruct updates #133

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Install instruct updates #133

wants to merge 2 commits into from

Conversation

xckev
Copy link

@xckev xckev commented Jan 26, 2025

PR for improving installation instructions.

If you have improvements to report, please comment it on this PR and it will be added onto this branch for merge

@@ -26,7 +26,7 @@ You need Linux or macOS. On Windows, we recommend installing the Windows Subsyst
- (Recommended) ASAN (Address Sanitizer). We use this to catch memory errors early. `apt install libasan`. (If you wish to use LOST without the address sanitizer, build it with `make LOST_DISABLE_ASAN=1`, or set `export LOST_DISABLE_ASAN=1` in your `~/.bashrc` file to disable it every time you build).
- Git. On Debian, `apt install git`
- Cairo, to read and write PNGs as well as draw on them for debugging and demo purposes. You won't
need this on your CubeSat. On Debian, `apt install libcairo2-dev`. Elsewhere, follow the
need this on your CubeSat. On Debian, `sudo apt-get install libcairo2-dev`. Elsewhere, follow the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debian recommends using apt instead of apt-get when used interactively at the command-line; apt-get is only meant for use by automation.

- Install [groff]("https://formulae.brew.sh/formula/groff#default") via homebrew `brew install groff`
- If you get errors mentioning 'ASAN' or 'AddressSanitizer', try `make clean` and then `make LOST_DISABLE_ASAN=1` to disable ASAN. See the Linux section above for more details.
- On Apple Silicon, if you an error like `error: linker command failed with exit code 1` or `library 'cairo' not found`, set LIBS in the Makefile to `LIBS = -L/opt/homebrew/lib -lcairo` and add a line `CFLAGS = -I/opt/homebrew/include/cairo` under it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a user should never have to modify a makefile or other source code as part of a normal build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants