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

command line tools #46

Open
JulianAL-01 opened this issue Aug 4, 2020 · 1 comment
Open

command line tools #46

JulianAL-01 opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@JulianAL-01
Copy link

Not a bug with the repo, but a behavioural quirk with macOS and CLT that users might want to be aware of.

With command line tools and xcode installed, on ./setup.sh cmake can fail by not finding c or cxx compiler.

If this happens run:

sudo xcode-select --reset

Re-run ./setup.sh and it should complete without any errors. If it still fails then the envronmental variables will need to be manually exported, therefore find the paths to your compilers:

xcrun -find c++
xcrun -find cc

and then run:

cmake -D CMAKE_C_COMPILER="/path/to/your/c/compiler/executable" -D CMAKE_CXX_COMPILER "/path/to/your/cpp/compiler/executable" .....

Re-run ./setup.sh

@dowem
Copy link
Contributor

dowem commented Aug 5, 2020

Thank you for the information @JulianAL-01 ... I will tag in @boland25 to see if we can maybe automate this in a future point release, or add it to ur documentation if we get a FAQ or something going! I will leave this open for now in case others run into this!

@dowem dowem added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants