Menu

compile myphone

Help
chackalak
2005-01-31
2013-04-16
  • chackalak

    chackalak - 2005-01-31

    when I compile myphone, I accept this errors,

    --------------------Configuration: MyPhone - Win32 Release--------------------
    Compiling...
    MyPhoneDlg.cpp
    C:\myphone\MyPhoneDlg.cpp(970) : error C2039: 'GetDriversDeviceNames' : is not a member of 'PVideoInputDevice'
            C:\PWLIB_1.5.2\PWLIB\INCLUDE\PTLIB\MSOS\ptlib/../../videoio.h(768) : see declaration of 'PVideoInputDevice'
    C:\myphone\MyPhoneDlg.cpp(970) : error C2065: 'GetDriversDeviceNames' : undeclared identifier
    MyPhoneEndPoint.cpp
    C:\myphone\MyPhoneEndPoint.cpp(435) : error C2065: 'H323_G7231MSCapability' : undeclared identifier
    C:\myphone\MyPhoneEndPoint.cpp(435) : error C2065: 'cap' : undeclared identifier
    C:\myphone\MyPhoneEndPoint.cpp(435) : error C2061: syntax error : identifier 'H323_G7231MSCapability'
    C:\myphone\MyPhoneEndPoint.cpp(436) : error C2227: left of '->CheckCapability' must point to class/struct/union
    C:\myphone\MyPhoneEndPoint.cpp(439) : error C2541: delete : cannot delete objects that are not pointers
    C:\myphone\MyPhoneEndPoint.cpp(441) : error C2061: syntax error : identifier 'H323_G729ACapability'
    C:\myphone\MyPhoneEndPoint.cpp(441) : error C2143: syntax error : missing ')' before ';'
    C:\myphone\MyPhoneEndPoint.cpp(442) : error C2061: syntax error : identifier 'H323_G729Capability'
    C:\myphone\MyPhoneEndPoint.cpp(442) : error C2143: syntax error : missing ')' before ';'
    C:\myphone\MyPhoneEndPoint.cpp(463) : error C2143: syntax error : missing ')' before ';'
    C:\myphone\MyPhoneEndPoint.cpp(463) : error C2143: syntax error : missing ';' before ')'
    C:\myphone\MyPhoneEndPoint.cpp(463) : error C2143: syntax error : missing ';' before ')'
    C:\myphone\MyPhoneEndPoint.cpp(463) : error C2143: syntax error : missing ';' before ')'
    C:\myphone\MyPhoneEndPoint.cpp(464) : error C2143: syntax error : missing ';' before '{'
    C:\myphone\MyPhoneEndPoint.cpp(468) : error C2043: illegal break
    C:\myphone\MyPhoneEndPoint.cpp(483) : error C2043: illegal break
    C:\myphone\MyPhoneEndPoint.cpp(707) : error C2039: 'GetDriversDeviceNames' : is not a member of 'PVideoInputDevice'
            C:\PWLIB_1.5.2\PWLIB\INCLUDE\PTLIB\MSOS\ptlib/../../videoio.h(768) : see declaration of 'PVideoInputDevice'
    C:\myphone\MyPhoneEndPoint.cpp(707) : error C2065: 'GetDriversDeviceNames' : undeclared identifier
    C:\myphone\MyPhoneEndPoint.cpp(718) : error C2039: 'CreateDevice' : is not a member of 'PVideoInputDevice'
            C:\PWLIB_1.5.2\PWLIB\INCLUDE\PTLIB\MSOS\ptlib/../../videoio.h(768) : see declaration of 'PVideoInputDevice'
    C:\myphone\MyPhoneEndPoint.cpp(718) : error C2065: 'CreateDevice' : undeclared identifier
    C:\myphone\MyPhoneEndPoint.cpp(718) : error C2440: '=' : cannot convert from 'int' to 'class PVideoInputDevice *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    C:\myphone\MyPhoneEndPoint.cpp(748) : error C2039: 'CreateDevice' : is not a member of 'PVideoInputDevice'
            C:\PWLIB_1.5.2\PWLIB\INCLUDE\PTLIB\MSOS\ptlib/../../videoio.h(768) : see declaration of 'PVideoInputDevice'
    C:\myphone\MyPhoneEndPoint.cpp(748) : error C2440: '=' : cannot convert from 'int' to 'class PVideoInputDevice *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    C:\myphone\MyPhoneEndPoint.cpp(768) : error C2039: 'CreateDevice' : is not a member of 'PVideoOutputDevice'
            C:\PWLIB_1.5.2\PWLIB\INCLUDE\PTLIB\MSOS\ptlib/../../videoio.h(579) : see declaration of 'PVideoOutputDevice'
    C:\myphone\MyPhoneEndPoint.cpp(768) : error C2440: '=' : cannot convert from 'int' to 'class PVideoOutputDevice *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    Generating Code...
    Error executing cl.exe.

    MyPhone.exe - 27 error(s), 0 warning(s)

    what should I do?

    best regards...

     
    • Derek Li

      Derek Li - 2005-01-31

      I commented those capabilities, such as H323_G729Capability.

       

Log in to post a comment.