[CMake] Cmake fails to build libssh2 - wants VC 2010 told for VC 2015 build

Barry Scott barry at barrys-emacs.org
Tue Mar 15 07:50:59 EDT 2016


On Tue, 15 Mar 2016 10:37:04 +0300
Sergei Nikulov <sergey.nikulov at gmail.com> wrote:

> Just checked with following steps
> 
> 1. Opened command window (cmd.exe)
> 2. Clone libssh2 from GitHub (git clone https://github.com/libssh2/libssh2.git)

Out of curiosity why did you ignore my steps using the tar ball and use
the git clone?

> 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 :(

I also see no problem with the git clone.

> Could you please be more specific?
> For example provide generator log for your "bug".

The conclusion I draw is that libssh2 has fixed a "bug" with its cmake
config files.

Thanks for looking at this.

Barry


More information about the CMake mailing list