Re: [CMake] Windows Visual Studio 13 with Ninja & CMake
On 9/22/2016 1:58 PM, Michael Jackson wrote: My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 Update 5, Ninja and CMake 3.5/3.6. I launch CMake-GUI.exe, select my Source and binary directories and then "Configure", select "Ninja" as the generator and then I instantly get the error that CMake can not find the C/C++ compilers. I do not recall ever having this issue. I just recently updated Windows 10 to the latest so I am not sure if that caused something to go wrong? I use the "Zipped" version of CMake if that makes a difference. I did have to install the "Windows 8.1 SDK" in order for QtCreator to work correctly. I can successfully do the following: * Configure and generate from the command line for Ninja * Use the CMake-Gui to generate a VS 12 2013 solution file without any issues. * QtCreator 4.1 can use ninja to properly generate its own projects with a correctly detected compiler. Thoughts? You have to run cmake-gui from an environment that has been setup to run the compiler. VS command prompt. If you run cmake-gui from a menu or clicking on an icon it won't have that and things won't work unless you use the VS generator which does not require a special environment. -Bill -- 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: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Windows Visual Studio 13 with Ninja & CMake
Yes. It works from there. BUT I run a custom command prompt through a variation of the standard "vcvarsall.bat" file where I add in my own environment variables but essentially it is the standard Visual Studio Command Prompt. Thanks Mike Jackson _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Thu, Sep 22, 2016 at 2:22 PM, David Colewrote: > Does it work if you launch cmake-gui from the command prompt that > works for your "from the command line" scenario? > > On Thu, Sep 22, 2016 at 1:58 PM, Michael Jackson > wrote: > > My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 > > Update 5, Ninja and CMake 3.5/3.6. > > > > I launch CMake-GUI.exe, select my Source and binary directories and then > > "Configure", select "Ninja" as the generator and then I instantly get the > > error that CMake can not find the C/C++ compilers. I do not recall ever > > having this issue. I just recently updated Windows 10 to the latest so I > am > > not sure if that caused something to go wrong? I use the "Zipped" > version of > > CMake if that makes a difference. I did have to install the "Windows 8.1 > > SDK" in order for QtCreator to work correctly. > > > > I can successfully do the following: > > * Configure and generate from the command line for Ninja > > * Use the CMake-Gui to generate a VS 12 2013 solution file without any > > issues. > > * QtCreator 4.1 can use ninja to properly generate its own projects with > a > > correctly detected compiler. > > > > Thoughts? > > -- > > Michael A. Jackson > > BlueQuartz Software > > -- > > > > 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: > > http://public.kitware.com/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: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] Windows Visual Studio 13 with Ninja & CMake
Does it work if you launch cmake-gui from the command prompt that works for your "from the command line" scenario? On Thu, Sep 22, 2016 at 1:58 PM, Michael Jacksonwrote: > My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 > Update 5, Ninja and CMake 3.5/3.6. > > I launch CMake-GUI.exe, select my Source and binary directories and then > "Configure", select "Ninja" as the generator and then I instantly get the > error that CMake can not find the C/C++ compilers. I do not recall ever > having this issue. I just recently updated Windows 10 to the latest so I am > not sure if that caused something to go wrong? I use the "Zipped" version of > CMake if that makes a difference. I did have to install the "Windows 8.1 > SDK" in order for QtCreator to work correctly. > > I can successfully do the following: > * Configure and generate from the command line for Ninja > * Use the CMake-Gui to generate a VS 12 2013 solution file without any > issues. > * QtCreator 4.1 can use ninja to properly generate its own projects with a > correctly detected compiler. > > Thoughts? > -- > Michael A. Jackson > BlueQuartz Software > -- > > 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: > http://public.kitware.com/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: http://public.kitware.com/mailman/listinfo/cmake
[CMake] Windows Visual Studio 13 with Ninja & CMake
My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 Update 5, Ninja and CMake 3.5/3.6. I launch CMake-GUI.exe, select my Source and binary directories and then "Configure", select "Ninja" as the generator and then I instantly get the error that CMake can not find the C/C++ compilers. I do not recall ever having this issue. I just recently updated Windows 10 to the latest so I am not sure if that caused something to go wrong? I use the "Zipped" version of CMake if that makes a difference. I did have to install the "Windows 8.1 SDK" in order for QtCreator to work correctly. I can successfully do the following: * Configure and generate from the command line for Ninja * Use the CMake-Gui to generate a VS 12 2013 solution file without any issues. * QtCreator 4.1 can use ninja to properly generate its own projects with a correctly detected compiler. Thoughts? -- Michael A. Jackson BlueQuartz Software -- 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: http://public.kitware.com/mailman/listinfo/cmake