You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Enrico Popall (JIRA)" <ji...@apache.org> on 2015/05/08 21:41:59 UTC
[jira] [Comment Edited] (QPID-6266) qpid-cpp-0.30 Build Fail -
Org.Apache.Qpid.Messaging.dll
[ https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390773#comment-14390773 ]
Enrico Popall edited comment on QPID-6266 at 5/8/15 7:41 PM:
-------------------------------------------------------------
Call yourself a life saver :) Thanks a lot!
For everyone else having trouble connecting to the broker, this is how it looks like in the example
{code:title=csharp.example.helloworld.cs|borderStyle=solid}
connection = new Connection(broker);
connection.SetOption("sasl_mechanisms", "PLAIN");
connection.SetOption("username", "guest");
connection.SetOption("password", "guest");
connection.Open();
Session session = connection.CreateSession();
{code}
edit: I put a ready to use .NET solution on Github which includes the compiled libraries. Maybe this is a good starting point for everyone stumbling across this problem:
https://github.com/Bl0tt0/ApacheQpidDotnetLibraries
was (Author: bl0tt0):
Call yourself a life saver :) Thanks a lot!
For everyone else having trouble connecting to the broker, this is how it looks like in the example
{code:title=csharp.example.helloworld.cs|borderStyle=solid}
connection = new Connection(broker);
connection.SetOption("sasl_mechanisms", "PLAIN");
connection.SetOption("username", "guest");
connection.SetOption("password", "guest");
connection.Open();
Session session = connection.CreateSession();
{code}
> qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll
> --------------------------------------------------------
>
> Key: QPID-6266
> URL: https://issues.apache.org/jira/browse/QPID-6266
> Project: Qpid
> Issue Type: Bug
> Components: Dot Net Client
> Affects Versions: 0.30
> Environment: Windows XP (x86)
> Windows 7 ( x64).
> Visual Studios 2008, 2010
> Reporter: Fred Cheng
> Assignee: Chuck Rolke
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> The build instructions in the file INSTALL-WINDOWS in qpid-cpp-0.30 does not work. For example, the file said to install
> 1. CMake 2.4
> 2. "cmake -i -G "Visual Studio 9 2008"
> The problem is the CMake 2.4 does not support "Visual Studio 9 2008"
> A second example is that the command -i for cmake has been depreciated in current version of cmake.
> The file README-winsdk.txt also appears to be outdated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org