You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Albert Strasheim (JIRA)" <ji...@apache.org> on 2008/05/26 02:16:54 UTC

[jira] Created: (AMQCPP-177) Defines for static linking with APR on Windows

Defines for static linking with APR on Windows
----------------------------------------------

                 Key: AMQCPP-177
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
             Project: ActiveMQ C++ Client
          Issue Type: Improvement
            Reporter: Albert Strasheim
            Assignee: Nathan Mittler


It seems one has to define

APR_DECLARE_STATIC
APU_DECLARE_STATIC
API_DECLARE_STATIC

in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.

I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-177.
---------------------------------

    Resolution: Fixed

Defines added in trunk VC project file.

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Timothy Bish
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43043#action_43043 ] 

Albert Strasheim commented on AMQCPP-177:
-----------------------------------------

I don't think my commit rights were ever sorted out properly. I submitted my documentation to ASF and they received it, but it stopped there for some reason.

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43041#action_43041 ] 

Timothy Bish commented on AMQCPP-177:
-------------------------------------

This sounds fine, why don't you go ahead and make the changes to the studio projects and commit them for 2.2

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43044#action_43044 ] 

Timothy Bish commented on AMQCPP-177:
-------------------------------------

Can you raise this issue on the developer list so we can see if we can get that sorted out.

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQCPP-177:
--------------------------------

    Fix Version/s: 2.2

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Nathan Mittler
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AMQCPP-177) Defines for static linking with APR on Windows

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish reassigned AMQCPP-177:
-----------------------------------

    Assignee: Timothy Bish  (was: Nathan Mittler)

> Defines for static linking with APR on Windows
> ----------------------------------------------
>
>                 Key: AMQCPP-177
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-177
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>            Reporter: Albert Strasheim
>            Assignee: Timothy Bish
>             Fix For: 2.2
>
>
> It seems one has to define
> APR_DECLARE_STATIC
> APU_DECLARE_STATIC
> API_DECLARE_STATIC
> in the Windows Debug and Release builds so that the static library version of AMQCPP can be properly linked along with the static version of apr, apr-util and apr-iconv.
> I had to do this to get pyactivemq building with VS2005 using the latest AMQCPP from trunk (thanks for fixing the Windows build!).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.