<div>If I change the source code as the website says:</div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);"><br></span></div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);">http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/src/h235auth.cxx?r1=1.35&r2=1.36</span></div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);"><br></span></div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);">It will introduce other errors, also the undefined issue:</span></div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);"><br></span></div><div><span style="color: rgb(204, 204, 204); background-color: rgb(51, 51, 51);"><div>[CC] h235auth.cxx</div><div>h235auth.cxx:343:30: error: ‘PINDEX H235Authenticators::m_encryptionPolicy’ is not a static member of ‘class H235Authenticators’</div><div> PINDEX   H235Authenticators::m_encryptionPolicy = 0;   // Default Encryption is disabled</div><div>                              ^</div><div>h235auth.cxx:344:30: error: ‘PINDEX H235Authenticators::m_cipherLength’ is not a static member of ‘class H235Authenticators’</div><div> PINDEX   H235Authenticators::m_cipherLength = 128;     // Ciphers above 128 must be expressly enabled.  </div><div>                              ^</div><div>h235auth.cxx:345:30: error: ‘PINDEX H235Authenticators::m_maxTokenLength’ is not a static member of ‘class H235Authenticators’</div><div> PINDEX   H235Authenticators::m_maxTokenLength = 1024;  // Tokens longer than 1024 bits must be expressly enabled.  </div><div>                              ^</div><div>h235auth.cxx:346:30: error: ‘PString H235Authenticators::m_dhFile’ is not a static member of ‘class H235Authenticators’</div><div> PString  H235Authenticators::m_dhFile=PString()</div></span></div><div><br></div><div><sign signid="99"><div style="color: rgb(144, 144, 144); font-family: 'Arial Narrow';"><font size="5">What about my running problem--can't access the webcam and audio device.</font></div><div style="color: rgb(144, 144, 144); font-family: 'Arial Narrow';"><span style="line-height: 32.400001525878906px;"><font size="5">I use Cheese and  it captures pictures and video well from my web camera.</font></span></div><div style="color: rgb(144, 144, 144); font-family: 'Arial Narrow';"><span style="line-height: 32.400001525878906px;"><font size="5">Any Idiea?</font><br></span><br><br><br><span style="font-size: 12px;">------------------</span></div><div style="font-size:14px;font-family:Verdana;color:#000;"><div class="logo" style="width:305px;height:35px;line-height:35px;margin:20px 0 0 0;"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=m.scnu.edu.cn"></div></div></sign></div><div><includetail><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Simon Horne"<s.horne@spranto.com>;</div><div><b>Date: </b> Sun, Apr 6, 2014 08:41 PM</div><div><b>To: </b> "'Jan Willamowius'"<jan@willamowius.de>; "h323plus"<h323plus@lists.packetizer.com>; <wbr></div><div></div><div><b>Subject: </b> Re: [h323plus] report bugs and seek help</div></div><div> </div>Or alternatively apply the patch<br>http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/src/h235auth.cxx?r1=1.35&r2=1.36<br><br>Simon<br><br>-----Original Message-----<br>From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Jan Willamowius<br>Sent: 06 April 2014 21:09<br>To: h323plus@lists.packetizer.com<br>Subject: Re: [h323plus] report bugs and seek help<br><br>Hi,<br><br>your compile issue is a bug in the H323Plus 1.26.0 release.<br><br>To avoid it, your can use ./configure --enable-h235 or switch to the latest CSV code.<br><br>Regards,<br>Jan<br><br><br>李银城 wrote:<br>> Dear H323plus Team:<br>>         I want to report some bugs(maybe) and seek help, for these days I'm installing the package and come across some problem.<br>>         The first thing I want to mention is that when compiling the h235auth.cxx file, error occurs:<br>> <br>> <br>> [CC] h235auth.cxx<br>> h235auth.cxx: In member function ‘void H235Authenticators::PrepareSignalPDU(unsigned int, PASN_Array&, PASN_Array&, PINDEX) const’:<br>> h235auth.cxx:449:39: error: ‘m_maxTokenLength’ was not declared in this scope<br>>    PINDEX keyLength = (max_keyLength > m_maxTokenLength) ? <br>> m_maxTokenLength : max_keyLength;<br>> <br>> <br>>         I trace the source file and find that "m_maxTokenLength" actually defined in h235auth.h, but with a precompile header #ifdef H323_H235. Problem is that the function error occuring function PrepareSignalPDU doesn't wrapped by that header and use the wrapped variables which may not be defined. So if one can make the H323_H235 available, it will be cured. I trace through and find that this header require #define OPENSSL, so I install the package on windows(XP) then it really compile well. But on my Ubuntu, still fails. So I make the undefind variables out the precompile section and then the "make" progresses smoothly but I don't know what consequences will be.<br>>         Secondly, I want to enable h263 feature, it requires the ffmpeg codec and I install the newest version 2.2. But it didn't work. Configure says:<br>> <br>> <br>> checking for LIBAVCODEC... yes<br>> configure: libavcodec stack align hack disabled checking for <br>> h263p_encoder in -lavcodec... no checking for h263p_encoder in <br>> -lavcodec... (cached) no checking for mpeg4_encoder in -lavcodec... no <br>> checking for h264_decoder in -lavcodec... no<br>> <br>> <br>> I think the "no" checks are the causes. Is " -lavcodec" are passed to ffmpeg as its arguments to check if it support the codecs? I check the ffmpeg's option and only find that ffmpeg has a similar option "codec" which list out all its suport codes where I find h264.<br>> <br>> <br>> <br>> There goes what I want to seek help:<br>> 1. The oh323tut require a wav file. What's its effects, a tmp file as a buff? The web says it requires the format 16 bit with 8000 Hz and I use cool edit software to produce such a wav file but the program still report wrong file format error. So I got stuck.<br>> 2. How can I catch video from my computer camera. I can't run the h323plus sample "simple", it crash when come to  the call PVideoInputDevice::GetDeviceCapabilities in arg initialization. I debug and found that the ptlib function calls in a cycle: A call B; B call C; C call A. Then the stack runs out. So, what's the trouble here? How can I get my device name pass it to the program instead of "*"?<br>> <br>> <br>> Last but not least, I want to ask Is there any detailed tutorial to learn. I search the net using google, the valuable one is almost only the oh323tut. But the oh323tut is a little too simple. It only shows the audio feature. How is the video? The simple sample shows an example I guess I can try to understand. Is there any related code or project using H323plus, for example using glade to show the video.<br>> <br>> <br>> Best regards<br>> <br>> <br>> Yincheng Li<br>> South China Normal University<br>> <br>> <br>> <br>> <br>> <br>> <br>> ------------------<br><br>--<br>Jan Willamowius, jan@willamowius.de, http://www.gnugk.org/<br><br></div></includetail></div>