PDA

View Full Version : Help!


viper1745
11-01-2007, 05:18 PM
why every time i press F7 in VS C++ 2005 express i keep geting this

1>------ Build started: Project: gamemonkey, Configuration: Release Win32 ------
2>------ Build started: Project: shared, Configuration: Release Win32 ------
2>Compiling...
1>Compiling...
2>Log.cpp
1>gmVector3Lib.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Util.cpp
1>gmSystemLib.cpp
1>..\..\dep\src\gm\gmSystemLib.cpp(26) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>gmStringLib.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>StackWalker.cpp
2>..\..\src\shared\StackWalker.cpp(26) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>MersenneTwister.cpp
1>gmMathLib.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>MemoryLeaks.cpp
1>gmHelpers.cpp
1>gmGCRootUtil.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>CrashHandler.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
1>gmGCRoot.cpp
2>CallBack.cpp
2>ascent_getopt.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
1>gmCall.cpp
2>ThreadPool.cpp
1>gmArrayLib.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\threading\../Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Mutex.cpp
1>gmVariable.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>SocketWin32.cpp
1>gmUtil.cpp
1>gmUserObject.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>SocketOpsWin32.cpp
1>gmThread.cpp
1>gmTableObject.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>SocketMgrWin32.cpp
1>gmStringObject.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Socket.cpp
1>gmStreamBuffer.cpp
1>gmStream.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>WowCrypt.cpp
1>gmScanner.cpp
1>gmParser.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Sha1.cpp
1>gmOperators.cpp
1>Generating Code...
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>crc32.cpp
2>BigNumber.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Config.cpp
1>Compiling...
1>gmMemFixedSet.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
1>gmMemFixed.cpp
2>DBCStores.cpp
1>gmMemChain.cpp
1>gmMem.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Generating Code...
1>gmMachineLib.cpp
2>Compiling...
2>DBC.cpp
1>gmMachine.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\database\../Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>dbcfile.cpp
2>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\shared\database\dbcfile.h(107) : warning C4996: 'strcpy' was declared deprecated
2> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
2> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
2>..\..\src\shared\Database\dbcfile.cpp(30) : warning C4996: 'fopen' was declared deprecated
2> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
2> Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
2>..\..\src\shared\Database\dbcfile.cpp(87) : warning C4996: 'fopen' was declared deprecated
2> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
2> Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>gmLog.cpp
2>Database.cpp
1>gmListDouble.cpp
1>gmLibHooks.cpp
2>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>Generating Code...
2>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\shared___Win32_Release\BuildLog. htm"
2>shared - 20 error(s), 3 warning(s)
1>gmIncGC.cpp
3>------ Build started: Project: zlib, Configuration: Release Win32 ------
3>Compiling...
3>zutil.c
1>gmHash.cpp
3>uncompr.c
3>trees.c
1>gmFunctionObject.cpp
3>..\..\dep\src\zlib\trees.c(773) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(777) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(780) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(780) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(783) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(783) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(786) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(786) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(848) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(849) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(850) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(853) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(873) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(895) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(896) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(907) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(908) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(988) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(994) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1087) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1092) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1096) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1102) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1106) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>..\..\dep\src\zlib\trees.c(1116) : warning C4267: '=' : conversion from 'size_t' to 'ush', possible loss of data
3>inftrees.c
3>inflate.c
3>inffast.c
1>gmDebug.cpp
3>infback.c
3>gzio.c
3>..\..\dep\src\zlib\gzio.c(131) : warning C4996: 'strcpy' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
3> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(181) : warning C4996: 'fopen' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen'
3> Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(226) : warning C4996: 'sprintf' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
3> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(627) : warning C4996: '_vsnprintf' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_vsnprintf'
3> Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(1001) : warning C4996: 'strerror' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(125) : see declaration of 'strerror'
3> Message: 'This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(1008) : warning C4996: 'strcpy' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
3> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(1009) : warning C4996: 'strcat' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat'
3> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>..\..\dep\src\zlib\gzio.c(1010) : warning C4996: 'strcat' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat'
3> Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
3>deflate.c
3>crc32.c
1>gmCrc.cpp
3>compress.c
3>adler32.c
3>Generating Code...
1>gmCodeTree.cpp
1>gmCodeGenHooks.cpp
3>Creating library...
1>gmCodeGen.cpp
3>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\zlib___Win32_Release\BuildLog.ht m"
3>zlib - 0 error(s), 33 warning(s)
1>gmByteCodeGen.cpp
1>gmByteCode.cpp
1>gmArraySimple.cpp
4>------ Build started: Project: logonserver, Configuration: Release Win32 ------
4>Compiling...
1>Generating Code...
4>LogonStdAfx.cpp
4>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\logonserver\../shared/Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
4>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\logonserver___Win32_Release\Buil dLog.htm"
4>logonserver - 1 error(s), 0 warning(s)
1>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\gamemonkey___Win32_Release\Build Log.htm"
1>gamemonkey - 1 error(s), 0 warning(s)
5>------ Build started: Project: game, Configuration: Release Win32 ------
5>Compiling...
5>StdAfx.cpp
5>c:\documents and settings\hp_administrator\desktop\asnt\branches\2_ 0_stable\src\game\../shared/Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
5>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\game___Win32_Release\BuildLog.ht m"
5>game - 1 error(s), 0 warning(s)
6>------ Skipped Build: Project: realmserver, Configuration: Release Win32 ------
6>Project not selected to build for this solution configuration
7>------ Build started: Project: ascent, Configuration: Release Win32 ------
7>Compiling...
7>Master.cpp
7>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
7>Main.cpp
7>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
7>CConsole.cpp
7>c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\src\shared\Common.h(215) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
7>Generating Code...
7>Build log was saved at "file://c:\Documents and Settings\HP_Administrator\Desktop\asnt\branches\2_ 0_stable\win\VC80\Release\BuildLog.htm"
7>ascent - 3 error(s), 0 warning(s)
========== Build: 1 succeeded, 5 failed, 0 up-to-date, 1 skipped ==========

i follow the tut right, do i have to do some thing els do i have to editd winsock out of some files? Please Help me Some one i never done C++ Be for :(

Golepa
11-01-2007, 05:45 PM
Use visual studio 2003

viper1745
11-01-2007, 05:49 PM
Use visual studio 2003
where can i get visual studio 2003?, and is it free to download?