Kết quả 1 đến 8 của 8
Chủ đề: Lỗi khi build source JX
-
08-10-12, 08:54 PM #1
- Ngày tham gia
- Mar 2012
- Bài viết
- 279
- Thanks
- 77
- Thanked 35 Times in 28 Posts
Lỗi khi build source JX
Mình build common thì bị như thế này:
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
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus (void)' : member function already defined or declared
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort:ostStatus' is not a static member
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(40) : error C2059: syntax error : ')'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?)
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(52) : error C2078: too many initializers
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(53) : error C2059: syntax error : ')'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?)
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(68) : error C2078: too many initializers
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(70) : error C2059: syntax error : ')'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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 : -----------------------------------------------------------------------------
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus (void)' : member function already defined or declared
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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 : -----------------------------------------------------------------------------
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(348) : error C2065: 'ULONG_PTR' : undeclared identifier
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(348) : error C2146: syntax error : missing ')' before identifier 'pSocket'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(348) : error C2059: syntax error : ')'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(431) : error C2146: syntax error : missing ')' before identifier 'pSocket'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(431) : error C2059: syntax error : ')'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(957) : error C2065: 'PDWORD_PTR' : undeclared identifier
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(957) : error C2297: '&' : illegal, right operand has type 'class OnlineGameLib::Win32::CSocketServer::Socket *'
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\Common\SocketServer.cpp(957) : error C2660: 'GetStatus' : function does not take 3 parameters
E:\vo lam jx - cam vao\score\JX\JX\swrod3\SwordOnline\Sources\MultiSe rver\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)
ai giúp cáiKhách viếng thăm hãy cùng HoangThaoBe xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-10-12, 09:05 PM #2
Ðề: Lỗi khi build source JX
Khả năng thiếu thư viện 30charrrrrrrrrrrrrrrr
Khách viếng thăm hãy cùng assaa xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
Các thành viên gởi lời cảm ơn đến assaa vì bài viết này !
HoangThaoBe (08-10-12)
-
08-10-12, 09:08 PM #3
- Ngày tham gia
- Mar 2012
- Bài viết
- 279
- Thanks
- 77
- Thanked 35 Times in 28 Posts
Ðề: Lỗi khi build source JX
bạn có thể nói rõ hơn không mình k rành cái này cho lắm
Khách viếng thăm hãy cùng HoangThaoBe xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-10-12, 09:58 PM #4
- Ngày tham gia
- Jul 2010
- Bài viết
- 207
- Thanks
- 94
- Thanked 72 Times in 19 Posts
Ðề: Lỗi khi build source JX
Chưa cop cái VS98 hay VC98 gì đó. down về ném vô VS là được
Khách viếng thăm hãy cùng runkissbig xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-11-12, 12:52 PM #5
- Ngày tham gia
- Mar 2012
- Bài viết
- 279
- Thanks
- 77
- Thanked 35 Times in 28 Posts
Ðề: Lỗi khi build source JX
Khách viếng thăm hãy cùng HoangThaoBe xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-11-12, 07:45 PM #6
- Ngày tham gia
- Mar 2012
- Bài viết
- 279
- Thanks
- 77
- Thanked 35 Times in 28 Posts
Ðề: Lỗi khi build source JX
ai giúp với !!!!!!!!!!!!!!!!!!!!!!!!!1
Khách viếng thăm hãy cùng HoangThaoBe xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-11-12, 08:24 PM #7
- Ngày tham gia
- Jun 2012
- Bài viết
- 1,096
- Thanks
- 210
- Thanked 302 Times in 201 Posts
Ðề: Lỗi khi build source JX
Khách viếng thăm hãy cùng danghai1993 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-11-12, 11:16 PM #8
- Ngày tham gia
- May 2011
- Bài viết
- 63
- Thanks
- 3
- Thanked 7 Times in 7 Posts
Ðề: Lỗi khi build source JX
Vào C: kiếm mấy folder Microsoft Visual Studio mở ra xem cái nào có VC98 thì replace nó.
Khách viếng thăm hãy cùng Manner xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[JX] Hướng dẫn build source JX
Bởi invalidpw trong diễn đàn Guides - Kho Lưu trữTrả lời: 145Bài viết cuối: 01-05-24, 12:03 PM -
Source Độc Bá 2 chưa build
Bởi blackcatyb trong diễn đàn Các Server Không Nằm Trong BoxTrả lời: 20Bài viết cuối: 12-09-20, 01:09 AM -
[JX] Ai hướng dẫn build source với
Bởi anhbi792 trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 1Bài viết cuối: 26-11-12, 10:40 AM -
[JX] lỗi sau build source
Bởi runkissbig trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 0Bài viết cuối: 07-08-12, 06:57 PM -
[JX] Ai build Source thành công thì vào xem dùm !
Bởi dammejx trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 8Bài viết cuối: 26-07-12, 07:12 AM