Skip to content

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

- 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.

- Locate the eigen3 folder within the 'include' directory of the installed Eigen package. Move it into the vendor directory so that the eigen files are in `vendor/eigen3/Eigen` under the LOST repository
- 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.

3 participants