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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Kail, Rajmund (GE Healthcare)

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
Reply | Threaded
Open this post in threaded view
|

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

Kail, Rajmund (GE Healthcare)

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: [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

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

CMake mailing list
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) <[hidden email]> 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: [hidden email]
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