<div dir="ltr">or copy ucrtbased.dll into your program directory...<div>ucrtbaseD.dll is the debug version, and is only installed with the compilers, and not just the windows kits(?).</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 8:47 AM, TT <span dir="ltr"><<a href="mailto:tenorsax@gmail.com" target="_blank">tenorsax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having the same problem with "missing" ucrtbased.dll even though it is<br>
present in all the platforms under C:\Program Files (x86)\Windows<br>
Kits\10\bin\<br>
<br>
I have tried reinstalling the Windows SDK and the Microsoft C++ Build Tools<br>
(2015).<br>
<br>
Here are some related links with no solutions:<br>
<br>
1)<br>
<a href="https://social.msdn.microsoft.com/Forums/en-US/25a64cd8-1482-4cc4-9dbb-3a420c7a31be/visual-c-build-tools-doesnt-install-ucrtbaseddll?forum=vssetup" rel="noreferrer" target="_blank">https://social.msdn.microsoft.<wbr>com/Forums/en-US/25a64cd8-<wbr>1482-4cc4-9dbb-3a420c7a31be/<wbr>visual-c-build-tools-doesnt-<wbr>install-ucrtbaseddll?forum=<wbr>vssetup</a><br>
 - I can't reinstall Visual Studio, because I never installed it, only the<br>
aforementioned Build Tools.<br>
<br>
2)<br>
<a href="http://stackoverflow.com/questions/33743493/why-visual-studio-2015-cant-run-exe-file-ucrtbased-dll/41970093" rel="noreferrer" target="_blank">http://stackoverflow.com/<wbr>questions/33743493/why-visual-<wbr>studio-2015-cant-run-exe-file-<wbr>ucrtbased-dll/41970093</a><br>
 - This one says "This problem is from VS 2015 silently failing to copy<br>
ucrtbased.dll (debug) and ucrtbase.dll (release) into the appropriate system<br>
folders.."<br>
<br>
Here is a recent answer that seems to be getting at the root cause of the<br>
problem:<br>
<a href="http://stackoverflow.com/a/35466136/3066295" rel="noreferrer" target="_blank">http://stackoverflow.com/a/<wbr>35466136/3066295</a><br>
<br>
Which links to this,<br>
<a href="https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/" rel="noreferrer" target="_blank">https://blogs.msdn.microsoft.<wbr>com/vcblog/2015/03/03/<wbr>introducing-the-universal-crt/</a><br>
<br>
Which has a comment part way down that says "When debugging on machines that<br>
do not have the Windows SDK installed, we would recommend copying the debug<br>
Universal CRT (ucrtbased.dll) app-locally with your app, or copying it to<br>
the system directory yourself."<br>
<br>
So the solution seems to be install either the Windows SDK (10 not just 8.1<br>
as I have) or copy the ucrtbased.dll to C:\Windows\System32<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/CMake-with-VS2015-C-Build-Tools-and-missing-ucrtbased-dll-tp7593931p7595151.html" rel="noreferrer" target="_blank">http://cmake.3232098.n2.<wbr>nabble.com/CMake-with-VS2015-<wbr>C-Build-Tools-and-missing-<wbr>ucrtbased-dll-<wbr>tp7593931p7595151.html</a><br>
Sent from the CMake mailing list archive at Nabble.com.<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>