TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
C++ linking with sockets errors
Posted by NULLandVOID [send private reply] at December 12, 2002, 12:26:18 AM i wrote a simple program in c++ that uses sockets, i compile no errors, but i try to link and i get these errors:
error LNK2001: unresolved external symbol _closesocket@4
error LNK2001: unresolved external symbol _send@16
error LNK2001: unresolved external symbol _connect@12
error LNK2001: unresolved external symbol _inet_addr@4
error LNK2001: unresolved external symbol _htons@4
error LNK2001: unresolved external symbol _socket@12
error LNK2001: unresolved external symbol _WSAStartup@8
fatal error LNK1120: 7 unresolved externals
now i use Microsoft Visual C++ 5, i have tried screwing around in the Project:Settings cruft, like under Debug:Additional DLLs, and extra dlls i added Winsock.dll and Wsock32.dll, i changed the code generation under C++:code generation to muiltthreaded debug dlls or something.
so i was wondering, first:what an "unresolved external symbol" is(i guess that no def for f(x)'s, and how can i fix this?
Posted by CViper [send private reply] at December 12, 2002, 01:33:40 AM link to "ws2_32.lib".
(Project::Settings::Link; add it under Object/Library Modules [Note: this is under vc++ 6])
Posted by NULLandVOID [send private reply] at December 14, 2002, 12:43:47 AM thanks alot, i don't think i would have figured that out with your help.
and i would like to add, as a new member of this site, i find it extremely helpful to me(and as i imagine to all members), and wish to commend people for creating it. it is so helpful in fact i was wondering it there was a icq/irc room for where we can talk as well.
thanx for the help!
Posted by buzgub [send private reply] at December 14, 2002, 05:30:55 AM Yes, we have an irc channel. Look in the "TPU Chat" section of the sidebar to the left of the screen - we're in #tpu on irc.freenode.net
Posted by Psion [send private reply] at December 14, 2002, 09:47:57 PM NULLandVOID, do we need to do something besides putting a box about IRC on every page for it to be clear enough to visitors? =)
Register as a new user