Latest version of PWLIB does not compile

2008-04-02
2013-06-03
  • I'm using ptlib-v1_12_0-src.zip and have tried to compile it on Windows XP professional and 2000 Professional OS. I have followed all the prerequisite steps before compiling. I am getting an error "'_CrtReportBlockType' : undeclared identifier".

    Kindly suggest how can i reslove this error.  Thanks!

    The following is the compilation log........

    --------------------Configuration: Console - Win32 Debug--------------------
    Configuring Build Options
    PWLIB File Upgrader v1.0
    Copyright (C) 2004 by Post Increment
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\DEQUE already upgraded
    WARNING: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\FSTREAM has unknown CRC c5dd5df9, assuming it does NOT need upgrade.
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\LIST already upgraded
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\VECTOR already upgraded
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XMEMORY already upgraded
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XSTRING already upgraded
    WARNING: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\XTREE has unknown CRC 65867e3d, assuming it does NOT need upgrade.
    PWLib Configure 1.12 - opened configure.ac
    Searching C:\ Located Direct Sound Support at c:\program files\microsoft visual studio\vc98\ Located ODBC support at c:\program files\microsoft visual studio\vc98\include\ Searching D:\ Features:
                              Version enabled
                           Byte Order enabled
                    Semaphore Support enabled
                       Plugin Support enabled
                         DNS Resolver DISABLED
                           Cyrus SASL DISABLED
                            Open LDAP DISABLED due to absence of feature sasl
                             Open SSL DISABLED
                         Open SSL AES DISABLED due to absence of feature openssl
                     Windows Open SSL DISABLED
                 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 DISABLED
                          QoS Support DISABLED
             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
    Configuration completed.
    Performing Custom Build Step on ..\common\getdate.y
    ../common/getdate.y: conflicts: 8 shift/reduce, 18 reduce/reduce
    Compiling...
    assert.cxx
    Compiling...
    collect.cxx
    contain.cxx
    ethsock.cxx
    icmp.cxx
    mail.cxx
    notifier_ext.cxx
    object.cxx
    D:\Project\openH323\ptlib\src\ptlib\common\object.cxx(1093) : error C2065: '_CrtReportBlockType' : undeclared identifier
    D:\Project\openH323\ptlib\src\ptlib\common\object.cxx(1095) : warning C4127: conditional expression is constant
    osutils.cxx
    pchannel.cxx
    pconfig.cxx
    pethsock.cxx
    pipe.cxx
    pipechan.cxx
    pluginmgr.cxx
    podbc.cxx
    ptime.cxx
    ptlib.cxx
    pvidchan.cxx
    qos.cxx
    remconn.cxx
    Generating Code...
    Compiling...
    safecoll.cxx
    serial.cxx
    sfile.cxx
    sockets.cxx
    sound.cxx
    svcproc.cxx
    vconvert.cxx
    videoio.cxx
    win32.cxx
    wincfg.cxx
    winserial.cxx
    winsock.cxx
    Generating Code...
    Error executing cl.exe.

    ptlibsd.lib - 1 error(s), 3 warning(s)

     
    • Just to add more to it ......I am using MS Visual Studio 6.0.