Hi Guys. Many thanks for your fast response, with your guide I run H323plus 1.21 & Ptlib 2.4.5 separately. But when I download Myphone 0.4 from the h323plus.org site and try to run it (with use of the source of H323plus 1.21 & Ptlib package). I had below errors in Myphone . I need to solve this problem too. Please guide me to solve it. ------ Build started: Project: MyPhone, Configuration: Debug Static Win32 ------ Compiling... StdAfx.cpp Compiling... VisualPage.cpp NetworkPage.cpp MyPropertySheet.cpp MyPhoneEndPoint.cpp c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnIncomingCall': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnIncomingCall' c:\h323plus\include\h323ep.h(1162) : see declaration of 'H323EndPoint::OnIncomingCall' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnStartLogicalChannel': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnStartLogicalChannel' c:\h323plus\include\h323ep.h(1434) : see declaration of 'H323EndPoint::OnStartLogicalChannel' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(130) : error C2555: 'CMyPhoneConnection::OnAlerting': overriding virtual function return type differs and is not covariant from 'H323Connection::OnAlerting' c:\h323plus\include\h323con.h(1450) : see declaration of 'H323Connection::OnAlerting' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::IsOpen': overriding virtual function return type differs and is not covariant from 'PVideoDevice::IsOpen' c:\ptlib\include\ptlib\videoio.h(335) : see declaration of 'PVideoDevice::IsOpen' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::Close': overriding virtual function return type differs and is not covariant from 'PVideoOutputDevice::Close' c:\ptlib\include\ptlib\videoio.h(656) : see declaration of 'PVideoOutputDevice::Close' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::GetDeviceNames': overriding virtual function return type differs and is not covariant from 'PVideoDevice::GetDeviceNames' c:\ptlib\include\ptlib\videoio.h(294) : see declaration of 'PVideoDevice::GetDeviceNames' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::SetFrameSize': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::SetFrameSize' c:\ptlib\include\ptlib\videoio.h(736) : see declaration of 'PVideoOutputDeviceRGB::SetFrameSize' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::SetColourFormat': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::SetColourFormat' c:\ptlib\include\ptlib\videoio.h(724) : see declaration of 'PVideoOutputDeviceRGB::SetColourFormat' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::FrameComplete': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::FrameComplete' c:\ptlib\include\ptlib\videoio.h(761) : see declaration of 'PVideoOutputDeviceRGB::FrameComplete' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.cpp(566) : error C2259: 'CVideoOutputDevice' : cannot instantiate abstract class due to following members: 'PBoolean PVideoDevice::Open(const PString &,PBoolean)' : pure virtual function was not defined c:\ptlib\include\ptlib\videoio.h(328) : see declaration of 'PVideoDevice::Open' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.cpp(580) : error C2259: 'CVideoOutputDevice' : cannot instantiate abstract class due to following members: 'PBoolean PVideoDevice::Open(const PString &,PBoolean)' : pure virtual function was not defined c:\ptlib\include\ptlib\videoio.h(328) : see declaration of 'PVideoDevice::Open' MyPhoneDlg.cpp c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnIncomingCall': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnIncomingCall' c:\h323plus\include\h323ep.h(1162) : see declaration of 'H323EndPoint::OnIncomingCall' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnStartLogicalChannel': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnStartLogicalChannel' c:\h323plus\include\h323ep.h(1434) : see declaration of 'H323EndPoint::OnStartLogicalChannel' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(130) : error C2555: 'CMyPhoneConnection::OnAlerting': overriding virtual function return type differs and is not covariant from 'H323Connection::OnAlerting' c:\h323plus\include\h323con.h(1450) : see declaration of 'H323Connection::OnAlerting' c:\Program Files\MyPhone2\source\MyPhoneDlg.cpp(1106) : warning C4805: '!=' : unsafe mix of type 'PBoolean' and type 'BOOL' in operation c:\Program Files\MyPhone2\source\MyPhoneDlg.cpp(1797) : error C2664: 'H323AudioCodec::GetSilenceDetectionMode' : cannot convert parameter 1 from 'BOOL *' to 'PBoolean *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast MyPhoneBook.cpp c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnIncomingCall': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnIncomingCall' c:\h323plus\include\h323ep.h(1162) : see declaration of 'H323EndPoint::OnIncomingCall' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnStartLogicalChannel': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnStartLogicalChannel' c:\h323plus\include\h323ep.h(1434) : see declaration of 'H323EndPoint::OnStartLogicalChannel' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(130) : error C2555: 'CMyPhoneConnection::OnAlerting': overriding virtual function return type differs and is not covariant from 'H323Connection::OnAlerting' c:\h323plus\include\h323con.h(1450) : see declaration of 'H323Connection::OnAlerting' MyPhone.cpp c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnIncomingCall': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnIncomingCall' c:\h323plus\include\h323ep.h(1162) : see declaration of 'H323EndPoint::OnIncomingCall' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnStartLogicalChannel': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnStartLogicalChannel' c:\h323plus\include\h323ep.h(1434) : see declaration of 'H323EndPoint::OnStartLogicalChannel' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(130) : error C2555: 'CMyPhoneConnection::OnAlerting': overriding virtual function return type differs and is not covariant from 'H323Connection::OnAlerting' c:\h323plus\include\h323con.h(1450) : see declaration of 'H323Connection::OnAlerting' MyIndicator.cpp Multilang.cpp guiPage.cpp GKPage.cpp GeneralPage.cpp CVideoDevice.cpp c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnIncomingCall': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnIncomingCall' c:\h323plus\include\h323ep.h(1162) : see declaration of 'H323EndPoint::OnIncomingCall' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(110) : error C2555: 'CMyPhoneEndPoint::OnStartLogicalChannel': overriding virtual function return type differs and is not covariant from 'H323EndPoint::OnStartLogicalChannel' c:\h323plus\include\h323ep.h(1434) : see declaration of 'H323EndPoint::OnStartLogicalChannel' c:\Program Files\MyPhone2\source\MyPhoneEndPoint.h(130) : error C2555: 'CMyPhoneConnection::OnAlerting': overriding virtual function return type differs and is not covariant from 'H323Connection::OnAlerting' c:\h323plus\include\h323con.h(1450) : see declaration of 'H323Connection::OnAlerting' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::IsOpen': overriding virtual function return type differs and is not covariant from 'PVideoDevice::IsOpen' c:\ptlib\include\ptlib\videoio.h(335) : see declaration of 'PVideoDevice::IsOpen' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::Close': overriding virtual function return type differs and is not covariant from 'PVideoOutputDevice::Close' c:\ptlib\include\ptlib\videoio.h(656) : see declaration of 'PVideoOutputDevice::Close' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::GetDeviceNames': overriding virtual function return type differs and is not covariant from 'PVideoDevice::GetDeviceNames' c:\ptlib\include\ptlib\videoio.h(294) : see declaration of 'PVideoDevice::GetDeviceNames' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::SetFrameSize': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::SetFrameSize' c:\ptlib\include\ptlib\videoio.h(736) : see declaration of 'PVideoOutputDeviceRGB::SetFrameSize' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::SetColourFormat': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::SetColourFormat' c:\ptlib\include\ptlib\videoio.h(724) : see declaration of 'PVideoOutputDeviceRGB::SetColourFormat' c:\Program Files\MyPhone2\source\CVideoDevice.h(89) : error C2555: 'CVideoOutputDevice::FrameComplete': overriding virtual function return type differs and is not covariant from 'PVideoOutputDeviceRGB::FrameComplete' c:\ptlib\include\ptlib\videoio.h(761) : see declaration of 'PVideoOutputDeviceRGB::FrameComplete' Book_OutPage.cpp Book_MsdPage.cpp Book_InPage.cpp Book_AddressPage.cpp AudioPage.cpp Generating Code... Build log was saved at "file://c:\Program Files\MyPhone2\source\SDebug\BuildLog.htm" MyPhone - 30 error(s), 1 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped I am in wait for your response. Many Thanks Best Regards.
Send instant messages to your online friends http://uk.messenger.yahoo.com
participants (1)
-
ZAHRA dehghanianfard