Kết quả 1 đến 1 của 1
Chủ đề: Lỗi khi build common
-
21-11-12, 10:11 PM #1
- Ngày tham gia
- May 2006
- Bài viết
- 103
- Thanks
- 20
- Thanked 1 Time in 1 Post
Lỗi khi build common
Code:Deleting intermediate files and output files for project 'Common - Win32 Release'. --------------------Configuration: Common - Win32 Release-------------------- Compiling... stdafx.cpp Compiling... Buffer.cpp Console.cpp Event.cpp EventSelect.cpp Exception.cpp IniFile.cpp IOBuffer.cpp IOCompletionPort.cpp C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defi ned or declared C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort::PostStatus' is not a static member C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(40) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?) C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2275: 'PDWORD' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2078: too many initializers C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2275: 'PDWORD' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(53) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?) C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2275: 'PDWORD' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2078: too many initializers C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2275: 'PDWORD' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(70) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2447: missing function header (old-style formal list?) KSG_EncodeDecode.cpp KSocketClient2.cpp Library.cpp Macro.cpp ManualResetEvent.cpp Mutex.cpp NodeList.cpp Socket.cpp SocketAddress.cpp SocketClient.cpp SocketServer.cpp NOTE : --------------------OnlineGameLib [Client] : Announcement-------------------- NOTE : The lib be used for socket communicate that it is base on NOTE : Windows 95 and Windows NT 3.51 and later NOTE : NOTE : liupeng xishanju.zhuhai.china 2003.1 NOTE : ----------------------------------------------------------------------------- C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defi ned or declared C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus' NOTE : --------------------OnlineGame [Server] : Announcement-------------------- NOTE : Developing a truly scalable Winsock Server using IO Completion Ports(IOCP) NOTE : But this module depend on the microsoft platform NOTE : Requirements : NOTE : * Windows NT/2000/XP: Included in Windows NT 4.0 and later. NOTE : * Windows 95/98/Me: Unsupported. NOTE : NOTE : liupeng xishanju.zhuhai.china 2003.1 NOTE : ----------------------------------------------------------------------------- C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2065: 'ULONG_PTR' : undeclared identifier C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2146: syntax error : missing ')' before identifier 'pSocket' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2146: syntax error : missing ')' before identifier 'pSocket' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2059: syntax error : ')' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2065: 'PDWORD_PTR' : undeclared identifier C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2297: '&' : illegal, right operand has type 'class OnlineGameLib::Win32::CSocketServer::Socket *' C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2660: 'GetStatus' : function does not take 3 parameters C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(1011) : error C2660: 'PostStatus' : function does not take 1 parameters Thread.cpp Generating Code... Compiling... UsesWinsock.cpp Utils.cpp Win32Exception.cpp Generating Code... Error executing cl.exe. Common.lib - 45 error(s), 0 warning(s)
Khách viếng thăm hãy cùng savatage91 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[JX] Về build SC
Bởi ngotiendat trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 0Bài viết cuối: 04-11-12, 11:47 AM -
[JX] Xin hướng dẫn Build tiếng Việt
Bởi gia_muvn trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 2Bài viết cuối: 06-10-12, 02:43 PM -
[JX] Build Common bị lỗi thế này. Giúp mình với !
Bởi dammejx trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 3Bài viết cuối: 01-09-12, 06:57 PM -
[Thắc Mắc] Fire Windows Shell Common Dll
Bởi sieunhan01 trong diễn đàn CHUYÊN ĐỀ WEB GAMESTrả lời: 0Bài viết cuối: 21-06-12, 09:22 AM -
[MU] Cần hướng dẫn Cách build dll và .exe
Bởi sunhide trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 0Bài viết cuối: 17-01-12, 11:01 AM