Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 31022 invoked from network); 2 Feb 2009 15:26:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 15:26:30 -0000 Received: (qmail 9133 invoked by uid 500); 2 Feb 2009 15:26:29 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 9115 invoked by uid 500); 2 Feb 2009 15:26:29 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 9104 invoked by uid 99); 2 Feb 2009 15:26:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 07:26:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.132.247 as permitted sender) Received: from [209.85.132.247] (HELO an-out-0708.google.com) (209.85.132.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 15:26:20 +0000 Received: by an-out-0708.google.com with SMTP id c2so632324anc.41 for ; Mon, 02 Feb 2009 07:25:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=dzYRM/ODas78llXAdt9B3sCw9uH5O5Swc8y0PX9xfUw=; b=wH8SrUL3LjYQ8T5SSNhDzZmCvt+bH94+/qm5oO+gQagNSZVaRvfea9F4pW5X9fdl1R Qf4Nfsy+tgazHpi01WDTY9EddXkhPNzUYKu1/Q+bS+EiaIGD7eU+l0AV8/bGtEs5iEx2 P2vGUT617NtnT27QMYo2E0ibgURVNxKm+h1bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=c+C7OEx+tFU9gaV0Wcv1ecnAiPOQqruTB891NAncZVAh4yN+E0CqdYJnmETzHxALCx Q2xD6d2pHwe8nRmcy1wA8czOkBhciE+FYqDWeXn6oZ5GT+lkImuSSRtH9GXHrJSx7lgk fQqUYwb2wESDH5Gu3MVeCXL0hmBFdPB7xYbHo= Received: by 10.65.93.12 with SMTP id v12mr2689962qbl.108.1233588358836; Mon, 02 Feb 2009 07:25:58 -0800 (PST) Received: from ?192.168.2.199? ([68.49.143.174]) by mx.google.com with ESMTPS id s30sm933482qbs.39.2009.02.02.07.25.58 (version=SSLv3 cipher=RC4-MD5); Mon, 02 Feb 2009 07:25:58 -0800 (PST) Subject: Re: Building From: Timothy Bish To: dev@activemq.apache.org In-Reply-To: <21791435.post@talk.nabble.com> References: <21791435.post@talk.nabble.com> Content-Type: text/plain Date: Mon, 02 Feb 2009 10:25:57 -0500 Message-Id: <1233588357.3642.17.camel@office> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2009-02-02 at 07:17 -0800, dj9 wrote: > Hi there, > > I have just started looking at using ActiveMQ and it's associated clients > but am having some trouble with CMS on windows which hopefully somebody can > shed some light on for me. > > I want to use ActiveMQ and CMS to allow Windows (MFC) applications to talk > (simple text) to each other and to other Linux applications (will be using > Perl/Ruby client for Linux side). From the examples available I can see > that this is done easily within Ruby and Perl using Stomp and I have see > Visual Studio (v2005) is supported for CMS. I want to create a class using > CMS which the Windows MFC applications can use to talk to each other and to > the Linux applications via ActiveMQ. I have downloaded the the latest > version of ActiveMQ-CPP (v2.2.3) and have built the projects > (vs2005-activemq, vs2005-activemq-example, > vs2005-activemq-integration-tests, vs2005-activemq-unittests) within the > supplied source using MS Visual Studio 2005. I had to change the project > setup slightly to be able to find all the referenced library directories and > dlls where I'd installed the required tools, but aside from that didn't have > to change much in the project. Below is a list of the tools and their > versions I'm using in my setup: > ActiveMQ-CPP (v2.2.3) > apr (v1.3.3) > apr-iconv (v1.2.1) > apr-util (v1.3.4) > cppunit (v1.12.1) > > My issue is that I cannot run the example projects either in debug or > release mode, as I get the following Windows error "The procedure entry > point _apr_pool_create_unmanaged_ex@12 could not be located in the dynamic > link library libapr-1.dll". However this does seem to be available and > exists within the libapr-1.dll so I am confused as to what the issue is, can > anybody see what I've done wrong? > > Is what I am trying to achieve reasonable? Should I be trying to solve my > problem in another way? Your setup seems reasonable and looks to mirror the versions that I use on my windows install so I'm not sure why its not able to find that method. The first thing that comes to mind is that the loader is finding an older version of APR's dll, you don't have any others laying around that could be picked up on the system path do you? > > Many thanks in advance for your help. > Kind regards > Derek > > -- Tim Bish http://fusesource.com http://timbish.blogspot.com/