# CMake configure issues due to MSVC version

**URL:** <https://forum.rtmaps.com/t/cmake-configure-issues-due-to-msvc-version/170>\
**Category:** General\
**Created:** [March 23, 2025, 8:18am UTC](https://forum.rtmaps.com/t/cmake-configure-issues-due-to-msvc-version/170 "2025-03-23T08:18:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dparikh](https://forum.rtmaps.com/user_avatar/forum.rtmaps.com/dparikh/32/39_2.png) [@dparikh](https://forum.rtmaps.com/u/dparikh)\
**Post date:** [March 23, 2025, 8:18am UTC](https://forum.rtmaps.com/t/cmake-configure-issues-due-to-msvc-version/170/1 "2025-03-23T08:18:12Z")

</div>

Some of our members have been running into an issue with v17 of the MSVC and VS Build Tools, where CMake won’t configure for any of the MSVC kits, due to the following error from rtmaps.cmake

 ![image](https://forum.rtmaps.com/uploads/default/original/1X/f3fa68d64b87421280adaa4f415477e6f8b25829.png)

In the past, we added the following to our CMakeLists.txt files in order to satisfy a different rtmaps.cmake issue  
 ![image](https://forum.rtmaps.com/uploads/default/original/1X/37c2a3c5294c044502dea71468cd3a4fd7ccd1cf.png)  
but unfortunately the exact version of the VS Build Tools wasn’t recorded at the time. We know that it was Build Tools 2022, same as the ones the newer members installed on their windows machines.

---

<div class="post-metadata">

**Author:** ![llemke](https://forum.rtmaps.com/user_avatar/forum.rtmaps.com/llemke/32/53_2.png) [@llemke](https://forum.rtmaps.com/u/llemke)\
**Post date:** [March 24, 2025, 11:44am UTC](https://forum.rtmaps.com/t/cmake-configure-issues-due-to-msvc-version/170/2 "2025-03-24T11:44:25Z")

</div>

Make sure you have rtmaps\_sdk-cmake package updated to version 2.10.0. This added support for Visual Studio 2022. Also RTMaps 4.13 added official support for VS Code, so that additional line in the CMakeLists.txt is no longer needed then.
