Re: [CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project
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.k...@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@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 > -- 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
Re: [CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project
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@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. [cid:image002.png@01D4ACC5.51C58160] I tried running MSBuild.exe in developer console, but it displays nothing at all. (The error code is 0x05). [cid:image003.png@01D4ACC5.51C58160] MSBuild.exe is executing in Powershell however. [cid:image004.png@01D4ACC5.51C58160] 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
[CMake] [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. [cid:image002.png@01D4ACC2.D50710F0] I tried running MSBuild.exe in developer console, but it displays nothing at all. (The error code is 0x05). [cid:image003.png@01D4ACC2.D50710F0] MSBuild.exe is executing in Powershell however. [cid:image001.png@01D4ACC2.953023E0] 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