Hi,
Has any of us managed to compile H323plus successfully for windows mobile 5? would appreciate if anyone could share their experience.
I have the followings error when I compiled openh323libce workspace (from h323plus-v1_20_1-src.zip) in visual studio 2005:
1>Generating Code... 1>Compiling... 1>x880.cxx 1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM. 1> _CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps. 1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined. 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/pdirect.h(68) : error C2059: syntax error : 'protected' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/pdirect.h(73) : error C2059: syntax error : 'public' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/config.h(50) : error C2059: syntax error : 'protected' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/config.h(51) : error C2146: syntax error : missing ';' before identifier 'source' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/config.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/config.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib\msos\ptlib/config.h(52) : error C2079: 'location' uses undefined class 'PString' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(133) : error C2504: 'PObject' : base class undefined 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(134) : error C2061: syntax error : identifier 'PObject' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(134) : warning C4183: 'PCLASSINFO': missing return type; assumed to be a member function returning 'int' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(187) : error C2061: syntax error : identifier 'ostream' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(194) : error C2061: syntax error : identifier 'istream' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(212) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(212) : error C2143: syntax error : missing ',' before '&' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(320) : error C2146: syntax error : missing ';' before identifier 'GetParameters' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(320) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(323) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(323) : warning C4183: 'GetParameters': missing return type; assumed to be a member function returning 'int' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(394) : error C2146: syntax error : missing ';' before identifier 'argumentArray' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(394) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(394) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(396) : error C2079: 'PArgList::optionLetters' uses undefined class 'PString' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(398) : error C2146: syntax error : missing ';' before identifier 'optionNames' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(398) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(398) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(400) : error C2146: syntax error : missing ';' before identifier 'optionCount' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(400) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(400) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(402) : error C2146: syntax error : missing ';' before identifier 'optionString' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(402) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(402) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(404) : error C2146: syntax error : missing ';' before identifier 'parameterIndex' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(404) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(404) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(409) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(409) : error C2143: syntax error : missing ',' before '&' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(422) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(422) : warning C4183: 'PCLASSINFO': missing return type; assumed to be a member function returning 'int' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(514) : error C2146: syntax error : missing ';' before identifier 'config' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(514) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(514) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(515) : error C2079: 'PConfigArgs::sectionName' uses undefined class 'PString' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(516) : error C2079: 'PConfigArgs::negationPrefix' uses undefined class 'PString' 1>C:\VSee\H323\H323plus\ptlib\include\ptlib/args.h(492) : error C2440: '=' : cannot convert from 'const PString' to 'int' 1> Source or target has incomplete type
anyone know the solutions to error C2059: syntax error : 'protected'?
Thanks Victor
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Victor Koh wrote:
Hi,
Has any of us managed to compile H323plus successfully for windows mobile 5? would appreciate if anyone could share their experience.
I have the followings error when I compiled openh323libce workspace (from h323plus-v1_20_1-src.zip) in visual studio 2005:
FWIW, the head revision of Opal and PTLib compile and and run on Windows Mobile and windows CE. There is also a demo application (MobileOpal) which can be used to make and receive calls.
Craig
----------------------------------------------------------------------- Craig Southeren Post Increment – VoIP Consulting and Software craigs@postincrement.com.au www.postincrement.com.au
Phone: +61 243654666 ICQ: #86852844 Fax: +61 243656905 MSN: craig_southeren@hotmail.com Mobile: +61 417231046 Jabber: craigs@jabber.org
"Science is the poetry of reality." Richard Dawkins
participants (2)
-
Craig Southeren
-
Victor Koh