[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Video Conference - not Konference
by Henning on Thursday 17/Jul/2003, @06:02
I converted the SRPM and tried to compile videoconference under Debian unstable.
Then I installed libpt[-dev] and libh323[-dev] but it still fails to compile. I guess videoconference does not like my gcc 3.3.1 :-(

In file included from vcgrabber.h:40,
from videoconference_part.cpp:45:
vcdevice.h:54: error: syntax error before `{' token
vcdevice.h:55: error: virtual outside class declaration
vcdevice.h:55: error: non-member function `const char* GetClass(unsigned int)'
cannot have `const' method qualifier
vcdevice.h: In function `const char* GetClass(unsigned int)':
vcdevice.h:55: error: `PVideoOutputDeviceRGB' undeclared (first use this
function)
vcdevice.h:55: error: (Each undeclared identifier is reported only once for
each function it appears in.)
vcdevice.h:55: error: syntax error before `::' token
vcdevice.h:55: error: incomplete type 'VCDevice' cannot be used to name a scope
vcdevice.h: At global scope:
vcdevice.h:55: error: virtual outside class declaration
vcdevice.h:55: error: non-member function `BOOL IsClass(const char*)' cannot
have `const' method qualifier
vcdevice.h: In function `BOOL IsClass(const char*)':
vcdevice.h:55: error: incomplete type 'VCDevice' cannot be used to name a scope
vcdevice.h: At global scope:
vcdevice.h:55: error: virtual outside class declaration
vcdevice.h:55: error: non-member function `BOOL IsDescendant(const char*)'
cannot have `const' method qualifier
vcdevice.h: In function `BOOL IsDescendant(const char*)':
vcdevice.h:55: error: incomplete type 'VCDevice' cannot be used to name a scope
vcdevice.h:55: error: syntax error before `::' token
vcdevice.h:55: warning: no return statement in function returning non-void
vcdevice.h: At global scope:
vcdevice.h:55: error: syntax error before `(' token
vcdevice.h:60: error: syntax error before `*' token
vcdevice.h:61: error: syntax error before `int'
vcdevice.h:62: error: destructors must be member functions
vcdevice.h:65: error: virtual outside class declaration
vcdevice.h:66: error: virtual outside class declaration
vcdevice.h: In function `BOOL IsOpen()':
vcdevice.h:66: error: `GetFrameWidth' undeclared (first use this function)
vcdevice.h: At global scope:
vcdevice.h:67: error: virtual outside class declaration
vcdevice.h:67: error: non-member function `PStringList GetDeviceNames()' cannot
have `const' method qualifier
vcdevice.h:68: error: virtual outside class declaration
vcdevice.h:70: error: syntax error before `private'
vcdevice.h:91: error: syntax error before `}' token
/usr/include/ptlib/pdirect.h:458: warning: inline function `static BOOL
PDirectory::Remove(const PString&)' used but never defined
make[2]: *** [videoconference_part.lo] Error 1
make[2]: Leaving directory `/tmp/video_conference-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/video_conference-0.2'
make: *** [all] Error 2
  Related Links
 ·   Articles on Community and Events
 ·   Also by Henning
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Video Conference - not Konference
by uga on Thursday 17/Jul/2003, @07:50
> vcdevice.h:54: error: syntax error before `{' token

Your problem is the same as mine. In that line it's trying to inherit from class PVideoOutputDeviceRGB which doesn't exist in your headers (pwlib 1.4.x probably?) That's why you get the error.

If you install version 1.5 of pwlib it _should_ compile fine.
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "KDE is much too well-structured for this world..." -- Rob Buis
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]