Skip to content

command line tools #46

Open
Open
@JulianAL-01

Description

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

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions