[CMake] Cmake fails to build libssh2 - wants VC 2010 told for VC 2015 build
Sergei Nikulov
sergey.nikulov at gmail.com
Tue Mar 15 03:37:04 EDT 2016
2016-03-14 17:44 GMT+03:00 Barry Scott <barry at barrys-emacs.org>:
> Windows 10 with Cmake 3.4.3 or 3.5.0.
> I have the following Visual C versions installed.
>
> Microsoft Visual Studio 14.0
> Microsoft Visual Studio 12.0
> Microsoft Visual Studio 11.0
> Visual C++ for Python
>
...snip...
> Why is CMAKE trying to use anything from VC 2010?
>
> Can I work around this bug?
Just checked with following steps
1. Opened command window (cmd.exe)
2. Clone libssh2 from GitHub (git clone https://github.com/libssh2/libssh2.git)
3. Change dir to libssh2 (cd libssh2)
4. Create folder build (mkdir build)
5. Change dir to build (cd build)
6. Generate build for MSVS 2015 (cmake .. -G"Visual Studio 14 Win64")
7. Build it (cmake --build . --config Release)
And see no any problems :(
Could you please be more specific?
For example provide generator log for your "bug".
Thank you.
> Removing VC 2010 is reasonable workaround.
>
> Barry
> --
>
> 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
--
Best Regards,
Sergei Nikulov
More information about the CMake
mailing list