fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
I'm using Visual C++ 2005 with MSDN. Can anyone help me figure out the problem?
Build Log
Build started: Project: Login Server, Configuration: Debug|Win32
Command Lines
Creating temporary file "c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\RSP00000160004664.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP "..\Common\thread_manager.cpp"
"..\Common\logging.cpp"
"..\Common\globals.cpp"
"..\Common\crypt_server.cpp"
"..\Common\crypt.cpp"
"..\Common\base_socket.cpp"
"..\Common\base_server.cpp"
"..\Common\base_client.cpp"
".\md5.cpp"
".\main.cpp"
".\login_server.cpp"
".\login_client.cpp"
".\isc_server.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\RSP00000160004664.rsp" /nologo /errorReport:prompt"
Output Window
Compiling...
isc_server.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
login_client.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
login_server.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
main.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
md5.cpp
base_client.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
base_server.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
base_socket.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
crypt.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
crypt_server.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
globals.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
logging.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
thread_manager.cpp
c:\documents and settings\matt\desktop\erose2\common\globals.h(50) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
Generating Code...
Results
Build log was saved at "file://c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\BuildLog.htm"
Login Server - 12 error(s), 0 warning(s)
Ideas?
----
Line 50 of globals is #include <winsock2.h>