[CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project

Robert Maynard robert.maynard at kitware.com
Thu Jan 17 10:29:14 EST 2019


If the problem only occurs when using the command line shell it might be
related to other environment variables in the shell.

On Tue, Jan 15, 2019 at 5:20 AM Kail, Rajmund (GE Healthcare) <
Rajmund.Kail at ge.com> wrote:

> Dear All,
>
>
>
> I have another observation. The project is generated normally via
> cmake_gui.exe. The issue occurs only in cmd.
>
>
>
> Thank you in advance for your kind help,
>
>
>
> Best regards,
>
>
>
> Rajmund Kail
>
>
>
> *From:* Kail, Rajmund (GE Healthcare)
> *Sent:* Tuesday, January 15, 2019 11:10 AM
> *To:* cmake at cmake.org
> *Subject:* [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual
> Studio 2017 Project
>
>
>
> Dear All,
>
>
>
> I’m contacting you, because we are having issues with CMake a few days ago
> and it makes our daily work very difficult.
>
>
>
> The problem is that CMake cannot configure and generate a Visual Studio
> solution from an existing C++ codebase. We are attempting to generate a
> Visual Studio 2017 64-bit solution.
>
>
>
> As per the error message VCTargetsPath is not found, so MSBuild is
> crashing after a few seconds.
>
>
>
>
>
> I tried running MSBuild.exe in developer console, but it displays nothing
> at all. (The error code is 0x05).
>
>
>
>
>
> MSBuild.exe is executing in Powershell however.
>
>
>
>
>
> My question is how could we overcome the above issue? Could you please
> give us some possible workarounds or what direction should we take in order
> to investigate?
>
>
>
> Thank you in advance for your kind assistance,
>
>
>
> Best regards,
>
>
>
> Rajmund Kail
>
> C++ Software Engineer
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190117/315ae1ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8837 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20190117/315ae1ca/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 3517 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20190117/315ae1ca/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 18418 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20190117/315ae1ca/attachment-0005.png>


More information about the CMake mailing list