Config
Log for #openttd on 13th September 2023:
Times are UTC Toggle Colours
00:26:28  *** Flygon has joined #openttd
06:14:24  *** Rubidium_ has joined #openttd
06:14:48  *** _Artea has joined #openttd
06:16:09  *** Rubidium has quit IRC
06:16:58  *** Artea has quit IRC
22:44:55  <xplusc> Yup, done.
22:45:07  <xplusc> It's not in MSVC anymore.
22:45:45  <_glx_> it should now use your vcpkg and everything will be fine
22:53:13  <_glx_> https://devblogs.microsoft.com/cppblog/vcpkg-is-now-included-with-visual-studio/
22:55:15  <_glx_> oh it seems we should be able to auto install our deps
23:04:34  <xplusc> So, that still doesn't get MSVC to see my instal of vcpkg.
23:07:14  <_glx_> cleared cmake cache ?
23:07:48  <xplusc> No, let me try that.
23:16:01  <xplusc> Ok that didn't do anything. I see now that VCPKG_ROOT is undefined.
23:16:16  <xplusc> It used to point to MSVC's version of vcpkg.
23:16:26  <xplusc> Now it just doesn't exist I guess.
23:16:44  <xplusc> The toolchain filepath still tries to use it of course.
23:17:12  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11295: Doc: Replace plain URLs to OpenGFX/SFX/MSX with Markdown links. https://github.com/OpenTTD/OpenTTD/pull/11295
23:25:47  <_glx_> maybe need `vcpkg integrate remove` then `vcpkg integrate install` and a restart of VS
23:27:25  *** Flygon has joined #openttd
23:31:55  <xplusc> Tried already.
23:32:02  <xplusc> HOWEVER, I got it fixed.
23:32:27  <xplusc> https://cdn.discordapp.com/attachments/1008473233844097104/1151661703860342875/image.png
23:32:27  <xplusc> Loaded this existing save.
23:34:11  <xplusc> https://cdn.discordapp.com/attachments/1008473233844097104/1151662137614286868/image.png
23:34:11  <xplusc> I just changed the `cacheVariables` in `CMakePresets.json`:
23:35:10  <xplusc> Instead of using `VCPKG_ROOT`, which was now undefined, I just put the absolute path in as a whole.
23:40:32  <_glx_> `VCPKG_ROOT` is set with `vcpkg integrate install` IIRC

Powered by YARRSTE version: svn-trunk