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

RE: Building ssh on Windows


After reinstalling OpenSSL and fixing my registry, I was able to fix most of the build problem. 
Still my build complains on missing symbols related to ZLIB

1>gzip.obj : error LNK2019: unresolved external symbol _deflate referenced in function _gzip_compress
1>gzip.obj : error LNK2019: unresolved external symbol _deflateInit_ referenced in function _initcompress
1>gzip.obj : error LNK2019: unresolved external symbol _inflate referenced in function _gzip_decompress
1>gzip.obj : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _initdecompress
1>wrapper.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function _crypto_free
1>wrapper.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function _crypto_free

Any suggestion will be greatly appreciated.

Thanks

Boris Zeldin
EMC Corp




-----Original Message-----
From: Andreas Schneider [mailto:asn@xxxxxxxxxxxxxx] 
Sent: Thursday, August 23, 2012 4:10 AM
To: libssh@xxxxxxxxxx
Subject: Re: Building ssh on Windows

On Wednesday 22 August 2012 15:08:52 you wrote:
> I am struggling to build ssh library for Windows
> Are there instructions how to set and to run cmake  to build ssh library.

I download zlib and ssl from here:

http://www.winimage.com/zLibDll/
http://www.winimage.com/zLibDll/zlib125dll.zip

http://slproweb.com/products/Win32OpenSSL.html
http://slproweb.com/download/Win32OpenSSL-1_0_1c.exe

I install them both in C:\Program Files


Then I start cmake, select Visual Studio or MinGW and click on configure. 
OpenSSL and ZLIB are automatically found.

Then I call make or click on compile in VS. I'm not a Windows user but it 
can't be easier. I wonder what all you guys are doing to not get it working.


	-- andreas

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




References:
Building ssh on Windows"Zeldin, Boris" <boris.zeldin@xxxxxxx>
Re: Building ssh on WindowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org