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

event_loop::inject link error with qpid-proton-0.17.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.17.0
    • proton-c-0.17.0
    • cpp-binding
    • None
    • ubuntu 16.04

    Description

      When I build my qpid-proton-0.17.0 program I get this link error:

      undefined reference to proton::event_loop::inject(std::function<void ()>)
      Here is how I build:

      g++ -std=c++14 myprog.cpp -o myprog -lqpid-proton-cpp -lboost_system -lcrypto -lssl
      Am I missing a library?

      Also, without -std=c+14 or -std=c11 the link issue goes away. But I will need -std=c+11 at least.

      Attachments

        Activity

          People

            cliffjansen Clifford Jansen
            greg.clinton@gmail.com Greg Clinton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: