[ 
https://issues.apache.org/jira/browse/QPID-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim reopened QPID-5646:
------------------------------


Reopening until fixed on 0.28 since it is a blocker for that. The solution on 
trunk works for me with one addition:

{noformat}
===================================================================
--- cpp/src/amqp.cmake  (revision 1582223)
+++ cpp/src/amqp.cmake  (working copy)
@@ -99,6 +99,7 @@
         )
 
     include_directories(${Proton_INCLUDE_DIRS})
+    link_directories(${Proton_LIBRARY_DIRS})
 
     add_library (amqp MODULE ${amqp_SOURCES})
     target_link_libraries (amqp qpidtypes qpidbroker qpidcommon 
${Proton_LIBRARIES} ${Boost_PROGRAM_OPTIONS_LIBRARY})
{noformat}

Without that I get link errors when building against a non-standard proton 
install located via pkg-conf. If you are happy with that, I can commit it.

I've tested building trunk against installations 0.5, 0.6 and 0.7rc1 of proton, 
located via pkg-conf. I've also checked that 0.4 is not accepted.

> Can't build against any released version of proton
> --------------------------------------------------
>
>                 Key: QPID-5646
>                 URL: https://issues.apache.org/jira/browse/QPID-5646
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: 0.28, 0.29
>            Reporter: Gordon Sim
>            Assignee: Andrew Stitcher
>            Priority: Blocker
>             Fix For: 0.29
>
>
> as a result of changes for QPID-5631.
> Both trunk and beta need to be able to build against a released version of 
> proton.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to