Kết quả 1 đến 1 của 1
-
15-07-15, 11:37 AM #1
Em build code common mà bị lỗi này là sao vậy
Code:--------------------Configuration: Common - Win32 Debug-------------------- Compiling... stdafx.cpp Compiling... Buffer.cpp Console.cpp Event.cpp EventSelect.cpp Exception.cpp IniFile.cpp IOBuffer.cpp IOCompletionPort.cpp D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defined or declared D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort::PostStatus' is not a static member D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(40) : error C2059: syntax error : ')' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?) D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier D:\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' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2078: too many initializers D:\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' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(53) : error C2059: syntax error : ')' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?) D:\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' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2078: too many initializers D:\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' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(70) : error C2059: syntax error : ')' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{' D:\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 : ----------------------------------------------------------------------------- D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defined or declared D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus' D:\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.h(24) : fatal error C1083: Cannot open include file: '..\heaven\interface\IServer.h': No such file or directory Thread.cpp Generating Code... Compiling... UsesWinsock.cpp Utils.cpp Win32Exception.cpp Generating Code... Error executing cl.exe. Common.lib - 37 error(s), 0 warning(s)
Khách viếng thăm hãy cùng heodat139 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
Synopsys Common Licensing Scl v11.7
Bởi bestsoft84 trong diễn đàn Thư Viện SoftwareTrả lời: 0Bài viết cuối: 10-01-15, 01:05 PM -
Synopsys Common Licensing (SCL) 11.7
Bởi mitsumi trong diễn đàn Thư Viện SoftwareTrả lời: 0Bài viết cuối: 05-01-15, 05:53 AM -
Synopsys Common Licensing (SCL) 11.7
Bởi mascova trong diễn đàn Phần mềm Thiết Kế - Đồ HọaTrả lời: 0Bài viết cuối: 04-01-15, 03:19 PM -
[JX] Lỗi khi build common
Bởi savatage91 trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 0Bài viết cuối: 21-11-12, 10:11 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