#16 Getting Errors when compilling MyPhone

open
nobody
None
5
2 hours ago
2004-09-09
pubbs
No

Hi
I have used PWLib version 1.8.0 & OpenH323 version
1.15.0 .They are compilled Perfectly.
Then I try to compile My Phone(Version 10) using above
Libraries.But I found 15 Erros:-

--------------------Configuration: MyPhone - Win32
Release--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
AudioPage.cpp

E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Book_AddressPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Book_InPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Book_MsdPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Book_OutPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
CVideoDevice.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
E:\Great h323\MyPhone\CVideoDevice.h(35) : error
C2504: 'PVideoOutputDeviceRGB' : base class undefined
E:\Great h323\MyPhone\CVideoDevice.cpp(118) : error
C2065: 'Close' : undeclared identifier
E:\Great h323\MyPhone\CVideoDevice.cpp(136) : error
C2065: 'GetDeviceName' : undeclared identifier
E:\Great h323\MyPhone\CVideoDevice.cpp(198) : error
C2065: 'GetMaxFrameBytes' : undeclared identifier
E:\Great h323\MyPhone\CVideoDevice.cpp(224) : error
C2065: 'frameStore' : undeclared identifier
E:\Great h323\MyPhone\CVideoDevice.cpp(224) : error
C2228: left of '.GetPointer' must have class/struct/union
type
E:\Great h323\MyPhone\CVideoDevice.cpp(320) : error
C2653: 'PVideoOutputDeviceRGB' : is not a class or
namespace name
GeneralPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
GKPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
guiPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Multilang.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
MyIndicator.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
MyPhone.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
MyPhoneBook.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
MyPhoneDlg.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : error
C2259: 'PVideoInputDevice' : cannot instantiate abstract
class due to following members:
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(809) :
see declaration of 'PVideoInputDevice'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoInputDevice::Open(const
class PString &,int)' : pure virtual function was not
defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(868) :
see declaration of 'Open'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoDevice::IsOpen(void)' : pure
virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(309) :
see declaration of 'IsOpen'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoDevice::Start(void)' : pure
virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(317) :
see declaration of 'Start'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoDevice::Stop(void)' : pure
virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(321) :
see declaration of 'Stop'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'class PStringList __thiscall
PVideoDevice::GetDeviceNames(void) const' : pure
virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(331) :
see declaration of 'GetDeviceNames'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall
PVideoInputDevice::GetMaxFrameBytes(void)' : pure
virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(885) :
see declaration of 'GetMaxFrameBytes'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoInputDevice::IsCapturing
(void)' : pure virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(878) :
see declaration of 'IsCapturing'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoInputDevice::GetFrame
(class PBYTEArray &)' : pure virtual function was not
defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(889) :
see declaration of 'GetFrame'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoInputDevice::GetFrameData
(unsigned char *,int *)' : pure virtual function was not
defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(895) :
see declaration of 'GetFrameData'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall
PVideoInputDevice::GetFrameDataNoDelay(unsigned char
*,int *)' : pure virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(902) :
see declaration of 'GetFrameDataNoDelay'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : warning
C4259: 'int __thiscall PVideoInputDevice::TestAllFormats
(void)' : pure virtual function was not defined
D:\VOICE9\PWLIB\INCLUDE\ptlib/videoio.h(909) :
see declaration of 'TestAllFormats'
E:\Great h323\MyPhone\MyPhoneDlg.cpp(959) : error
C2228: left of '.GetDeviceNames' must have
class/struct/union type
E:\Great h323\MyPhone\MyPhoneDlg.cpp(1077) : error
C2039: 'IsDescendant' : is not a member of 'H323Codec'
D:\VOICE9\OPENH323\INCLUDE\codecs.h(312) :
see declaration of 'H323Codec'
MyPhoneEndPoint.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
E:\Great h323\MyPhone\CVideoDevice.h(35) : error
C2504: 'PVideoOutputDeviceRGB' : base class undefined
E:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\codecs.h
(87) : error C2011: 'IInstallAudioCodecs' : 'struct' type
redefinition
E:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\codecs.h
(97) : error C2011: 'IInstallVideoCodecs' : 'struct' type
redefinition
E:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\codecs.h
(107) : error C2011: 'IInstallCodecs' : 'struct' type
redefinition
D:\VOICE9\OPENH323\INCLUDE\dynacodec.h(39) : fatal
error C1083: Cannot open include file: 'dllcodec.h': No
such file or directory
MyPropertySheet.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
NetworkPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
VisualPage.cpp
E:\Great h323\MyPhone\resource.h(7) : warning
C4005: 'RT_MANIFEST' : macro redefinition
E:\PROGRAM FILES\MICROSOFT
SDK\INCLUDE\winuser.h(194) : see previous definition
of 'RT_MANIFEST'
Generating Code...
Error executing cl.exe.

MyPhone.exe - 15 error(s), 29 warning(s)

Can Any Body Tell me what is the Problem there?

Discussion