T
Tan
Hi folk,
I'm trying to install latest OpenSSL version in VS2008 Express Edition
on WinXP. I have downloaded and installed the redistributable for VC+
+2008 (including SP1), and also installed the latest version of pre-compiled
version of OpenSSL from /www.shininglightpro.com/products/
Win32OpenSSL.html website. So AFAIK there is no need for Perl script
compilation and NASM, MASM issue as long as I have the pre-compiled
binaries. If I'm mistaken please correct me? I'm sure that I have set
VC++2008
search directory/path and Additional dependency directory
properly(ssleay32MT.lib, libeay32MD.lib, etc..). But when i run the code,
even with the simple code as that
#include "stdafx.h"
#include "stdlib.h"
#include "winsock.h"
//OPENSSL INCLUSION HEADERS
#include "openssl/ssl.h"
#include <openssl/ssl3.h>
#include <openssl/x509.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
int _tmain(int argc, _TCHAR* argv[])
{
printf("New console application has been created\n");
}
I get many linker errors, it seems at the start of the line,
libeay32MT.lib is loaded but probelm with bss_sock.obj, cryptlib exist.
Those
errors and fuctions seems like Win native functions (such as
GetDesktopWindow, MessageBoxA etc) don't think they are related with
OpenSSL..
1>libeay32MT.lib(bss_sock.obj) : error LNK2001: unresolved external symbol
_closesocket@4
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
mp__GetUserObjectInformationW@20
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
_imp__GetProcessWindowStation@0
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__GetDesktopWindow@0
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__MessageBoxA@16
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__DeregisterEventSource@4
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__ReportEventA@36
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__RegisterEventSourceA@8
..
Probably something is still not completed (or not implemented) with VC2008
causing these errors.
Any help will be appreciated.
Best Regards,
I'm trying to install latest OpenSSL version in VS2008 Express Edition
on WinXP. I have downloaded and installed the redistributable for VC+
+2008 (including SP1), and also installed the latest version of pre-compiled
version of OpenSSL from /www.shininglightpro.com/products/
Win32OpenSSL.html website. So AFAIK there is no need for Perl script
compilation and NASM, MASM issue as long as I have the pre-compiled
binaries. If I'm mistaken please correct me? I'm sure that I have set
VC++2008
search directory/path and Additional dependency directory
properly(ssleay32MT.lib, libeay32MD.lib, etc..). But when i run the code,
even with the simple code as that
#include "stdafx.h"
#include "stdlib.h"
#include "winsock.h"
//OPENSSL INCLUSION HEADERS
#include "openssl/ssl.h"
#include <openssl/ssl3.h>
#include <openssl/x509.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
int _tmain(int argc, _TCHAR* argv[])
{
printf("New console application has been created\n");
}
I get many linker errors, it seems at the start of the line,
libeay32MT.lib is loaded but probelm with bss_sock.obj, cryptlib exist.
Those
errors and fuctions seems like Win native functions (such as
GetDesktopWindow, MessageBoxA etc) don't think they are related with
OpenSSL..
1>libeay32MT.lib(bss_sock.obj) : error LNK2001: unresolved external symbol
_closesocket@4
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
mp__GetUserObjectInformationW@20
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
_imp__GetProcessWindowStation@0
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__GetDesktopWindow@0
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__MessageBoxA@16
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__DeregisterEventSource@4
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__ReportEventA@36
1>libeay32MT.lib(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__RegisterEventSourceA@8
..
Probably something is still not completed (or not implemented) with VC2008
causing these errors.
Any help will be appreciated.
Best Regards,