[h323plus] Errors while compliling PTLIB 1.12.0

Simon Horne s.horne at packetizer.com
Mon Dec 3 16:28:17 EST 2007


Make sure you put the pwlib/include path in the VC++ Directories include directory. 
In VS 2003 Menu tools > options > under projects in the options window > VC++ Directories.

Simon
  -----Original Message-----
  From: h323plus-bounces at lists.packetizer.com [mailto:h323plus-bounces at lists.packetizer.com]On Behalf Of JF NP
  Sent: Tuesday, December 04, 2007 2:15 AM
  To: h323plus at lists.packetizer.com
  Subject: [h323plus] Errors while compliling PTLIB 1.12.0


  Hi,

  When I try to compile PTLib (1.12.0) on a computer running Windows XP using VS
  2003, I get the following errors (see below, after system configuration), can
  anybody help me?? 
  This is what configure reports:
  Located Direct Sound Support at c:\archivos de programa\microsoft directx sdk
  (june 2007)\
  Located DNS Resolver at c:\archivos de programa\microsoft visual studio .net
  2003\vc7\platformsdk\
  Located IPv6 Support at c:\archivos de programa\microsoft visual studio .net
  2003\vc7\platformsdk\include\
  Located QoS Support at c:\archivos de programa\microsoft visual studio .net
  2003\vc7\platformsdk\include\
  Located ODBC support at c:\archivos de programa\microsoft visual studio .net
  2003\vc7\platformsdk\include\
  Searching D:\
  Located Open SSL at
  d:\desarrollo\veediaplatform\externaldependencies\openssl-0.9.7e\
  Located Open SSL AES at
  d:\desarrollo\veediaplatform\externaldependencies\openssl-0.9.7e\
  Features:
                            Version enabled
                         Byte Order enabled
                  Semaphore Support enabled
                     Plugin Support enabled
                       DNS Resolver enabled
                         Cyrus SASL DISABLED
                          Open LDAP DISABLED due to absence of feature sasl
                           Open SSL enabled
                       Open SSL AES enabled
                   Windows Open SSL DISABLED due to presence of feature openssl
               Windows Open SSL AES DISABLED due to absence of feature winssl
                          Expat XML DISABLED
                  Windows Expat XML DISABLED
                               VXML DISABLED due to absence of feature expat|winexpat
                             Jabber DISABLED due to absence of feature expat|winexpat
                             XMLRPC DISABLED due to absence of feature expat|winexpat
                               SOAP DISABLED due to absence of feature expat|winexpat
                         Speech API DISABLED
                       IPv6 Support enabled
                        QoS Support enabled
           Simple DirectMedia Layer DISABLED
                      Video Support enabled
                        ASN Support enabled
                       STUN Support enabled
               pipe channel Support enabled
     DTMF encoding/decoding support enabled
                   WAV file support enabled
             SOCKS protocol support enabled
               FTP protocol support enabled
              SNMP protocol support enabled
            Telnet protocol support enabled
          remote connection support enabled
                     Serial Support enabled
                  POP3/SMTP Support enabled
                       HTTP Support enabled
               HTTP service Support enabled
       Config file protocol support enabled
         Socket aggregation support enabled
                 Video file support enabled
                      Sound support enabled
               Direct Sound Support enabled
                       ODBC support enabled

  Errors:

  ..\..\..\include\ptlib\pprocess.h(819) : error C2143: syntax error : missing ';'
  before '<'
  ..\..\..\include\ptlib\plugin.h(81) : error C2516: 'PFactory' : is not a legal
  base class
          ..\..\..\include\ptlib\pprocess.h(819) : see declaration of 'PFactory'
          ..\..\..\include\ptlib\plugin.h(115) : see reference to class template
  instantiation 'PDevicePluginFactory<_Abstract_T,_Key_T>' being compiled
  ..\..\..\include\ptlib\plugin.h(81) : error C2143: syntax error : missing ','
  before '<'
  ..\..\..\include\ptlib\plugin.h(84) : error C2516: 'PFactory' : is not a legal
  base class
          ..\..\..\include\ptlib\pprocess.h(819) : see declaration of 'PFactory'
          ..\..\..\include\ptlib\plugin.h(84) : see reference to class template
  instantiation 'PDevicePluginFactory<_Abstract_T,_Key_T>::Worker' being compiled
  ..\..\..\include\ptlib\plugin.h(84) : error C2143: syntax error : missing ','
  before '<'
  ..\..\..\include\ptlib\plugin.h(84) : error C2039: 'WorkerBase' : is not a
  member of 'operator``global namespace'''
  ..\..\..\include\ptlib\pfactory.h(475) : error C2904: 'PFactory' : name already
  used for a template in the current scope
          ..\..\..\include\ptlib\pprocess.h(819) : see declaration of 'PFactory'
  ..\..\..\include\ptlib\pfactory.h(475) : error C2920: redefinition : 'PFactory'
  : template class has already been declared as 'typedef int PFactory'
          ..\..\..\include\ptlib\pfactory.h(475) : see declaration of 'PFactory'
          ..\..\..\include\ptlib\pprocess.h(819) : see declaration of 'PFactory'





------------------------------------------------------------------------------

  ¿Chef por primera vez? - Sé un mejor Cocinillas.
  Entra en Yahoo! Respuestas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20071204/d19afe0b/attachment-0004.html>


More information about the h323plus mailing list