-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update yaml-cpp installation on MacOS
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,15 +114,15 @@ brew install eigen | |
|
||
### 2. Installing yaml-cpp | ||
|
||
The straightforward way to install yaml-cpp library through brew was, as for hte end 2023, not functional | ||
The straightforward way to install yaml-cpp library through brew was, as for the end of 2023, not functional | ||
```bash | ||
brew install yaml-cpp | ||
``` | ||
Instead, you can install the library from sources. Follow https://github.com/jbeder/yaml-cpp/tree/master | ||
```bash | ||
mkdir ~/Libraries/ | ||
cd ~/Libraries | ||
git clone [email protected]:jbeder/yaml-cpp.git | ||
git clone -b yaml-cpp-0.7.0 [email protected]:jbeder/yaml-cpp.git | ||
cd yaml-cpp | ||
``` | ||
Now you can compile and install yaml-cpp by entering the following commands | ||
|
@@ -131,7 +131,7 @@ Now you can compile and install yaml-cpp by entering the following commands | |
SRC_DIR=$PWD | ||
BUILD_DIR=${SRC_DIR}/build | ||
mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} | ||
cmake .. | ||
cmake -DBUILD_TESTING=FALSE .. | ||
make | ||
sudo make install | ||
``` | ||
|