Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-990

[C++ binding] Examples fail to link in Visual Studio 2012, 2015

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.10
    • proton-0.11.0
    • None
    • None
    • Windows Visual Studio 2012, 2015

    Description

      Issue reported by Clemens Vasters

      Trying to build current qpid-proton master on Windows with Visual Studio 2015 (MSVC 19) and I'm getting linker errors for std::auto_ptr for all the examples in examples/cpp

      The errors all look largely the same and are all about auto_ptr, so I just give one:

      sync_client.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::auto_ptr<class proton::message> __cdecl proton::message::create(void)" (__imp_?create@message@proton@@SA?AV?$auto_ptr@Vmessage@proton@@@std@@XZ) referenced in function "public: __thiscall proton::message_value::message_value(void)" (??0message_value@proton@@QAE@XZ)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: