[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2016-10-17 Thread Vladimir Vesic (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581766#comment-15581766
 ] 

Vladimir Vesic commented on QPID-6266:
--

Thank you [~chug]!

> 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
> Attachments: qpid-6266-build-log.txt, qpid-6266-workaround.patch
>
>   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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2016-10-14 Thread Vladimir Vesic (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574560#comment-15574560
 ] 

Vladimir Vesic commented on QPID-6266:
--

Thank you very much [~chug]  !
So the prerequisites are 
Qpid C++ 1.35.0 
( https://qpid.apache.org/releases/qpid-cpp-1.35.0/ ) and
Qpid Proton 0.14.0 
( http://qpid.apache.org/releases/qpid-proton-0.14.0/ )
And i should put them in same installing folder and than run your script in 
Qpid c++ folder ? 
Or do i need to use version 0.3 of qpid cpp ?

Thanks in advance !

> 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
> Attachments: qpid-6266-workaround.patch
>
>   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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2016-10-13 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572880#comment-15572880
 ] 

Chuck Rolke commented on QPID-6266:
---

Hi Valdimir,

h2. Boost
There were some user directory reorganizations on apache.org where my old file 
sets were lost.
You can get pre-built boost binaries at 
https://sourceforge.net/projects/boost/files/boost-binaries/

h2. building qpid-proton and qpid-cpp
To run qpidd and the clients with AMQP 1.0 you need to build qpid-proton and 
link it into the qpid build.
I have some 
[scripts|https://github.com/ChugR/qpid-proton-tools/tree/master/bat] for 
building proton and qpid-cpp.
The easiest way to do this is to use a *shared install directory* so that qpid 
finds proton.

IIRC qpid-cpp-0.30 uses the 'qpid' repository. Using my build-proton.bat and 
build-qpid.bat would be:

* cd git
* cd qpid-proton
* \build-proton ..\qpid 2013 x64
* cd ..\qpid
* \build-qpid 2013 x64

You will have to edit build-qpid.bat and fix the script to properly locate your 
boost root directory on your build system. Also, these scripts assume you have 
no Visual Studio in the current environment.

My scripts might seem pretty heavy weight but I had them set up so that I 
easily could select a version of Visual Studio and a processor architecture. If 
you install boost in C:\boost and are already running a Visual Studio 2013 
Command Prompt the scripts could be simplified.


> 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
> Attachments: qpid-6266-workaround.patch
>
>   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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2016-10-13 Thread Vladimir Vesic (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572391#comment-15572391
 ] 

Vladimir Vesic commented on QPID-6266:
--

Hey  [~chug] , 
I am using Windows Server 2012, and I am trying to make c++ application in 
Visual Studio 2013 ultimate, i have Azure Event Hub, and it talks AMQP, so i 
would like to send messages from my app to the Event Hub. I am having a really 
hard time at the moment, because I am totally lost, trying everything and 
nothing seems to work. I was so glad to see here that you guys kind of solved 
this problem! But your links are not valid anymore, and i cant reach for 
exmaple http://people.apache.org/~chug/proton-win/ 
And I don't see boost binaries here  http://people.apache.org/~chug/
I followed instructions here: 
https://azure.microsoft.com/en-us/documentation/articles/event-hubs-c-ephcs-getstarted/
But when it got to sending messages it referenced on you guys.

I just need to send, for beginning, simple messages to event hub, and see how 
this works.
I am sorry if I am asking stupid questions, but i tried and i just cant solve 
this by myself and i need to solve it fast.

-Vladimir
Thank you in Advance.

> 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
> Attachments: qpid-6266-workaround.patch
>
>   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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-07-20 Thread Michael Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633122#comment-14633122
 ] 

Michael Xu commented on QPID-6266:
--

Hello [~chug],

Thanks your help very much!
In theses days, I am struggling with one new issue. that the build of Qpid 
client 0.30 on windows 7 can't run. when i start my demo app, the exception 
"*BadImageFormatException*" happens. I check it with "depends.exe", but there 
is no obvious errors. I really do not known what happened.

{panel:title=BadImageFormatException }
System.BadImageFormatException was unhandled
Message: An unhandled exception of type 'System.BadImageFormatException' 
occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll
Additional information: Could not load file or assembly 
'org.apache.qpid.messaging, Version=0.30.0.1, Culture=neutral, 
PublicKeyToken=7e57166074abee8c' or one of its dependencies. An attempt was 
made to load a program with an incorrect format.
{panel}

My Qpid build environments:
||Name||version||URL||
|Proton |0.8|https://svn.apache.org/repos/asf/qpid/proton/tags/0.8
|Qpid   |0.3|https://svn.apache.org/repos/asf/qpid/tags/0.30/qpid
|windows|windows 7 Professional N(64bit)|N/A
|VS |VS2010 Sp1|N/A
|CMake  |3.2.3| N/A
|boost  |boost-win-1.47-32bit-vs2010|N/A
|Ruby   |2.2.2|N/A
|Python |2.5.2|N/A



> 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
> Attachments: qpid-6266-workaround.patch
>
>   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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-07-12 Thread Michael Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624171#comment-14624171
 ] 

Michael Xu commented on QPID-6266:
--

Hello [~chug], 

BTW, I tried your script to build "qpid 0.30" on windows, It works well, but 
failed with "apid 0.32".

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-07-12 Thread Michael Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624142#comment-14624142
 ] 

Michael Xu commented on QPID-6266:
--

{panel:title=Command Window Output}

D:\Qpid>build_qpid 2010 x86 keep

===
Ready to build.
Using visual studio : 2010
Architecture: x86
Build directory : build_2010_x86
Install directory   : .\install_2010_x86
Keep build dir  : "true"
.
Press Enter to continue, Ctrl-C to abort
Press any key to continue . . .

D:\Qpid>if "true" == "false" call :MakeNewDir build_2010_x86

D:\Qpid>powershell .\cpp\bindings\qpid\dotnet\configure-windows.ps1 2010_x86 D:\
BuildLab\boost-win-1.47-32bit-vs2010
Checking studio version: 2010_x86
The path "D:\Qpid\build_2010_x86" does not appear to be a Qpid C++ build root pa
th.
Running CMake in D:\Qpid\build_2010_x86 : CMake -G "Visual Studio 10" "-DBUILD_D
OCS=No" "-DCMAKE_INSTALL_PREFIX=D:\Qpid\install_2010_x86" "-DBoost_COMPILER=-vc1
00" "-DBOOST_ROOT=D:\BuildLab\boost-win-1.47-32bit-vs2010" "-DINSTALL_QMFGEN=No"
 D:\Qpid\cpp
Build type is "RelWithDebInfo" (has debug symbols)
-- Skipping installing qmf-gen and qmf python site-packages
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
-- Could NOT find Ruby (missing:  RUBY_LIBRARY) (found version "2.2.0")
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Could NOT find VALGRIND (missing:  VALGRIND_EXECUTABLE)
-- Could NOT find SASL (missing:  FOUND_SASL_LIB FOUND_SASL_H)
-- No need to generate AMQP protocol sources
-- No need to generate Qpid Management Framework sources
-- Can't locate the doxygen command; user documentation cannot be generated
-- Boost version: 1.47.0
-- Found the following Boost libraries:
--   program_options
--   date_time
--   thread
--   system
--   chrono
CMake Warning (dev) at CMakeModules/CheckSizetDistinct.cmake:28 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "QPID_SIZE_T_DISTINCT" will no longer be dereferenced
  when the policy is set to NEW.  Since the policy is not set the OLD
  behavior will be used.
Call Stack (most recent call first):
  src/CMakeLists.txt:354 (check_size_t_distinct)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Qpid proton found, amqp 1.0 support enabled
CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "qpidcommon".  Use the
  target name directly with add_custom_command, or use the generator
  expression $, as appropriate.

Call Stack (most recent call first):
  src/CMakeLists.txt:872 (install_pdb)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "qpidtypes".  Use the
  target name directly with add_custom_command, or use the generator
  expression $, as appropriate.

Call Stack (most recent call first):
  src/CMakeLists.txt:898 (install_pdb)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "qpidclient".  Use the
  target name directly with add_custom_command, or use the generator
  expression $, as appropriate.

Call Stack (most recent call first):
  src/CMakeLists.txt:961 (install_pdb)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "qpidmessaging".  Use
  the target name directly with add_custom_command, or use the generator
  expression $, as appropriate.

Call Stack (most recent call first):
  src/CMakeLists.txt:1025 (install_pdb)
This warning is for project developers.  Use -Wno-dev 

[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-07-10 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622787#comment-14622787
 ] 

Chuck Rolke commented on QPID-6266:
---

The errors are part of the CMake process where CMake is determining if optional 
components on your build system are installed or not. I get the same errors in 
a successful build. 

What errors show up in the command window if you launch a rebuild?

CD D:\qpid
build_qpid 2010 x86 keep


> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-07-10 Thread Michael Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622068#comment-14622068
 ] 

Michael Xu commented on QPID-6266:
--

Hello [~chug], 

I am using your script to build "qpid 0.32" on windows, when I execute 
"*build_qpid 2010 x86*", it's failed.

{panel:title=CMakeError.log, The first error in log}
Link:

  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe 
/ERRORREPORT:QUEUE 
/OUT:"D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec4126322476.exe"
 /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib 
shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib sasl2.lib 
/MANIFEST 
/ManifestFile:"cmTryCompileExec4126322476.dir\Debug\cmTryCompileExec4126322476.exe.intermediate.manifest"
 /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG 
/PDB:"D:/Qpid/build_2010_x86/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4126322476.pdb"
 /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT 
/IMPLIB:"D:/Qpid/build_2010_x86/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec4126322476.lib"
 /MACHINE:X86 
cmTryCompileExec4126322476.dir\Debug\cmTryCompileExec4126322476.exe.embed.manifest.res

  cmTryCompileExec4126322476.dir\Debug\CheckFunctionExists.obj  /machine:X86 
/debug 

LINK : fatal error LNK1104: cannot open file '*sasl2.lib*' 
[D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec4126322476.vcxproj]

Done Building Project 
"D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec4126322476.vcxproj" 
(default targets) -- FAILED.



Build FAILED.
{panel}

{panel:title=CMakeError.log, The second error in log}
  CheckIncludeFiles.c

CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 
'sasl/sasl.h': No such file or directory 
[D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec3690042846.vcxproj]

Done Building Project 
"D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec3690042846.vcxproj" 
(default targets) -- FAILED.



Build FAILED.
{panel}

{panel:title=CMakeError.log, The third error in log}
  CheckSymbolExists.c

CheckSymbolExists.c(2): fatal error C1083: Cannot open include file: 
'uuid/uuid.h': No such file or directory 
[D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec2432066574.vcxproj]

Done Building Project 
"D:\Qpid\build_2010_x86\CMakeFiles\CMakeTmp\cmTryCompileExec2432066574.vcxproj" 
(default targets) -- FAILED.



Build FAILED.
{panel}


Did i miss something important?

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-04-01 Thread Enrico Popall (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390773#comment-14390773
 ] 

Enrico Popall commented on QPID-6266:
-

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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-04-01 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390589#comment-14390589
 ] 

Chuck Rolke commented on QPID-6266:
---

Gordon suggests that the windows client uses PLAIN by default, but does not 
supply a username.  Try adding
{NOFORMAT}
 --connection-options '{sasl_mechanisms:ANONYMOUS}' or 
 --connection-options '{username:foo}'
{NOFORMAT}
to your connection creation

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2015-04-01 Thread Enrico Popall (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390310#comment-14390310
 ] 

Enrico Popall commented on QPID-6266:
-

Hi guys
Thanks for the extremly helpful hints you provide here. I was able to compile 
Qpid including Proton with VS 2013.
Nevertheless, the examples won't work as they run into an error when connecting 
to the qpid broker: "Sasl error: no common mechanism". My compiled version does 
not include SASL. I get the same error with Chucks precompiled dlls so I guess 
it is left out there as well.
Is there a way to include cyrus sasl in the windows build?

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-24 Thread Fred Cheng (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258154#comment-14258154
 ] 

Fred Cheng commented on QPID-6266:
--

Hi Chuck,

The build worked! (At least the debug version) How do I set $QPID_BUILD_ROOT 
without using the batch file?  If I use my own path, I get an link error 
MSB3073: "sn.exe -Ra ...".

Just a side note. When compiling qpid-cpp-0.30 solution, the messaging and amqp 
projects build fails.  The reasons are these 3 lines found under linker-> Input.

1. Files/Proton/Debug/qpid-protond.lib.lib
2. Files/Proton/Debug/qpid-proton.lib.lib
3. program.lib

Line #1 & #2 has extra .lib (I took out the extra .lib)
Line #2. It is a release lib in debug directory which will not be found.(I 
removed it)
Line #3. I cannot seem to find program.lib on my system. I was unable to any 
info regarding program.lib online.  (I just removed it)

It appears these values were put in there by CMake. How do I fix these in 
CMake? Do I look at the CMake Files?

Thanks for all of your help.  Have a Merry Christmas

Fred





> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-23 Thread Fred Cheng (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258046#comment-14258046
 ] 

Fred Cheng commented on QPID-6266:
--

Hi Chunk,

Sorry to keep bothering you. 


All the DDLs are x64 since CMake used x64 VC++ compiler.  The 
org.apache.message solution was the only one that gave me options to build 
either win32 or x64.  I have 


While I am building qpid-cpp 0.30, I had to make fixes to the linker 
library/dependencies to compile qpidmessenger.dll.  This also happens to be the 
dll that is throwing the build error in org.apache.messaging.  The original 
Linker -> Input has the following lines

Files/Proton/lib/qpid-proton.lib.lib
Program.lib
Files/Proton/lib/qpid-protond.lib.lib

1. There appears to be an extra .lib attached to qpid-proton.lib.  So I removed 
the extra .lib.
2. Since I am just trying to get the debug one to work for now, I removed the 
line with qpid-proton.lib
3. I could not find "program.lib" so I removed it.  

Question 1. >> Is program.lib necessary? where do I get it? 

I am using the boost files from your link -> boost-win-1.52-64bit-vs2010.zip
Question 2. >> The build are reading header files from a win32 
(include\boost-1_52\boost/thread/win32/) directory, will that matter?

Question 3. >> The build throws the warning C4251 when it tries to link to the 
boost header.

Question 4. >> Should I use a different set of boost files?  They worked for me 
on CMake, but seem to have issues during build of qpidmessage and amqp projects

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-23 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257257#comment-14257257
 ] 

Chuck Rolke commented on QPID-6266:
---

Hi Fred,

No need to run cmake for the org.apache.messaging solution. The solution is 
processed by cmake and ends up in the build directory. I understand about 
having all three projects in one solution for seamless debugging.

Are your received messages being acknowledged and is the receiver issuing 
credit back to ActiveMQ? Those are common issues for receive streams that hang.

-Chuck


> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-23 Thread Fred Cheng (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257217#comment-14257217
 ] 

Fred Cheng commented on QPID-6266:
--

Hi Chuck,

Thanks.  I will check all the *.dlls. Do I need to run CMake for the 
org.apache.messaging solution?  Currently, I just open the solution from 
binding/dotnet/.../msvc10/ and try to build all from there.  

I am deviating from your build process because I am trying to put all three 
(QPID-Proton, QPID and org.apache.messaging) into one solution file.  This is 
helpful when trying to debug / trace code from org.apache.messaging -> QPID -> 
QPID-Proton.  

As an example, using messaging API (org.apache.messaging, C# hello world 
sample) I sent 1,000 messages to Active MQ with for loop.  Next I try to fetch 
it 1,000 times.  For some reason, if I fetch more than 98 messages, the system 
hangs.   The only way I can find out why is through a solution that contains 
QPID and probably more specifically the amqp (handles AQMP 1.0 protocol).  

In addition, I am testing Gordon's fix on IBM's new MQ Light.  IBM is using 
QPID-proton for AMQP 1.0.  So far it has not worked and I would like to trace 
to QPID-proton level to find out why. 

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-23 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257078#comment-14257078
 ] 

Chuck Rolke commented on QPID-6266:
---

x86 and x64 builds both work. Pick your target and go for it.

1. Make sure cmake is targeting a 64-bit build.
{noformat}
cmake -G "Visual Studio 10"-- 32 bit
cmake -G "Visual Studio 10 Win64"  -- 64 bit
{noformat}

2. Make sure you have a native 64-bit qpid build. From a developer command 
prompt:
{noformat}
cd $checkout\build_2010_x64\src\Debug
dumpbin /headers qpidcommon[d].dll | findstr machine
   8664 machine (x64)
{noformat}
The qpid build is 64-bit.
A 32-bit build will show '14C machine (x86)' and '32 bit word machine'

You could check all the qpid*.dll files and the boost*.dll files that you are 
trying to build/use. When any of the unmanaged dll files are wrong it's really 
hard to find that out from within .NET.

3. In my build scheme I use the cpp\bld-winsdk.ps1 script. It emits a 
batch/powershell script set that can launch the qpidmessaging build.
{noformat}
$env:PATH  = "c:\boost-win-1.47-64bit-vs2010\lib;$env:PATH"
$env:QPID_BUILD_ROOT= "D:\git\qpid\build_2010_x64"
Write-Host  "Launch org.apache.qpid.messaging.sln in Visual Studio 2010 x64 
(64-bit) environment."
D:\git\qpid\build_2010_x64\bindings\qpid\dotnet\msvcx\org.apache.qpid.messaging.sln
{noformat}

When Visual Studio starts choose x64 and build the solution.


> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-23 Thread Fred Cheng (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256913#comment-14256913
 ] 

Fred Cheng commented on QPID-6266:
--

I was able to build proton and qpid.  Your directions and boost binaries were 
extremely helpful to get me past Cmake. There were some issues with qpid 
solution and caused some build errors with qpidmessenger.dll.  I figured out 
how to fix it.  I have documented the process, but will be need to polish it.

I am trying to build org.apache.qpid.messaging.dll.  So far I have not been 
able to get it to build correctly.  The org.apache.qpid.messaging solution is 
unable to link qpidclient.lib.  The message indicate it to be conflict with 
win32 and x64.  I am using x64, qpidclient.dll were compiled in x64 as well. I 
have set to compile in x64 mode, but the compiler appears to be unhappy.

Any advice on how to compile org.apache.qpid.messaging.dll?  Is it running 
under win32 only?  If that is the case, I will have to track down a win32 
machine.

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-14 Thread Fred Cheng (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246298#comment-14246298
 ] 

Fred Cheng commented on QPID-6266:
--

Hi Chuck,
Thanks for the information.  It pointed me in the right direction and I was 
able to build the qpid-cpp 0.30 client.  

I am in the process of writing a new INSTALL-WINDOWS file that will include 
compatible combination of cmake, boost, visual studio and other dependencies.  
I will publish this information.  

> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-6266) qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll

2014-12-10 Thread Chuck Rolke (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241716#comment-14241716
 ] 

Chuck Rolke commented on QPID-6266:
---

Building qpid-cpp on windows is a definite challenge. As time marches on the 
suite of cmake-boost-qpid-proton-visual_studio must all progress together. 
Typical issues are cmake version X or Boost version Y doesn't have support for 
Visual Studio version Z. Qpid includes various source code changes to 
accomodate cmake, boost, Proton, and Visual Studio in its various releases. 
Until the INSTALL-WINDOWS gets an update here are some of my notes.

1. Pre built kits. Here are some Org.Apache.Qpid.Messaging kits already made.
See https://github.com/ChugR/Apache.NMS-vendor.Apache.QPID
See 
https://github.com/ChugR/Apache.NMS-vendor.Apache.QPID/tree/master/Apache.QPID/0.28.0.16239/src
 This kit builds QPID 0.28 and PROTON 0.7. The scripts that made the kit are 
included.

2. Pre built Boost
See http://people.apache.org/~chug/ There are boost-win-1.xx folders that have 
the boost builds. Boost is great but it's a major hurdle to use outside of a 
linux distribution.

3. Building Proton and Qpid from source
See http://people.apache.org/~chug/proton-win/ for the scripts I use on a daily 
basis building from source code checkouts.

4. Here are some instructions and hints on building Proton and Qpid with Visual 
Studio 2012.
{noformat}
Proton
==
Building Proton is straightforward and has few dependencies. 
That said, the trick for building a Proton that can be included by 
Qpid is by using a shared install directory.

Qpid

Building Qpid has more issues with dependencies such as Boost and Proton. 
With some careful attention these issues may be solved directly.

Pre build setup:

I have some resources on my Apache personal page that will help you.

1. Download a VS2012 Boost from:
   http://people.apache.org/~chug/boost-win-1.53/
   Select the 32-bit or 64-bit version to fit your needs.

   Be careful that virus scanners do not prevent boost downloads.
   I do all my qpid development on a drive that is not part of
   antivirus protection.

2. Download some build scripts from:
   http://people.apache.org/~chug/proton-win/

   Assume that your builds are in these folders:
  Qpid- D:\qpid
  Proton  - D:\proton

   The scripts are named with .bat.txt suffixes to enable downloads without
   having virus scanners or system protections prevent the download. Once
   these files are downloaded, rename them to simple .bat

   When done you should have
  D:\qpid\build_qpid.bat
  D:\proton\build_proton.bat

3. Edit build_qpid.bat to set MY_BOOST_ROOT to hold the specific locations where
your boost libraries are stored on your build system.

4. The build_qpid script requires that you do NOT define BOOST_ROOT in your
environment. Windows-based cmake has trouble differentiating between 32-bit
and 64-bit boost installations. In my experience it is best to allow the
build scripts to define Boost on the fly. Please undefine BOOST_ROOT before
executing these scripts.

Ready to build
==
You are now ready to build. Here is the important theory behind these scripts:

1. You must build proton first since qpid will share the proton install 
directory.

2. The build_proton script requires the root path for where it
will place the installed proton. To work with the build_qpid script
this path is the name of the directory in which the build_qpid.bat
script exists: D:\qpid

3. These scripts use a regular pattern for naming build/install,
visual studio version, and architecture folders. This is somewhat arbitrary but
it keeps things regular and simple. For both proton and qpid the folders are
named:
   build_2008_x86   install_2008_x86
   build_2008_x64   install_2008_x64
   build_2010_x86   install_2010_x86
   build_2010_x64   install_2010_x64
   build_2012_x86   install_2012_x86
   build_2012_x64   install_2012_x64

Running the build
=

1. Build proton. (32-bit x86 is shown here. For 64-bit choose 'x64' instead)
D:
cd \proton
build_proton D:\qpid 2012 x86

2. Proton build result. After a successful build you should have
D:\proton\build_2012_x86
D:\qpid\install_2012_x86

Note: proton is installed in the qpid directory. The proton folder has
only proton build folders and no install folders.

3. Build qpid
   D:
   cd \qpid
   build_qpid 2012 x86

   Observe during the cmake part of the build that Proton is found and that
   AMQP 1.0 support is included. Ignore the 0.7/0.8 version warnings:

   -- Found Proton: 
optimized;D:/Users/svn/qpid/install_2010_x86/lib/qpid-proton.lib;
  debug;D:/Users/svn/qpid/install_2010_x86/lib/qpid-protond.lib (found 
version "0.8")
  CMake Warning at src/amqp.cmake:28 (message):
 Qpid proton 0.8 is not a tested version and might not be compatible, 
0.7 is