Menu

Can not use some features under win32(VC++)

Help
2001-12-11
2001-12-12
  • John P. Hunter

    John P. Hunter - 2001-12-11

    like Keydata , xml parser . maybe i'm fool . who can help me ?
    Common C++ 1.9.2 & VC++ 6.0

     
    • Michael Heck

      Michael Heck - 2001-12-11

      hi,

      as i understood, there are some libraries not available under win32, which results in inavailibility of features like xml.
      so, my expriences is, that xml, keydata, commandline parsing doesn't work in win32.

      bye, michael

       
      • John P. Hunter

        John P. Hunter - 2001-12-12

        Thanks
        I have complied Common C++ 1.9.2 win32 libxml2 ( use libxml2.a ) . I found that the DLL is about 700K , which is more than release version DLL . but when I bulid xmlfetch , it still can not pass .
        --------------------Configuration: xmlfetch - Win32 Debug--------------------
        Compiling...
        xmlfetch.cpp
        c:\usr\commonc++-1.9.2\demo\xmlfetch.cpp(151) : warning C4508: 'main' : function should return a value; 'void' return type assumed
        c:\usr\commonc++-1.9.2\demo\xmlfetch.cpp(124) : warning C4101: 'len' : unreferenced local variable
        c:\usr\commonc++-1.9.2\demo\xmlfetch.cpp(122) : warning C4101: 'cbuf' : unreferenced local variable
        Linking...
        xmlfetch.obj : error LNK2001: unresolved external symbol "public: bool __thiscall ost::XMLStream::Parse(char const *)" (?Parse@XMLStream@ost@@QAE_NPBD@Z)
        Debug/xmlfetch.exe : fatal error LNK1120: 1 unresolved externals
        Error executing link.exe.

        xmlfetch.exe - 2 error(s), 3 warning(s)

        same as use release version CCGNU32v2.lib .
        What's wrong ?

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.