Add "Ws2_32.lib" without quotes to Linker->input in your visual studio project.
On Friday, May 9, 2014 10:21:20 PM UTC+5:30, Chibueze Ogah wrote: > > Hi I have a similar issue here. Did you try this in Windows or Linux? > > On Tuesday, 8 September 2009 02:54:21 UTC+1, ka-bar wrote: >> >> Try this: >> #pragma comment(lib,"Ws2_32.lib") >> Add it to your file. >> >> >> ka-bar >> >> -------------------------------------------------- >> From: "mm" <[email protected]> >> Sent: Tuesday, September 08, 2009 8:55 AM >> To: "Crypto++ Users" <[email protected]> >> Subject: compile error in socketft.cpp >> >> > >> > Hi everyone >> > >> > I am a new member to this group so firstly thnaks to evryone >> > >> > I am trying to compile the crypto++ on omnet++ in windows xp. >> > first I got an error in rijndael.cpp which said :'alloca' was not >> > declared in this scope therefore I add #include <malloc.h> at the >> > begining of rijndael.cpp and try to compile again but I got 6 errors >> > in socketft.cpp as follows: >> > >> > undefined reference to `_WSAEnumNetworkEvents@12' >> > undefined reference to `_WSAEventSelect@12' >> > undefined reference to `_WSAGetOverlappedResult@20' >> > undefined reference to `_WSAGetOverlappedResult@20' >> > undefined reference to `_WSARecv@28' >> > undefined reference to `_WSASend@28' >> > >> > can you please help me what is wrong? >> > >> > thanks in advance >> > > >> > >> > -- -- 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.
