You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Christophe Halna <ch...@groupekpf.fr> on 2009/02/02 16:17:29 UTC

Release WIN32 version for the broker (VS 2008)

Hello,

I'm discovering QPID.
I have successfully built a debug/win32 version using VS 2008.

I could even run the samples after doing the following steps :

1) create a win32 empty project,

2) specify correct options
_DEBUG WIN32 _CONSOLE _CRT_NONSTDC_NO_WARNINGS NOMINMAX 
WIN32_LEAN_AND_MEAN _SCL_SECURE_NO_WARNINGS

3) remove the line 
#include <unistd.h>

But this morning comes with a new challenge : build a release version of 
the broker :
and here comes the error message :

1>Compilation en cours...
1>generate_MaxMethodBodySize_h.cpp
1>G:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(419) 
: error C2664: 
'qpid::InlineAllocator<BaseAllocator,Max>::InlineAllocator(const 
qpid::InlineAllocator<BaseAllocator,Max> &)' : impossible de convertir 
le paramètre 1 de 'qpid::InlineAllocator<BaseAllocator,Max>' en 'const 
qpid::InlineAllocator<BaseAllocator,Max> &'

Anybody can help ?
Thank you.




---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


RE: Release WIN32 version for the broker (VS 2008)

Posted by "Cliff Jansen (Interop Systems Inc)" <v-...@microsoft.com>.
Hi Christophe,

This is the only fix so far that is specifically applicable to the Windows port of Qpid C++.  Picking up that one fix will provide you the most stable source to work from.

Cliff

-----Original Message-----
From: Christophe Halna [mailto:christophe.halna@groupekpf.fr]
Sent: Monday, February 02, 2009 8:00 AM
To: users@qpid.apache.org
Subject: Re: Release WIN32 version for the broker (VS 2008)

Thank you Josh,

does it make sense to pick up 1 file from the repository ?
or should I take all changes ?

Cheers,
Christophe

Joshua Kramer a écrit :
>
> Hello Christophe,
>
> To compile for release, you need to get the latest version of
> InlineAllocator.h from the source repository.  The version in the M4
> release has a problem that breaks release builds.
>
> I was able to build a release version with VS 2008 after I got the
> most recent InlineAllocator.h.
>
> Cheers,
> -Josh
>
> On Mon, 2 Feb 2009, Christophe Halna wrote:
>
>> Date: Mon, 02 Feb 2009 16:17:29 +0100
>> From: Christophe Halna <ch...@groupekpf.fr>
>> Reply-To: users@qpid.apache.org
>> To: users@qpid.apache.org
>> Subject: Release WIN32 version for the broker (VS 2008)
>>
>> Hello,
>>
>> I'm discovering QPID.
>> I have successfully built a debug/win32 version using VS 2008.
>>
>> I could even run the samples after doing the following steps :
>>
>> 1) create a win32 empty project,
>>
>> 2) specify correct options
>> _DEBUG WIN32 _CONSOLE _CRT_NONSTDC_NO_WARNINGS NOMINMAX
>> WIN32_LEAN_AND_MEAN _SCL_SECURE_NO_WARNINGS
>>
>> 3) remove the line #include <unistd.h>
>>
>> But this morning comes with a new challenge : build a release version
>> of the broker :
>> and here comes the error message :
>>
>> 1>Compilation en cours...
>> 1>generate_MaxMethodBodySize_h.cpp
>> 1>G:\Program Files\Microsoft Visual Studio
>> 9.0\VC\include\xutility(419) : error C2664:
>> 'qpid::InlineAllocator<BaseAllocator,Max>::InlineAllocator(const
>> qpid::InlineAllocator<BaseAllocator,Max> &)' : impossible de
>> convertir le paramètre 1 de
>> 'qpid::InlineAllocator<BaseAllocator,Max>' en 'const
>> qpid::InlineAllocator<BaseAllocator,Max> &'
>>
>> Anybody can help ?
>> Thank you.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: Release WIN32 version for the broker (VS 2008)

Posted by Christophe Halna <ch...@groupekpf.fr>.
Thank you Josh,

does it make sense to pick up 1 file from the repository ?
or should I take all changes ?

Cheers,
Christophe

Joshua Kramer a écrit :
>
> Hello Christophe,
>
> To compile for release, you need to get the latest version of 
> InlineAllocator.h from the source repository.  The version in the M4 
> release has a problem that breaks release builds.
>
> I was able to build a release version with VS 2008 after I got the 
> most recent InlineAllocator.h.
>
> Cheers,
> -Josh
>
> On Mon, 2 Feb 2009, Christophe Halna wrote:
>
>> Date: Mon, 02 Feb 2009 16:17:29 +0100
>> From: Christophe Halna <ch...@groupekpf.fr>
>> Reply-To: users@qpid.apache.org
>> To: users@qpid.apache.org
>> Subject: Release WIN32 version for the broker (VS 2008)
>>
>> Hello,
>>
>> I'm discovering QPID.
>> I have successfully built a debug/win32 version using VS 2008.
>>
>> I could even run the samples after doing the following steps :
>>
>> 1) create a win32 empty project,
>>
>> 2) specify correct options
>> _DEBUG WIN32 _CONSOLE _CRT_NONSTDC_NO_WARNINGS NOMINMAX 
>> WIN32_LEAN_AND_MEAN _SCL_SECURE_NO_WARNINGS
>>
>> 3) remove the line #include <unistd.h>
>>
>> But this morning comes with a new challenge : build a release version 
>> of the broker :
>> and here comes the error message :
>>
>> 1>Compilation en cours...
>> 1>generate_MaxMethodBodySize_h.cpp
>> 1>G:\Program Files\Microsoft Visual Studio 
>> 9.0\VC\include\xutility(419) : error C2664: 
>> 'qpid::InlineAllocator<BaseAllocator,Max>::InlineAllocator(const 
>> qpid::InlineAllocator<BaseAllocator,Max> &)' : impossible de 
>> convertir le paramètre 1 de 
>> 'qpid::InlineAllocator<BaseAllocator,Max>' en 'const 
>> qpid::InlineAllocator<BaseAllocator,Max> &'
>>
>> Anybody can help ?
>> Thank you.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: Release WIN32 version for the broker (VS 2008)

Posted by Joshua Kramer <jo...@globalherald.net>.
Hello Christophe,

To compile for release, you need to get the latest version of 
InlineAllocator.h from the source repository.  The version in the M4 
release has a problem that breaks release builds.

I was able to build a release version with VS 2008 after I got the most 
recent InlineAllocator.h.

Cheers,
-Josh

On Mon, 2 Feb 2009, Christophe Halna wrote:

> Date: Mon, 02 Feb 2009 16:17:29 +0100
> From: Christophe Halna <ch...@groupekpf.fr>
> Reply-To: users@qpid.apache.org
> To: users@qpid.apache.org
> Subject: Release WIN32 version for the broker (VS 2008)
> 
> Hello,
>
> I'm discovering QPID.
> I have successfully built a debug/win32 version using VS 2008.
>
> I could even run the samples after doing the following steps :
>
> 1) create a win32 empty project,
>
> 2) specify correct options
> _DEBUG WIN32 _CONSOLE _CRT_NONSTDC_NO_WARNINGS NOMINMAX WIN32_LEAN_AND_MEAN 
> _SCL_SECURE_NO_WARNINGS
>
> 3) remove the line #include <unistd.h>
>
> But this morning comes with a new challenge : build a release version of the 
> broker :
> and here comes the error message :
>
> 1>Compilation en cours...
> 1>generate_MaxMethodBodySize_h.cpp
> 1>G:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(419) : 
> error C2664: 'qpid::InlineAllocator<BaseAllocator,Max>::InlineAllocator(const 
> qpid::InlineAllocator<BaseAllocator,Max> &)' : impossible de convertir le 
> param�tre 1 de 'qpid::InlineAllocator<BaseAllocator,Max>' en 'const 
> qpid::InlineAllocator<BaseAllocator,Max> &'
>
> Anybody can help ?
> Thank you.
>
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>

-- 

-----
http://www.globalherald.net/jb01
GlobalHerald.NET, the Smarter Social Network! (tm)