These days using Apache qpid, online about the compilation process under Windows almost no, their own compile time also wasted a bit of effort, is now recorded to treat others.
First, you can be sure that QPID does support the Windows platform. But the compilation process is similar to the Linux compilation process and requires a second build to form the SLn file under Windows
The first step: Prepare the environment, need to install the following software:
1.ruby
2.python
3.cmake
4.boost
1.2 items are used to generate the project again and are not used in the future
3 items are necessary, Qpid is a cmake project, in line with the development trend of
4 items are compiled necessary function library, also recommended devs can use, boost compilation process online A lot, easy to compile
The second step: Extract the qpid-cpp-0.28 folder, note that should form such a folder tree:
---any folder name, such as Qpid-cpp
-------qpid-cpp-0.28
-------cpp//Self-built folder, you must have this name
Then copy everything under the qpid-cpp-0.28 to the CPP folder.
Step three: Win+r PowerShell, drag the Bld-winsdk.ps1 file under the qpid-cpp-0.28 folder into PowerShell and add parameters: Boost path + space +boost version, for example 1.53.0+ space + VS2010, such as the + compiled version, x86 or x64, specifically as follows
Then there will be a large heap of compilation information, no tube, and finally in the Qpid-cpp folder with the chromatography tree generated a folder, called:
Compiled version, x86 or x64+vs2010, such as x86-vs2010, the directory is the sln file, if you set the path of Denev, it will be automatically compiled
Examples of files under this folder:
Possible problems in compiling:
1. Personal compilation boost after the library path according to personal preferences may cause CMake to find the Boost library location, the compilation may prompt:
This error I follow the instructions set as if there is no effect, I used another way, using the UE open Cpp/src/cmakelists.txt 288 lines,
Find_package (Boost ${boost_minversion} REQUIRED components ${boost_components})
Change into
Set (Boost_library_dirs "F:/boost/lib") #find_package (Boost ${boost_minversion} REQUIRED components ${boost_ Components})
Of course, the specific path depends on personal preferences to modify, so that after the change is no problem.
In addition, the associated Openmama project is a high-level abstraction of some of the well-known MQ, used to mask function differences without MQ, which should be better used together.
Openmama is the NYSE open source out of the project, the specific effect crossing online should be good, need to verify.