On Wed, Oct 5, 2016 at 8:09 AM, Abderrahim HAJJI SOUALFI <[email protected]
> wrote:
> I followed those steps to link crypto++ to omnet++ :
>
> 1. Build the crypto++ project (without errors : “libcryptopp.a”
> created) ;
>
> 2. Build my project (without errors : “myproject.exe” created) ;
>
> 3. Link my project to crypto++ library ;
>
> 4. Rebuild my project (with errors : “undefined reference” in
> socketft.cpp file) :
>
A quick search reveals you should link to the winsock library on Windows.
The library name is Ws2_32.lib.
You can put the following in you code to signal to MS toolchains to link it:
# pragma comment (lib, "ws2_32");
I have no idea if it works with OMNet++. Please ask on a OMNet++ mailing
list.
Jeff
--
--
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.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.