ts4is
24-06-2004, 06:26 PM
Khi mình compile MyPhone thì bị các lỗi sau: (Thư viện PWLib và H323Lib đã biên dịch thành công). Ko hiểu lỗi tại sao, mong các bạn chỉ giúp. (Tất nhiên là không thể có lỗi về cú pháp được :) )
--------------------Configuration: MyPhone - Win32 Release Static--------------------
Compiling...
MyPhoneEndPoint.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 88 ) : error C2011: 'IInstallAudioCodecs' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 98 ) : error C2011: 'IInstallVideoCodecs' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 108 ) : error C2011: 'IInstallCodecs' : 'struct' type redefinition
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 29) : error C2061: syntax error : identifier 'H323_G729ACapability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 30) : error C2061: syntax error : identifier 'H323_G729Capability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 30) : error C2143: syntax error : missing ')' before ';'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ')' before ';'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 50) : error C2143: syntax error : missing ';' before '{'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 54) : error C2043: illegal break
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 69) : error C2043: illegal break
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 37) : error C2061: syntax error : identifier 'H323_H263Capability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 56) : error C2143: syntax error : missing ')' before '}'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 56) : error C2143: syntax error : missing ';' before ')'
Error executing cl.exe.
MyPhone.exe - 16 error(s), 0 warning(s)
--------------------Configuration: MyPhone - Win32 Release Static--------------------
Compiling...
MyPhoneEndPoint.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 88 ) : error C2011: 'IInstallAudioCodecs' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 98 ) : error C2011: 'IInstallVideoCodecs' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\codecs.h( 108 ) : error C2011: 'IInstallCodecs' : 'struct' type redefinition
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 29) : error C2061: syntax error : identifier 'H323_G729ACapability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 30) : error C2061: syntax error : identifier 'H323_G729Capability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 30) : error C2143: syntax error : missing ')' before ';'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ')' before ';'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 49) : error C2143: syntax error : missing ';' before ')'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 50) : error C2143: syntax error : missing ';' before '{'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 54) : error C2043: illegal break
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(4 69) : error C2043: illegal break
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 37) : error C2061: syntax error : identifier 'H323_H263Capability'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 56) : error C2143: syntax error : missing ')' before '}'
D:\MyPhone0.2b10_src\MyPhone\MyPhoneEndPoint.cpp(5 56) : error C2143: syntax error : missing ';' before ')'
Error executing cl.exe.
MyPhone.exe - 16 error(s), 0 warning(s)