Hi everyone,
I'm trying to implement sockets with Crypto++ and I'm using the
socketft.h. For now, I would like to create a simple test socket
program to see how I can do it with Crypto++. But I keep getting
linking errors. I would really appreciate some help :)
The following small code gives me linking errors:
#include "stdafx.h"
#include "socketft.h"
#define USE_WINDOWS_STYLE_SOCKETS
#ifdef CRYPTOPP_WIN32_AVAILABLE
#include <windows.h>
#endif
USING_NAMESPACE(CryptoPP)
USING_NAMESPACE(std)
int _tmain(int argc, _TCHAR* argv[])
{
//ForwardTcpPort("test", "localhost", "9977");
#ifdef SOCKETS_AVAILABLE
SocketsInitializer sockInit;
#endif
return 0;
}
Linking...
Crytpto++SocketsTEST.obj : error LNK2001: unresolved external symbol
"public: static void __cdecl CryptoPP::Socket::StartSockets(void)" (?
StartSockets@Socket@CryptoPP@@SAXXZ)
Crytpto++SocketsTEST.obj : error LNK2001: unresolved external symbol
"public: static void __cdecl
CryptoPP::Socket::ShutdownSockets(void)" (?
ShutdownSockets@Socket@CryptoPP@@SAXXZ)
LINK : error LNK2001: unresolved external symbol _NtProcessStartup
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.