Add vcpkg compilation with gtsam in INSTALL.md doc#2269
Add vcpkg compilation with gtsam in INSTALL.md doc#2269dellaert merged 1 commit intoborglab:developfrom
Conversation
09a8ba2 to
aea75d8
Compare
|
Ah, maybe I miscommunicated. I do know how to install GTSAM with WSL, it’s basically Linux. |
|
Also, any comments on #2268 ? |
|
This section is explain how to install gtsam with vcpkg library on wsl / linux. Not with linux/wsl libraries. I just notice #2268. Thank you for let me know. I will comment there also. |
Gold856
left a comment
There was a problem hiding this comment.
Remove --config Release. You've selected the Ninja generator, which isn't a multi-config generator, so --config Release is useless.
For Visual Studio (msvc) is a multi-generator, we need to use --config. |
aea75d8 to
ac11e2d
Compare
|
You're conflating the compiler with the build system. The Visual Studio generator (MSBuild) is not the same thing as MSVC. We are using the Ninja generator with the MSVC compiler, which means --config is completely ignored. If you do not pass |
|
On the windows section we need to explain that we remove the --config because of the Ninja. Ninja is a single-config generator. |
Add vcpkg section in INSTALL.md doc.
Explain how to compile gtsam with vcpkg
@dellaert
As for your request, I added a section in INSTALL.md doc that compile gtsam with vcpkg.
commands taken from CI and adapt for linux/wsl in local.