[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Steps required to compile libssh on windows


I ran into the same sort of issues last week trying to compile 0.5.5.  Try setting:

"Where is the source code" to the root of the source (ie d:\libssh-0.5.5)
"Where to build the binaries" to a location you want the make/project files to be put for building (ie d:\libssh-0.5.5\bin)

Then hit Configure, for me I had to point cmake-gui at the location of the ZLIB include directory and the zlib lib file and it automatically found OpenSSL.

At that point it successfully Confiugred and I was able to hit Generate.

Im not sure if 0.6.0 is going to be any different.

-----Original Message-----
From: Ravikumar Sunkari [mailto:Ravikumar.Sunkari@xxxxxxxxxxxxxx] 
Sent: Wednesday, October 30, 2013 4:37 AM
To: libssh@xxxxxxxxxx
Subject: RE: Steps required to compile libssh on windows

Hello Andreas,

I am trying to compile libssh-0.6.0rc1 source.

Thanks & Regards,
Ravikumar.S

-----Original Message-----
From: Andreas Schneider [mailto:asn@xxxxxxxxxxxxxx]
Sent: Wednesday, October 30, 2013 1:39 PM
To: libssh@xxxxxxxxxx
Subject: Re: Steps required to compile libssh on windows

On Wednesday 30 October 2013 04:39:45 Ravikumar Sunkari wrote:
> Hello Andreas,

Hi,

> I have followed the link and tried to get the ssh library, but landed 
> in the following error. I am using Visual studio 2010.
 
> Error report from CMake.,
> 
> "CMake Error at CMakeLists.txt:222 (install):
>   install Library TARGETS given no DESTINATION!

The CMakeLists.txt in the root source dir doesn't have this many lines and the line in src/CMakeLists.txt is empty. I don't know what project you're trying to compile.

> 
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such 
> as
> 
>     cmake_minimum_required(VERSION 2.8)
> 
>   should be added at the top of the file.  The version specified may 
> be lower
 if you wish to support older CMake versions for this project.  For
> more information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it."

asn@magrathea:~/workspace/projects/libssh> cat CMakeLists.txt project(libssh C)

# Required cmake version
cmake_minimum_required(VERSION 2.6.0)
...

The line is present. I dunno which project you try to compile ...


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx





References:
Steps required to compile libssh on windowsAshish Mangla <Ashish.Mangla@xxxxxxxxxxxxxx>
Re: Steps required to compile libssh on windowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
RE: Steps required to compile libssh on windowsRavikumar Sunkari <Ravikumar.Sunkari@xxxxxxxxxxxxxx>
Re: Steps required to compile libssh on windowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
RE: Steps required to compile libssh on windowsRavikumar Sunkari <Ravikumar.Sunkari@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org