i'm download putty source code from website.
and open putty.dsw file.
VS2010 auto convert that project files.
finally. just build only putty.
but i got this message.
Error 27 error C1189: #error : You must define one of SECURITY_WIN32, SECURITY_KERNEL, or c:\program files (x86)\microsoft sdks\windows\v7.0a\include\sspi.h 60 1 putty
Error 35 error C1189: #error : You must define one of SECURITY_WIN32, SECURITY_KERNEL, or c:\program files (x86)\microsoft sdks\windows\v7.0a\include\sspi.h 60 1 putty
Preprocessor Definitions
WIN32
_DEBUG
_WINDOWS
and Not Using Precompiled Headers.
i googled. so i found putty build from cygwin.
but just wondering about how to build putty at vs2010.
as Matthias said above, you need to add a line like
#define SECURITY_WIN32
to the putty.h file. Don't add/define SECURITY_KERNEL
that's what caused additional errors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With