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.shiningligh tpro.com/products/
Win32OpenSSL.ht ml 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(ssleay 32MT.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
GetDesktopWindo w, MessageBoxA etc) don't think they are related with
OpenSSL..
1>libeay32MT.li b(bss_sock.obj) : error LNK2001: unresolved external symbol
_closesocket@4
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
mp__GetUserObje ctInformationW@ 20
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
_imp__GetProces sWindowStation@ 0
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__GetDeskt opWindow@0
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__MessageB oxA@16
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__Deregist erEventSource@4
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__ReportEv entA@36
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__Register EventSourceA@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.shiningligh tpro.com/products/
Win32OpenSSL.ht ml 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(ssleay 32MT.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
GetDesktopWindo w, MessageBoxA etc) don't think they are related with
OpenSSL..
1>libeay32MT.li b(bss_sock.obj) : error LNK2001: unresolved external symbol
_closesocket@4
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
mp__GetUserObje ctInformationW@ 20
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
_imp__GetProces sWindowStation@ 0
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__GetDeskt opWindow@0
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__MessageB oxA@16
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__Deregist erEventSource@4
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__ReportEv entA@36
1>libeay32MT.li b(cryptlib.obj) : error LNK2001: unresolved external symbol
__imp__Register EventSourceA@8
..
Probably something is still not completed (or not implemented) with VC2008
causing these errors.
Any help will be appreciated.
Best Regards,
Comment