qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Clinton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1492) event_loop::inject link error with qpid-proton-0.17.0
Date Tue, 30 May 2017 23:08:04 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030329#comment-16030329
] 

Greg Clinton commented on PROTON-1492:
--------------------------------------

building qpid-proton-0.17.0 -DCMAKE_CXX_FLAGS=-std=c++11 seems to have taken care of my issue

> event_loop::inject link error with qpid-proton-0.17.0
> -----------------------------------------------------
>
>                 Key: PROTON-1492
>                 URL: https://issues.apache.org/jira/browse/PROTON-1492
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: 0.17.0
>         Environment: ubuntu 16.04
>            Reporter: Greg Clinton
>            Assignee: Cliff Jansen
>
> 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=c++11 the link issue goes away. But I will need -std=c++11
at least.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message