Build QPID C++ Using Visual Studio 2013 on Windows 10

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Build QPID C++ Using Visual Studio 2013 on Windows 10

Michael Arnold
Hi,

In have an existing c++ app that run on Linux and uses the QPID client c++
api.  I'd like to compile the same app on Windows 10.  The application
makes use of a development framework and graphics library who's equivalents
on Windows 10 demand the use of Visual Studio 2013.

I've been followed the QPID build instructions for windows here:
https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt

But have replaced the cmake command:
cmake -G "Visual Studio 10" ..
with
cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0

The result is that cmake fails with:
-- Configuring incomplete, errors occurred!
See also
"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeOutput.log".
See also
"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeError.log".

I've inserted the CMakeError.log contents below, but extracted a couple of
items here to give a flavour:
C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
fatal error C1083: Cannot open include file: 'pthread.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]

C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]

CheckFunctionExists.obj : error LNK2019: unresolved external symbol
_uuid_generate referenced in function _main
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]

To me, these all look like basic things that cmake should have taken care
of...

Please can you help me on how to get this build to work.

Version details are as follows:
Boost: 1_58_0 (lib64-msvc-12.0)
CMake: 3.11
Python: 3.6.1
Ruby: 2.4.4-1
QPID: 1.37
Visual Studio 2013 64 bit with update 5 applied == Visual Studio version 12
== MSVC++ 12.0  _MSC_VER == 1800
Windows 10: Version 1709, Build: 16299.309

Kind regards,
Michael

-----------------------------------------------------------------------------------
CMakeError.log
-----------------------------------------------------------------------------------
Determining if the include file pthread.h exists failed with the following
output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_f3397.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:27.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_f3397.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".

InitializeBuildStatus:

  Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_f3397.dir\Debug\\"
/Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
fatal error C1083: Cannot open include file: 'pthread.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
fatal error C1083: Cannot open include file: 'pthread.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.92



Determining if the uuid_generate exist failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_67d04.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:28.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_67d04.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_67d04.dir\Debug\cmTC_67d04.tlog\".

InitializeBuildStatus:

  Creating "cmTC_67d04.dir\Debug\cmTC_67d04.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_67d04.dir\Debug\\" /Fd"cmTC_67d04.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_67d04.dir\Debug\\"
/Fd"cmTC_67d04.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.94


File
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <uuid/uuid.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef uuid_generate
  return ((int*)(&uuid_generate))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function uuid_generate exists in the uuid failed with
the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_1d626.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:29.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_1d626.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_1d626.dir\Debug\cmTC_1d626.tlog\".

InitializeBuildStatus:

  Creating "cmTC_1d626.dir\Debug\cmTC_1d626.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=uuid_generate /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_1d626.dir\Debug\\" /Fd"cmTC_1d626.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=uuid_generate /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_1d626.dir\Debug\\" /Fd"cmTC_1d626.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"



Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
/ERRORREPORT:QUEUE
/OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe"
/INCREMENTAL /NOLOGO uuid.lib kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG
/PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_1d626.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_1d626.lib"
/MACHINE:X86 /SAFESEH  /machine:X86
cmTC_1d626.dir\Debug\CheckFunctionExists.obj

CheckFunctionExists.obj : error LNK2019: unresolved external symbol
_uuid_generate referenced in function _main
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]

C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe
: fatal error LNK1120: 1 unresolved externals
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
(default target) (1) ->

(Link target) ->

  CheckFunctionExists.obj : error LNK2019: unresolved external symbol
_uuid_generate referenced in function _main
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe
: fatal error LNK1120: 1 unresolved externals
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]



    0 Warning(s)

    2 Error(s)



Time Elapsed 00:00:01.24



Determining if the uuid_create exist failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_3847f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:31.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_3847f.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_3847f.dir\Debug\cmTC_3847f.tlog\".

InitializeBuildStatus:

  Creating "cmTC_3847f.dir\Debug\cmTC_3847f.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_3847f.dir\Debug\\" /Fd"cmTC_3847f.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_3847f.dir\Debug\\"
/Fd"cmTC_3847f.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'uuid.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'uuid.h': No such file or
directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.95


File
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <uuid.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef uuid_create
  return ((int*)(&uuid_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Performing C++ SOURCE FILE Test QPID_SIZE_T_DISTINCT failed with the
following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_bc798.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:34.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_bc798.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_bc798.dir\Debug\cmTC_bc798.tlog\".

InitializeBuildStatus:

  Creating "cmTC_bc798.dir\Debug\cmTC_bc798.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c
/I"C:\Users\myk32\Documents\Development\qpid-cpp-1.37.0\include" /Zi /W3
/WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D QPID_SIZE_T_DISTINCT /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_bc798.dir\Debug\\"
/Fd"cmTC_bc798.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  src.cxx

  cl /c /I"C:\Users\myk32\Documents\Development\qpid-cpp-1.37.0\include"
/Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D QPID_SIZE_T_DISTINCT /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_bc798.dir\Debug\\"
/Fd"cmTC_bc798.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(11):
error C2084: function 'int foo(uint32_t)' already has a body
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj]


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(9)
: see previous definition of 'foo'

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(11):
error C2084: function 'int foo(uint32_t)' already has a body
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.93


Source file was:

#include "qpid/sys/IntegerTypes.h"
// Define functions that will fail to compile if size_t is the same as
// one of the int types defined in IntegerTypes.h
int foo(int16_t)    { return 1; }
int foo(int32_t)    { return 2; }
int foo(int64_t)    { return 3; }
int foo(uint16_t)   { return 4; }
int foo(uint32_t)   { return 5; }
int foo(uint64_t)   { return 6; }
int foo(size_t)     { return 7; }
int main (int, char *[]) {
  return 0;
}

Determining if the function _init exists in the xerces-c failed with the
following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_63768.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:36.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_63768.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_63768.dir\Debug\cmTC_63768.tlog\".

InitializeBuildStatus:

  Creating "cmTC_63768.dir\Debug\cmTC_63768.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=_init
/D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_63768.dir\Debug\\"
/Fd"cmTC_63768.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=_init /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1
/MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_63768.dir\Debug\\"
/Fd"cmTC_63768.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"



Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
/ERRORREPORT:QUEUE
/OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_63768.exe"
/INCREMENTAL /NOLOGO "xerces-c.lib" kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG
/PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_63768.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_63768.lib"
/MACHINE:X86 /SAFESEH  /machine:X86
cmTC_63768.dir\Debug\CheckFunctionExists.obj

LINK : fatal error LNK1104: cannot open file 'xerces-c.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
(default target) (1) ->

(Link target) ->

  LINK : fatal error LNK1104: cannot open file 'xerces-c.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.11



Determining if the include file xercesc/framework/MemBufInputSource.hpp
exists failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_c99f3.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:37.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_c99f3.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_c99f3.dir\Debug\cmTC_c99f3.tlog\".

InitializeBuildStatus:

  Creating "cmTC_c99f3.dir\Debug\cmTC_c99f3.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
/Fo"cmTC_c99f3.dir\Debug\\" /Fd"cmTC_c99f3.dir\Debug\vc120.pdb" /Gd /TP
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckIncludeFile.cxx

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_c99f3.dir\Debug\\"
/Fd"cmTC_c99f3.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file:
'xercesc/framework/MemBufInputSource.hpp': No such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file:
'xercesc/framework/MemBufInputSource.hpp': No such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.95



Determining if the include file xqilla/xqilla-simple.hpp exists failed with
the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_5523b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:39.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_5523b.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_5523b.dir\Debug\cmTC_5523b.tlog\".

InitializeBuildStatus:

  Creating "cmTC_5523b.dir\Debug\cmTC_5523b.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
/Fo"cmTC_5523b.dir\Debug\\" /Fd"cmTC_5523b.dir\Debug\vc120.pdb" /Gd /TP
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckIncludeFile.cxx

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_5523b.dir\Debug\\"
/Fd"cmTC_5523b.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file: 'xqilla/xqilla-simple.hpp': No
such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file: 'xqilla/xqilla-simple.hpp': No
such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.88



Determining if the include file xqilla/ast/XQEffectiveBooleanValue.hpp
exists failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_144b5.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:40.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_144b5.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_144b5.dir\Debug\cmTC_144b5.tlog\".

InitializeBuildStatus:

  Creating "cmTC_144b5.dir\Debug\cmTC_144b5.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
/Fo"cmTC_144b5.dir\Debug\\" /Fd"cmTC_144b5.dir\Debug\vc120.pdb" /Gd /TP
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckIncludeFile.cxx

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_144b5.dir\Debug\\"
/Fd"cmTC_144b5.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file:
'xqilla/ast/XQEffectiveBooleanValue.hpp': No such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
fatal error C1083: Cannot open include file:
'xqilla/ast/XQEffectiveBooleanValue.hpp': No such file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.94



Determining if the function ibv_create_qp exists in the ibverbs failed with
the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_ea5ff.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:41.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_ea5ff.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_ea5ff.dir\Debug\cmTC_ea5ff.tlog\".

InitializeBuildStatus:

  Creating "cmTC_ea5ff.dir\Debug\cmTC_ea5ff.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=ibv_create_qp /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_ea5ff.dir\Debug\\" /Fd"cmTC_ea5ff.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=ibv_create_qp /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_ea5ff.dir\Debug\\" /Fd"cmTC_ea5ff.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"



Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
/ERRORREPORT:QUEUE
/OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_ea5ff.exe"
/INCREMENTAL /NOLOGO ibverbs.lib kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG
/PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_ea5ff.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_ea5ff.lib"
/MACHINE:X86 /SAFESEH  /machine:X86
cmTC_ea5ff.dir\Debug\CheckFunctionExists.obj

LINK : fatal error LNK1104: cannot open file 'ibverbs.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
(default target) (1) ->

(Link target) ->

  LINK : fatal error LNK1104: cannot open file 'ibverbs.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.07



Determining if the function rdma_create_id exists in the rdmacm failed with
the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_e168f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:42.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_e168f.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_e168f.dir\Debug\cmTC_e168f.tlog\".

InitializeBuildStatus:

  Creating "cmTC_e168f.dir\Debug\cmTC_e168f.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=rdma_create_id /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_e168f.dir\Debug\\" /Fd"cmTC_e168f.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
CHECK_FUNCTION_EXISTS=rdma_create_id /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_e168f.dir\Debug\\" /Fd"cmTC_e168f.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"



Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
/ERRORREPORT:QUEUE
/OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_e168f.exe"
/INCREMENTAL /NOLOGO rdmacm.lib kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /DEBUG
/PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_e168f.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_e168f.lib"
/MACHINE:X86 /SAFESEH  /machine:X86
cmTC_e168f.dir\Debug\CheckFunctionExists.obj

LINK : fatal error LNK1104: cannot open file 'rdmacm.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
(default target) (1) ->

(Link target) ->

  LINK : fatal error LNK1104: cannot open file 'rdmacm.lib'
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.05



Determining if files infiniband/verbs.h exist failed with the following
output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_8885b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:44.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_8885b.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_8885b.dir\Debug\cmTC_8885b.tlog\".

InitializeBuildStatus:

  Creating "cmTC_8885b.dir\Debug\cmTC_8885b.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_8885b.dir\Debug\\" /Fd"cmTC_8885b.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  HAVE_IBVERBS_H.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_8885b.dir\Debug\\"
/Fd"cmTC_8885b.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c(2):
fatal error C1083: Cannot open include file: 'infiniband/verbs.h': No such
file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c(2):
fatal error C1083: Cannot open include file: 'infiniband/verbs.h': No such
file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.95


Source:
/* */
#include <infiniband/verbs.h>


int main(void){return 0;}

Determining if files rdma/rdma_cma.h exist failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_df141.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:45.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_df141.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_df141.dir\Debug\cmTC_df141.tlog\".

InitializeBuildStatus:

  Creating "cmTC_df141.dir\Debug\cmTC_df141.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_df141.dir\Debug\\" /Fd"cmTC_df141.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  HAVE_RDMACM_H.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_df141.dir\Debug\\"
/Fd"cmTC_df141.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c(2):
fatal error C1083: Cannot open include file: 'rdma/rdma_cma.h': No such
file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c(2):
fatal error C1083: Cannot open include file: 'rdma/rdma_cma.h': No such
file or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.96


Source:
/* */
#include <rdma/rdma_cma.h>


int main(void){return 0;}

Determining if the LOG_AUTHPRIV exist failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_dd53b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:47.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_dd53b.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_dd53b.dir\Debug\cmTC_dd53b.tlog\".

InitializeBuildStatus:

  Creating "cmTC_dd53b.dir\Debug\cmTC_dd53b.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_dd53b.dir\Debug\\" /Fd"cmTC_dd53b.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_dd53b.dir\Debug\\"
/Fd"cmTC_dd53b.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.86


File
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/syslog.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef LOG_AUTHPRIV
  return ((int*)(&LOG_AUTHPRIV))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the LOG_FTP exist failed with the following output:
Change Dir:
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
"cmTC_4eb46.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.42000]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 03/04/2018 21:17:48.

Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_4eb46.dir\Debug\".

  Creating directory
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_4eb46.dir\Debug\cmTC_4eb46.tlog\".

InitializeBuildStatus:

  Creating "cmTC_4eb46.dir\Debug\cmTC_4eb46.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
/W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTC_4eb46.dir\Debug\\" /Fd"cmTC_4eb46.dir\Debug\vc120.pdb" /Gd /TC
/analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.



  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
"CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
/Zc:wchar_t /Zc:forScope /Fo"cmTC_4eb46.dir\Debug\\"
/Fd"cmTC_4eb46.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"



C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj]

Done Building Project
"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
(default targets) -- FAILED.



Build FAILED.



"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
(default target) (1) ->

(ClCompile target) ->


C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
or directory
[C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.87


File
C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/syslog.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef LOG_FTP
  return ((int*)(&LOG_FTP))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Reply | Threaded
Open this post in threaded view
|

Re: Build QPID C++ Using Visual Studio 2013 on Windows 10

Chuck Rolke
I tried a build of the qpid-cpp latest master upstream today using:

Windows Server 2012 R2
Visual Studio 2013 x64
boost 1_58_0
cmake version 3.9.4
Python 2.7.10
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

Note that I did not include qpid-proton in this build. Also I am not on
Windows 10 and have widely different tool versions.

I ran into the following issues that 'break the build':

* https://issues.apache.org/jira/browse/QPID-8155 - cmake flags issues.
** Work around by reverting as described in the jira

* https://issues.apache.org/jira/browse/QPID-7926 - PODmutex is not a POD
** No workaround available

So I can't build on windows Visual Studio 2013 either.
However, I do not hit the same problems you have.

Here is a transcript of my CMake. Maybe it will give you a hint.

-Chuck


Running CMake in D:\Users\chug\git\qpid-cpp\build_2013_x64 : CMake -G "Visual Studio 12 2013 Win64" "-DBUILD_DOCS=No" "-DCMAKE_INSTALL_PREFIX=D:\Users\chug\git\qpid-cpp\install_2013_x64" "-DBoost_
COMPILER=-vc120" "-DBOOST_ROOT=D:\boost\boost_1_58_0" "-DINSTALL_QMFGEN=No" D:\Users\chug\git\qpid-cpp
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build types are Debug;Release;MinSizeRel;RelWithDebInfo
-- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.10", minimum required is "2.7")
CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found PythonInterp: C:/Python27/python.exe (found version "2.7.10")
-- 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 "1.8.6")
-- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe (found version "1.6.3") found components:  doxygen missing components:  dot
-- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
-- Could NOT find CyrusSASL (missing: CYRUS_SASL_LIBRARY CYRUS_SASL_INCLUDE_DIR)
-- Regenerating AMQP protocol sources
-- D:/Users/chug/git/qpid-cpp/src/qpid/broker/management-schema.xml is newer
-- D:/Users/chug/git/qpid-cpp/src/qpid/acl/management-schema.xml is newer
-- D:/Users/chug/git/qpid-cpp/src/qpid/ha/management-schema.xml is newer
-- D:/Users/chug/git/qpid-cpp/src/qpid/legacystore/management-schema.xml is newer
-- D:/Users/chug/git/qpid-cpp/src/qpid/linearstore/management-schema.xml is newer
-- Regenerating Qpid Management Framework sources
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   program_options
--   date_time
--   thread
--   system
--   chrono
--   atomic
-- Looking for uuid_generate
-- Looking for uuid_generate - not found
-- Looking for uuid_generate in uuid
-- Looking for uuid_generate in uuid - not found
-- Looking for uuid_create
-- Looking for uuid_create - not found
-- Looking for UuidToString
-- Looking for UuidToString - found
-- Check for size_t
-- Check for size_t -- distinct type
-- Looking for _init in xerces-c
-- Looking for _init in xerces-c - not found
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not found
-- Looking for C++ include xqilla/xqilla-simple.hpp
-- Looking for C++ include xqilla/xqilla-simple.hpp - not found
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - not found
-- Looking for ibv_create_qp in ibverbs
-- Looking for ibv_create_qp in ibverbs - not found
-- Looking for rdma_create_id in rdmacm
-- Looking for rdma_create_id in rdmacm - not found
-- Looking for include file infiniband/verbs.h
-- Looking for include file infiniband/verbs.h - not found
-- Looking for include file rdma/rdma_cma.h
-- Looking for include file rdma/rdma_cma.h - not found
-- Could NOT find Proton: found neither ProtonConfig.cmake nor proton-config.cmake (Required is at least version "0.16")
-- Qpid proton not found, amqp 1.0 support not enabled
-- Looking for LOG_AUTHPRIV
-- Looking for LOG_AUTHPRIV - not found
-- Looking for LOG_FTP
-- Looking for LOG_FTP - not found
-- Legacystore is excluded from build.
-- Linearstore is excluded from build.
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
-- Building Dotnet bindings
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Users/chug/git/qpid-cpp/build_2013_x64


----- Original Message -----

> From: "Michael Arnold" <[hidden email]>
> To: [hidden email]
> Sent: Wednesday, April 4, 2018 6:56:24 AM
> Subject: Build QPID C++ Using Visual Studio 2013 on Windows 10
>
> Hi,
>
> In have an existing c++ app that run on Linux and uses the QPID client c++
> api.  I'd like to compile the same app on Windows 10.  The application
> makes use of a development framework and graphics library who's equivalents
> on Windows 10 demand the use of Visual Studio 2013.
>
> I've been followed the QPID build instructions for windows here:
> https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt
>
> But have replaced the cmake command:
> cmake -G "Visual Studio 10" ..
> with
> cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0
>
> The result is that cmake fails with:
> -- Configuring incomplete, errors occurred!
> See also
> "C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeOutput.log".
> See also
> "C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeError.log".
>
> I've inserted the CMakeError.log contents below, but extracted a couple of
> items here to give a flavour:
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
> fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]
>
> CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> _uuid_generate referenced in function _main
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]
>
> To me, these all look like basic things that cmake should have taken care
> of...
>
> Please can you help me on how to get this build to work.
>
> Version details are as follows:
> Boost: 1_58_0 (lib64-msvc-12.0)
> CMake: 3.11
> Python: 3.6.1
> Ruby: 2.4.4-1
> QPID: 1.37
> Visual Studio 2013 64 bit with update 5 applied == Visual Studio version 12
> == MSVC++ 12.0  _MSC_VER == 1800
> Windows 10: Version 1709, Build: 16299.309
>
> Kind regards,
> Michael
>
> -----------------------------------------------------------------------------------
> CMakeError.log
> -----------------------------------------------------------------------------------
> Determining if the include file pthread.h exists failed with the following
> output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_f3397.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:27.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_f3397.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckIncludeFile.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_f3397.dir\Debug\\"
> /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
> fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
> fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_f3397.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.92
>
>
>
> Determining if the uuid_generate exist failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_67d04.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:28.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_67d04.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_67d04.dir\Debug\cmTC_67d04.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_67d04.dir\Debug\cmTC_67d04.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_67d04.dir\Debug\\" /Fd"cmTC_67d04.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckSymbolExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_67d04.dir\Debug\\"
> /Fd"cmTC_67d04.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_67d04.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.94
>
>
> File
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
> /* */
> #include <uuid/uuid.h>
>
> int main(int argc, char** argv)
> {
>   (void)argv;
> #ifndef uuid_generate
>   return ((int*)(&uuid_generate))[argc];
> #else
>   (void)argc;
>   return 0;
> #endif
> }
>
> Determining if the function uuid_generate exists in the uuid failed with
> the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_1d626.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:29.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_1d626.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_1d626.dir\Debug\cmTC_1d626.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_1d626.dir\Debug\cmTC_1d626.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=uuid_generate /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_1d626.dir\Debug\\" /Fd"cmTC_1d626.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckFunctionExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=uuid_generate /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_1d626.dir\Debug\\" /Fd"cmTC_1d626.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>
>
> Link:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
> /ERRORREPORT:QUEUE
> /OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe"
> /INCREMENTAL /NOLOGO uuid.lib kernel32.lib user32.lib gdi32.lib
> winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
> advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
> /manifest:embed /DEBUG
> /PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_1d626.pdb"
> /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
> /IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_1d626.lib"
> /MACHINE:X86 /SAFESEH  /machine:X86
> cmTC_1d626.dir\Debug\CheckFunctionExists.obj
>
> CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> _uuid_generate referenced in function _main
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe
> : fatal error LNK1120: 1 unresolved externals
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj"
> (default target) (1) ->
>
> (Link target) ->
>
>   CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> _uuid_generate referenced in function _main
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_1d626.exe
> : fatal error LNK1120: 1 unresolved externals
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_1d626.vcxproj]
>
>
>
>     0 Warning(s)
>
>     2 Error(s)
>
>
>
> Time Elapsed 00:00:01.24
>
>
>
> Determining if the uuid_create exist failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_3847f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:31.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_3847f.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_3847f.dir\Debug\cmTC_3847f.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_3847f.dir\Debug\cmTC_3847f.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_3847f.dir\Debug\\" /Fd"cmTC_3847f.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckSymbolExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_3847f.dir\Debug\\"
> /Fd"cmTC_3847f.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'uuid.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'uuid.h': No such file or
> directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_3847f.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.95
>
>
> File
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
> /* */
> #include <uuid.h>
>
> int main(int argc, char** argv)
> {
>   (void)argv;
> #ifndef uuid_create
>   return ((int*)(&uuid_create))[argc];
> #else
>   (void)argc;
>   return 0;
> #endif
> }
>
> Performing C++ SOURCE FILE Test QPID_SIZE_T_DISTINCT failed with the
> following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_bc798.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:34.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_bc798.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_bc798.dir\Debug\cmTC_bc798.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_bc798.dir\Debug\cmTC_bc798.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c
> /I"C:\Users\myk32\Documents\Development\qpid-cpp-1.37.0\include" /Zi /W3
> /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D QPID_SIZE_T_DISTINCT /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_bc798.dir\Debug\\"
> /Fd"cmTC_bc798.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   src.cxx
>
>   cl /c /I"C:\Users\myk32\Documents\Development\qpid-cpp-1.37.0\include"
> /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D QPID_SIZE_T_DISTINCT /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_bc798.dir\Debug\\"
> /Fd"cmTC_bc798.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(11):
> error C2084: function 'int foo(uint32_t)' already has a body
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj]
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(9)
> : see previous definition of 'foo'
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\src.cxx(11):
> error C2084: function 'int foo(uint32_t)' already has a body
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_bc798.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.93
>
>
> Source file was:
>
> #include "qpid/sys/IntegerTypes.h"
> // Define functions that will fail to compile if size_t is the same as
> // one of the int types defined in IntegerTypes.h
> int foo(int16_t)    { return 1; }
> int foo(int32_t)    { return 2; }
> int foo(int64_t)    { return 3; }
> int foo(uint16_t)   { return 4; }
> int foo(uint32_t)   { return 5; }
> int foo(uint64_t)   { return 6; }
> int foo(size_t)     { return 7; }
> int main (int, char *[]) {
>   return 0;
> }
>
> Determining if the function _init exists in the xerces-c failed with the
> following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_63768.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:36.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_63768.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_63768.dir\Debug\cmTC_63768.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_63768.dir\Debug\cmTC_63768.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=_init
> /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_63768.dir\Debug\\"
> /Fd"cmTC_63768.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckFunctionExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=_init /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1
> /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_63768.dir\Debug\\"
> /Fd"cmTC_63768.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>
>
> Link:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
> /ERRORREPORT:QUEUE
> /OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_63768.exe"
> /INCREMENTAL /NOLOGO "xerces-c.lib" kernel32.lib user32.lib gdi32.lib
> winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
> advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
> /manifest:embed /DEBUG
> /PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_63768.pdb"
> /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
> /IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_63768.lib"
> /MACHINE:X86 /SAFESEH  /machine:X86
> cmTC_63768.dir\Debug\CheckFunctionExists.obj
>
> LINK : fatal error LNK1104: cannot open file 'xerces-c.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj"
> (default target) (1) ->
>
> (Link target) ->
>
>   LINK : fatal error LNK1104: cannot open file 'xerces-c.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_63768.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:01.11
>
>
>
> Determining if the include file xercesc/framework/MemBufInputSource.hpp
> exists failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_c99f3.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:37.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_c99f3.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_c99f3.dir\Debug\cmTC_c99f3.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_c99f3.dir\Debug\cmTC_c99f3.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
> /Fo"cmTC_c99f3.dir\Debug\\" /Fd"cmTC_c99f3.dir\Debug\vc120.pdb" /Gd /TP
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckIncludeFile.cxx
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_c99f3.dir\Debug\\"
> /Fd"cmTC_c99f3.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file:
> 'xercesc/framework/MemBufInputSource.hpp': No such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file:
> 'xercesc/framework/MemBufInputSource.hpp': No such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_c99f3.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.95
>
>
>
> Determining if the include file xqilla/xqilla-simple.hpp exists failed with
> the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_5523b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:39.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_5523b.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_5523b.dir\Debug\cmTC_5523b.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_5523b.dir\Debug\cmTC_5523b.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
> /Fo"cmTC_5523b.dir\Debug\\" /Fd"cmTC_5523b.dir\Debug\vc120.pdb" /Gd /TP
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckIncludeFile.cxx
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_5523b.dir\Debug\\"
> /Fd"cmTC_5523b.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file: 'xqilla/xqilla-simple.hpp': No
> such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file: 'xqilla/xqilla-simple.hpp': No
> such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_5523b.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.88
>
>
>
> Determining if the include file xqilla/ast/XQEffectiveBooleanValue.hpp
> exists failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_144b5.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:40.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_144b5.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_144b5.dir\Debug\cmTC_144b5.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_144b5.dir\Debug\cmTC_144b5.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR
> /Fo"cmTC_144b5.dir\Debug\\" /Fd"cmTC_144b5.dir\Debug\vc120.pdb" /Gd /TP
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckIncludeFile.cxx
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_144b5.dir\Debug\\"
> /Fd"cmTC_144b5.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file:
> 'xqilla/ast/XQEffectiveBooleanValue.hpp': No such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckIncludeFile.cxx(1):
> fatal error C1083: Cannot open include file:
> 'xqilla/ast/XQEffectiveBooleanValue.hpp': No such file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_144b5.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.94
>
>
>
> Determining if the function ibv_create_qp exists in the ibverbs failed with
> the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_ea5ff.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:41.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_ea5ff.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_ea5ff.dir\Debug\cmTC_ea5ff.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_ea5ff.dir\Debug\cmTC_ea5ff.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=ibv_create_qp /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_ea5ff.dir\Debug\\" /Fd"cmTC_ea5ff.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckFunctionExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=ibv_create_qp /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_ea5ff.dir\Debug\\" /Fd"cmTC_ea5ff.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>
>
> Link:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
> /ERRORREPORT:QUEUE
> /OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_ea5ff.exe"
> /INCREMENTAL /NOLOGO ibverbs.lib kernel32.lib user32.lib gdi32.lib
> winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
> advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
> /manifest:embed /DEBUG
> /PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_ea5ff.pdb"
> /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
> /IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_ea5ff.lib"
> /MACHINE:X86 /SAFESEH  /machine:X86
> cmTC_ea5ff.dir\Debug\CheckFunctionExists.obj
>
> LINK : fatal error LNK1104: cannot open file 'ibverbs.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj"
> (default target) (1) ->
>
> (Link target) ->
>
>   LINK : fatal error LNK1104: cannot open file 'ibverbs.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_ea5ff.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:01.07
>
>
>
> Determining if the function rdma_create_id exists in the rdmacm failed with
> the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_e168f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:42.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_e168f.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_e168f.dir\Debug\cmTC_e168f.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_e168f.dir\Debug\cmTC_e168f.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=rdma_create_id /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_e168f.dir\Debug\\" /Fd"cmTC_e168f.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckFunctionExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> CHECK_FUNCTION_EXISTS=rdma_create_id /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS
> /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_e168f.dir\Debug\\" /Fd"cmTC_e168f.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\cmake\share\cmake-3.11\Modules\CheckFunctionExists.c"
>
>
>
> Link:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe
> /ERRORREPORT:QUEUE
> /OUT:"C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\cmTC_e168f.exe"
> /INCREMENTAL /NOLOGO rdmacm.lib kernel32.lib user32.lib gdi32.lib
> winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
> advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
> /manifest:embed /DEBUG
> /PDB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_e168f.pdb"
> /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
> /IMPLIB:"C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/Debug/cmTC_e168f.lib"
> /MACHINE:X86 /SAFESEH  /machine:X86
> cmTC_e168f.dir\Debug\CheckFunctionExists.obj
>
> LINK : fatal error LNK1104: cannot open file 'rdmacm.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj"
> (default target) (1) ->
>
> (Link target) ->
>
>   LINK : fatal error LNK1104: cannot open file 'rdmacm.lib'
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_e168f.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:01.05
>
>
>
> Determining if files infiniband/verbs.h exist failed with the following
> output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_8885b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:44.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_8885b.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_8885b.dir\Debug\cmTC_8885b.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_8885b.dir\Debug\cmTC_8885b.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_8885b.dir\Debug\\" /Fd"cmTC_8885b.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   HAVE_IBVERBS_H.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_8885b.dir\Debug\\"
> /Fd"cmTC_8885b.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c(2):
> fatal error C1083: Cannot open include file: 'infiniband/verbs.h': No such
> file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_IBVERBS_H.c(2):
> fatal error C1083: Cannot open include file: 'infiniband/verbs.h': No such
> file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_8885b.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.95
>
>
> Source:
> /* */
> #include <infiniband/verbs.h>
>
>
> int main(void){return 0;}
>
> Determining if files rdma/rdma_cma.h exist failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_df141.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:45.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_df141.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_df141.dir\Debug\cmTC_df141.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_df141.dir\Debug\cmTC_df141.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_df141.dir\Debug\\" /Fd"cmTC_df141.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   HAVE_RDMACM_H.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_df141.dir\Debug\\"
> /Fd"cmTC_df141.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c(2):
> fatal error C1083: Cannot open include file: 'rdma/rdma_cma.h': No such
> file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CheckIncludeFiles\HAVE_RDMACM_H.c(2):
> fatal error C1083: Cannot open include file: 'rdma/rdma_cma.h': No such
> file or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_df141.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.96
>
>
> Source:
> /* */
> #include <rdma/rdma_cma.h>
>
>
> int main(void){return 0;}
>
> Determining if the LOG_AUTHPRIV exist failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_dd53b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:47.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_dd53b.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_dd53b.dir\Debug\cmTC_dd53b.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_dd53b.dir\Debug\cmTC_dd53b.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_dd53b.dir\Debug\\" /Fd"cmTC_dd53b.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckSymbolExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_dd53b.dir\Debug\\"
> /Fd"cmTC_dd53b.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
> or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
> or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_dd53b.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.86
>
>
> File
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
> /* */
> #include <sys/syslog.h>
>
> int main(int argc, char** argv)
> {
>   (void)argv;
> #ifndef LOG_AUTHPRIV
>   return ((int*)(&LOG_AUTHPRIV))[argc];
> #else
>   (void)argc;
>   return 0;
> #endif
> }
>
> Determining if the LOG_FTP exist failed with the following output:
> Change Dir:
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
>
> Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> "cmTC_4eb46.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
> Microsoft (R) Build Engine version 12.0.40629.0
>
> [Microsoft .NET Framework, version 4.0.30319.42000]
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>
> Build started 03/04/2018 21:17:48.
>
> Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
> on node 1 (default targets).
>
> PrepareForBuild:
>
>   Creating directory "cmTC_4eb46.dir\Debug\".
>
>   Creating directory
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\Debug\".
>
>   Creating directory "cmTC_4eb46.dir\Debug\cmTC_4eb46.tlog\".
>
> InitializeBuildStatus:
>
>   Creating "cmTC_4eb46.dir\Debug\cmTC_4eb46.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
>
> ClCompile:
>
>   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi
> /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D
> _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> /Fo"cmTC_4eb46.dir\Debug\\" /Fd"cmTC_4eb46.dir\Debug\vc120.pdb" /Gd /TC
> /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
>
>   Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
>
>   CheckSymbolExists.c
>
>   cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise
> /Zc:wchar_t /Zc:forScope /Fo"cmTC_4eb46.dir\Debug\\"
> /Fd"cmTC_4eb46.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c"
>
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
> or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj]
>
> Done Building Project
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
> (default targets) -- FAILED.
>
>
>
> Build FAILED.
>
>
>
> "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj"
> (default target) (1) ->
>
> (ClCompile target) ->
>
>
> C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2):
> fatal error C1083: Cannot open include file: 'sys/syslog.h': No such file
> or directory
> [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_4eb46.vcxproj]
>
>
>
>     0 Warning(s)
>
>     1 Error(s)
>
>
>
> Time Elapsed 00:00:00.87
>
>
> File
> C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
> /* */
> #include <sys/syslog.h>
>
> int main(int argc, char** argv)
> {
>   (void)argv;
> #ifndef LOG_FTP
>   return ((int*)(&LOG_FTP))[argc];
> #else
>   (void)argc;
>   return 0;
> #endif
> }
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Build QPID C++ Using Visual Studio 2013 on Windows 10

Michael Arnold
Thanks Chuck,

Downgrading python from 3.6.1 (python 3) to 2.7.17 (python 2), allowed
cmake to generate the build files.  I did not encouter QPID-8155.

On the build side, 3 types of errors:
1. QPID-7926 as you describe.

2. Link errors of the form: error LNK1104: cannot open file
'Debug\qpidcommond.lib'
C:\Users\myk32\Documents\Development\qpid-bin\src\LINK
--> the *.lib files don't appear to exist.  Any pointers?

3. Link errors of the form: error C1083: Cannot open include file:
'proton/engine.h': No such file or directory
--> I assume this is because I have not run a 'make install' in the proton
build directory, but not sure how to do this on windows.  Any pointers?

On Thu, Apr 5, 2018 at 4:12 AM, Chuck Rolke <[hidden email]> wrote:

> I tried a build of the qpid-cpp latest master upstream today using:
>
> Windows Server 2012 R2
> Visual Studio 2013 x64
> boost 1_58_0
> cmake version 3.9.4
> Python 2.7.10
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
>
> Note that I did not include qpid-proton in this build. Also I am not on
> Windows 10 and have widely different tool versions.
>
> I ran into the following issues that 'break the build':
>
> * https://issues.apache.org/jira/browse/QPID-8155 - cmake flags issues.
> ** Work around by reverting as described in the jira
>
> * https://issues.apache.org/jira/browse/QPID-7926 - PODmutex is not a POD
> ** No workaround available
>
> So I can't build on windows Visual Studio 2013 either.
> However, I do not hit the same problems you have.
>
> Here is a transcript of my CMake. Maybe it will give you a hint.
>
> -Chuck
>
>
> Running CMake in D:\Users\chug\git\qpid-cpp\build_2013_x64 : CMake -G
> "Visual Studio 12 2013 Win64" "-DBUILD_DOCS=No" "-DCMAKE_INSTALL_PREFIX=D:\
> Users\chug\git\qpid-cpp\install_2013_x64" "-DBoost_
> COMPILER=-vc120" "-DBOOST_ROOT=D:\boost\boost_1_58_0"
> "-DINSTALL_QMFGEN=No" D:\Users\chug\git\qpid-cpp
> -- The C compiler identification is MSVC 18.0.40629.0
> -- The CXX compiler identification is MSVC 18.0.40629.0
> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
> Studio 12.0/VC/bin/x86_amd64/cl.exe
> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
> Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
> Studio 12.0/VC/bin/x86_amd64/cl.exe
> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
> Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Build types are Debug;Release;MinSizeRel;RelWithDebInfo
> -- Found PythonInterp: C:/Python27/python.exe (found suitable version
> "2.7.10", minimum required is "2.7")
> CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
>   The OLD behavior for policy CMP0022 will be removed from a future version
>   of CMake.
>
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
>
>
> -- Found PythonInterp: C:/Python27/python.exe (found version "2.7.10")
> -- 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 "1.8.6")
> -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe (found
> version "1.6.3") found components:  doxygen missing components:  dot
> -- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
> -- Could NOT find CyrusSASL (missing: CYRUS_SASL_LIBRARY
> CYRUS_SASL_INCLUDE_DIR)
> -- Regenerating AMQP protocol sources
> -- D:/Users/chug/git/qpid-cpp/src/qpid/broker/management-schema.xml is
> newer
> -- D:/Users/chug/git/qpid-cpp/src/qpid/acl/management-schema.xml is newer
> -- D:/Users/chug/git/qpid-cpp/src/qpid/ha/management-schema.xml is newer
> -- D:/Users/chug/git/qpid-cpp/src/qpid/legacystore/management-schema.xml
> is newer
> -- D:/Users/chug/git/qpid-cpp/src/qpid/linearstore/management-schema.xml
> is newer
> -- Regenerating Qpid Management Framework sources
> -- Looking for pthread.h
> -- Looking for pthread.h - not found
> -- Found Threads: TRUE
> -- Boost version: 1.58.0
> -- Found the following Boost libraries:
> --   program_options
> --   date_time
> --   thread
> --   system
> --   chrono
> --   atomic
> -- Looking for uuid_generate
> -- Looking for uuid_generate - not found
> -- Looking for uuid_generate in uuid
> -- Looking for uuid_generate in uuid - not found
> -- Looking for uuid_create
> -- Looking for uuid_create - not found
> -- Looking for UuidToString
> -- Looking for UuidToString - found
> -- Check for size_t
> -- Check for size_t -- distinct type
> -- Looking for _init in xerces-c
> -- Looking for _init in xerces-c - not found
> -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
> -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not
> found
> -- Looking for C++ include xqilla/xqilla-simple.hpp
> -- Looking for C++ include xqilla/xqilla-simple.hpp - not found
> -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
> -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - not
> found
> -- Looking for ibv_create_qp in ibverbs
> -- Looking for ibv_create_qp in ibverbs - not found
> -- Looking for rdma_create_id in rdmacm
> -- Looking for rdma_create_id in rdmacm - not found
> -- Looking for include file infiniband/verbs.h
> -- Looking for include file infiniband/verbs.h - not found
> -- Looking for include file rdma/rdma_cma.h
> -- Looking for include file rdma/rdma_cma.h - not found
> -- Could NOT find Proton: found neither ProtonConfig.cmake nor
> proton-config.cmake (Required is at least version "0.16")
> -- Qpid proton not found, amqp 1.0 support not enabled
> -- Looking for LOG_AUTHPRIV
> -- Looking for LOG_AUTHPRIV - not found
> -- Looking for LOG_FTP
> -- Looking for LOG_FTP - not found
> -- Legacystore is excluded from build.
> -- Linearstore is excluded from build.
> -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> -- Building Dotnet bindings
> -- Configuring done
> -- Generating done
> -- Build files have been written to: D:/Users/chug/git/qpid-cpp/
> build_2013_x64
>
>
> ----- Original Message -----
> > From: "Michael Arnold" <[hidden email]>
> > To: [hidden email]
> > Sent: Wednesday, April 4, 2018 6:56:24 AM
> > Subject: Build QPID C++ Using Visual Studio 2013 on Windows 10
> >
> > Hi,
> >
> > In have an existing c++ app that run on Linux and uses the QPID client
> c++
> > api.  I'd like to compile the same app on Windows 10.  The application
> > makes use of a development framework and graphics library who's
> equivalents
> > on Windows 10 demand the use of Visual Studio 2013.
> >
> > I've been followed the QPID build instructions for windows here:
> > https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt
> >
> > But have replaced the cmake command:
> > cmake -G "Visual Studio 10" ..
> > with
> > cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0
> >
> > The result is that cmake fails with:
> > -- Configuring incomplete, errors occurred!
> > See also
> > "C:/Users/myk32/Documents/Development/qpid-bin/
> CMakeFiles/CMakeOutput.log".
> > See also
> > "C:/Users/myk32/Documents/Development/qpid-bin/
> CMakeFiles/CMakeError.log".
> >
> > I've inserted the CMakeError.log contents below, but extracted a couple
> of
> > items here to give a flavour:
> > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> CheckIncludeFile.c(1):
> > fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> > directory
> > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> f3397.vcxproj]
> >
> > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> CheckSymbolExists.c(2):
> > fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file
> or
> > directory
> > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> 67d04.vcxproj]
> >
> > CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> > _uuid_generate referenced in function _main
> > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> 1d626.vcxproj]
> >
> > To me, these all look like basic things that cmake should have taken care
> > of...
> >
> > Please can you help me on how to get this build to work.
> >
> > Version details are as follows:
> > Boost: 1_58_0 (lib64-msvc-12.0)
> > CMake: 3.11
> > Python: 3.6.1
> > Ruby: 2.4.4-1
> > QPID: 1.37
> > Visual Studio 2013 64 bit with update 5 applied == Visual Studio version
> 12
> > == MSVC++ 12.0  _MSC_VER == 1800
> > Windows 10: Version 1709, Build: 16299.309
> >
> > Kind regards,
> > Michael
> >
> > ------------------------------------------------------------
> -----------------------
> > CMakeError.log
> > ------------------------------------------------------------
> -----------------------
> > Determining if the include file pthread.h exists failed with the
> following
> > output:
> > Change Dir:
> > C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
> >
> > Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> > "cmTC_f3397.vcxproj" "/p:Configuration=Debug"
> "/p:VisualStudioVersion=12.0"
> > Microsoft (R) Build Engine version 12.0.40629.0
> >
> > [Microsoft .NET Framework, version 4.0.30319.42000]
> >
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> >
> >
> > Build started 03/04/2018 21:17:27.
> >
> > Project
> > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> f3397.vcxproj"
> > on node 1 (default targets).
> >
> > PrepareForBuild:
> >
> >   Creating directory "cmTC_f3397.dir\Debug\".
> >
> >   Creating directory
> > "C:\Users\myk32\Documents\Development\qpid-bin\
> CMakeFiles\CMakeTmp\Debug\".
> >
> >   Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".
> >
> > InitializeBuildStatus:
> >
> >   Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild"
> because
> > "AlwaysCreate" was specified.
> >
> > ClCompile:
> >
> >   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c
> /Zi
> > /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\""
> /D
> > _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> > /Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC
> > /analyze- /errorReport:queue
> > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> CheckIncludeFile.c"
> >
> >   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
> >
> >   Copyright (C) Microsoft Corporation.  All rights reserved.
>
Reply | Threaded
Open this post in threaded view
|

Re: Build QPID C++ Using Visual Studio 2013 on Windows 10

Chuck Rolke
Hi Michael,

Replies in line.

-Chuck

----- Original Message -----

> From: "Michael Arnold" <[hidden email]>
> To: [hidden email]
> Sent: Thursday, April 5, 2018 10:17:04 AM
> Subject: Re: Build QPID C++ Using Visual Studio 2013 on Windows 10
>
> Thanks Chuck,
>
> Downgrading python from 3.6.1 (python 3) to 2.7.17 (python 2), allowed
> cmake to generate the build files.  I did not encouter QPID-8155.
>
> On the build side, 3 types of errors:
> 1. QPID-7926 as you describe.
>
> 2. Link errors of the form: error LNK1104: cannot open file
> 'Debug\qpidcommond.lib'
> C:\Users\myk32\Documents\Development\qpid-bin\src\LINK
> --> the *.lib files don't appear to exist.  Any pointers?

The QPID-7926 prevents building qpidcommon.lib/dll. From there on all the
other components fail as everything needs qpidcommon. I'm not sure
exactly how to fix this but the issue has been known for six months.

>
> 3. Link errors of the form: error C1083: Cannot open include file:
> 'proton/engine.h': No such file or directory
> --> I assume this is because I have not run a 'make install' in the proton
> build directory, but not sure how to do this on windows.  Any pointers?

The best approach is to have projects qpid-proton (qpid-cpp needs this for
AMQP 1.0 support) and qpid-cpp share the same install directory. Build
qpid-proton 'install' project first and that populates the install area
with the include files and libraries that qpid-cpp needs.

For example:
1) In directory D:\git clone qpid-proton and qpid-cpp. Then you have
  D:\git\qpid-proton
  D:\git\qpid-cpp
2) From qpid-proton\build launch a proton build with something like:
  cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=D:\git\qpid-cpp\install_2017_x64 ..
  devenv proton.sln /build "Debug|x64"          /project INSTALL
3) Then from qpid-cpp\build
  CMake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=D:\git\qpid-cpp\install_2017_x64"
     "-DBoost_COMPILER=-vc141" "-DBOOST_ROOT=D:\boost\boost-win-1.65-64bit-vs2017" D:git\qpid-cpp
  devenv qpid-cpp.sln /build "Debug|x64"          /project INSTALL

I used to maintain some scripts to help me with managing multiple visual studio versions
and the boost dependencies in https://github.com/ChugR/qpid-proton-tools/tree/master/bat
Files build_proton.bat and build-qpid-cpp.bat took care of steps 2 and 3 shown above.

>
> On Thu, Apr 5, 2018 at 4:12 AM, Chuck Rolke <[hidden email]> wrote:
>
> > I tried a build of the qpid-cpp latest master upstream today using:
> >
> > Windows Server 2012 R2
> > Visual Studio 2013 x64
> > boost 1_58_0
> > cmake version 3.9.4
> > Python 2.7.10
> > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
> >
> > Note that I did not include qpid-proton in this build. Also I am not on
> > Windows 10 and have widely different tool versions.
> >
> > I ran into the following issues that 'break the build':
> >
> > * https://issues.apache.org/jira/browse/QPID-8155 - cmake flags issues.
> > ** Work around by reverting as described in the jira
> >
> > * https://issues.apache.org/jira/browse/QPID-7926 - PODmutex is not a POD
> > ** No workaround available
> >
> > So I can't build on windows Visual Studio 2013 either.
> > However, I do not hit the same problems you have.
> >
> > Here is a transcript of my CMake. Maybe it will give you a hint.
> >
> > -Chuck
> >
> >
> > Running CMake in D:\Users\chug\git\qpid-cpp\build_2013_x64 : CMake -G
> > "Visual Studio 12 2013 Win64" "-DBUILD_DOCS=No" "-DCMAKE_INSTALL_PREFIX=D:\
> > Users\chug\git\qpid-cpp\install_2013_x64" "-DBoost_
> > COMPILER=-vc120" "-DBOOST_ROOT=D:\boost\boost_1_58_0"
> > "-DINSTALL_QMFGEN=No" D:\Users\chug\git\qpid-cpp
> > -- The C compiler identification is MSVC 18.0.40629.0
> > -- The CXX compiler identification is MSVC 18.0.40629.0
> > -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
> > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
> > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
> > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
> > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Detecting CXX compile features
> > -- Detecting CXX compile features - done
> > -- Build types are Debug;Release;MinSizeRel;RelWithDebInfo
> > -- Found PythonInterp: C:/Python27/python.exe (found suitable version
> > "2.7.10", minimum required is "2.7")
> > CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
> >   The OLD behavior for policy CMP0022 will be removed from a future version
> >   of CMake.
> >
> >   The cmake-policies(7) manual explains that the OLD behaviors of all
> >   policies are deprecated and that a policy should be set to OLD only under
> >   specific short-term circumstances.  Projects should be ported to the NEW
> >   behavior and not rely on setting a policy to OLD.
> >
> >
> > -- Found PythonInterp: C:/Python27/python.exe (found version "2.7.10")
> > -- 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 "1.8.6")
> > -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe (found
> > version "1.6.3") found components:  doxygen missing components:  dot
> > -- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
> > -- Could NOT find CyrusSASL (missing: CYRUS_SASL_LIBRARY
> > CYRUS_SASL_INCLUDE_DIR)
> > -- Regenerating AMQP protocol sources
> > -- D:/Users/chug/git/qpid-cpp/src/qpid/broker/management-schema.xml is
> > newer
> > -- D:/Users/chug/git/qpid-cpp/src/qpid/acl/management-schema.xml is newer
> > -- D:/Users/chug/git/qpid-cpp/src/qpid/ha/management-schema.xml is newer
> > -- D:/Users/chug/git/qpid-cpp/src/qpid/legacystore/management-schema.xml
> > is newer
> > -- D:/Users/chug/git/qpid-cpp/src/qpid/linearstore/management-schema.xml
> > is newer
> > -- Regenerating Qpid Management Framework sources
> > -- Looking for pthread.h
> > -- Looking for pthread.h - not found
> > -- Found Threads: TRUE
> > -- Boost version: 1.58.0
> > -- Found the following Boost libraries:
> > --   program_options
> > --   date_time
> > --   thread
> > --   system
> > --   chrono
> > --   atomic
> > -- Looking for uuid_generate
> > -- Looking for uuid_generate - not found
> > -- Looking for uuid_generate in uuid
> > -- Looking for uuid_generate in uuid - not found
> > -- Looking for uuid_create
> > -- Looking for uuid_create - not found
> > -- Looking for UuidToString
> > -- Looking for UuidToString - found
> > -- Check for size_t
> > -- Check for size_t -- distinct type
> > -- Looking for _init in xerces-c
> > -- Looking for _init in xerces-c - not found
> > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
> > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not
> > found
> > -- Looking for C++ include xqilla/xqilla-simple.hpp
> > -- Looking for C++ include xqilla/xqilla-simple.hpp - not found
> > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
> > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - not
> > found
> > -- Looking for ibv_create_qp in ibverbs
> > -- Looking for ibv_create_qp in ibverbs - not found
> > -- Looking for rdma_create_id in rdmacm
> > -- Looking for rdma_create_id in rdmacm - not found
> > -- Looking for include file infiniband/verbs.h
> > -- Looking for include file infiniband/verbs.h - not found
> > -- Looking for include file rdma/rdma_cma.h
> > -- Looking for include file rdma/rdma_cma.h - not found
> > -- Could NOT find Proton: found neither ProtonConfig.cmake nor
> > proton-config.cmake (Required is at least version "0.16")
> > -- Qpid proton not found, amqp 1.0 support not enabled
> > -- Looking for LOG_AUTHPRIV
> > -- Looking for LOG_AUTHPRIV - not found
> > -- Looking for LOG_FTP
> > -- Looking for LOG_FTP - not found
> > -- Legacystore is excluded from build.
> > -- Linearstore is excluded from build.
> > -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> > -- Building Dotnet bindings
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: D:/Users/chug/git/qpid-cpp/
> > build_2013_x64
> >
> >
> > ----- Original Message -----
> > > From: "Michael Arnold" <[hidden email]>
> > > To: [hidden email]
> > > Sent: Wednesday, April 4, 2018 6:56:24 AM
> > > Subject: Build QPID C++ Using Visual Studio 2013 on Windows 10
> > >
> > > Hi,
> > >
> > > In have an existing c++ app that run on Linux and uses the QPID client
> > c++
> > > api.  I'd like to compile the same app on Windows 10.  The application
> > > makes use of a development framework and graphics library who's
> > equivalents
> > > on Windows 10 demand the use of Visual Studio 2013.
> > >
> > > I've been followed the QPID build instructions for windows here:
> > > https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt
> > >
> > > But have replaced the cmake command:
> > > cmake -G "Visual Studio 10" ..
> > > with
> > > cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0
> > >
> > > The result is that cmake fails with:
> > > -- Configuring incomplete, errors occurred!
> > > See also
> > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > CMakeFiles/CMakeOutput.log".
> > > See also
> > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > CMakeFiles/CMakeError.log".
> > >
> > > I've inserted the CMakeError.log contents below, but extracted a couple
> > of
> > > items here to give a flavour:
> > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > CheckIncludeFile.c(1):
> > > fatal error C1083: Cannot open include file: 'pthread.h': No such file or
> > > directory
> > > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> > f3397.vcxproj]
> > >
> > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > CheckSymbolExists.c(2):
> > > fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such file
> > or
> > > directory
> > > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> > 67d04.vcxproj]
> > >
> > > CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> > > _uuid_generate referenced in function _main
> > > [C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> > 1d626.vcxproj]
> > >
> > > To me, these all look like basic things that cmake should have taken care
> > > of...
> > >
> > > Please can you help me on how to get this build to work.
> > >
> > > Version details are as follows:
> > > Boost: 1_58_0 (lib64-msvc-12.0)
> > > CMake: 3.11
> > > Python: 3.6.1
> > > Ruby: 2.4.4-1
> > > QPID: 1.37
> > > Visual Studio 2013 64 bit with update 5 applied == Visual Studio version
> > 12
> > > == MSVC++ 12.0  _MSC_VER == 1800
> > > Windows 10: Version 1709, Build: 16299.309
> > >
> > > Kind regards,
> > > Michael
> > >
> > > ------------------------------------------------------------
> > -----------------------
> > > CMakeError.log
> > > ------------------------------------------------------------
> > -----------------------
> > > Determining if the include file pthread.h exists failed with the
> > following
> > > output:
> > > Change Dir:
> > > C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
> > >
> > > Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe"
> > > "cmTC_f3397.vcxproj" "/p:Configuration=Debug"
> > "/p:VisualStudioVersion=12.0"
> > > Microsoft (R) Build Engine version 12.0.40629.0
> > >
> > > [Microsoft .NET Framework, version 4.0.30319.42000]
> > >
> > > Copyright (C) Microsoft Corporation. All rights reserved.
> > >
> > >
> > >
> > > Build started 03/04/2018 21:17:27.
> > >
> > > Project
> > > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\cmTC_
> > f3397.vcxproj"
> > > on node 1 (default targets).
> > >
> > > PrepareForBuild:
> > >
> > >   Creating directory "cmTC_f3397.dir\Debug\".
> > >
> > >   Creating directory
> > > "C:\Users\myk32\Documents\Development\qpid-bin\
> > CMakeFiles\CMakeTmp\Debug\".
> > >
> > >   Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".
> > >
> > > InitializeBuildStatus:
> > >
> > >   Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild"
> > because
> > > "AlwaysCreate" was specified.
> > >
> > > ClCompile:
> > >
> > >   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c
> > /Zi
> > > /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\""
> > /D
> > > _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> > > /Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd /TC
> > > /analyze- /errorReport:queue
> > > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > CheckIncludeFile.c"
> > >
> > >   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
> > >
> > >   Copyright (C) Microsoft Corporation.  All rights reserved.
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Build QPID C++ Using Visual Studio 2013 on Windows 10

Michael Arnold
Hi Chuck,

Posted to the dev group but as well, but thought it might be worthwhile to
post here as well:

Have a couple of questions wrt QPID-7926

Question 1: what is the relevance of the is_pod<> result?

JIRA- 7926 (https://issues.apache.org/jira/browse/QPID-7926) states that:
"In a stand-alone windows program
std::is_pod<PODMutex>::value
returns false. In Linux the same statement in qpidd broker returns true."

If I execute:
grep -r is_pod
in qpid-cpp-1.38.0 directory I get nothing i.e. from what I can see the
broker never uses "is_pod".  What am I missing?

Question 2: Is this a possible approach?
I find 3 non-comment lines using QPID_MUTEX_INITIALIZER:
src/qpid/sys/posix/Mutex.h:#define QPID_MUTEX_INITIALIZER {
PTHREAD_MUTEX_INITIALIZER }
src/qpid/sys/windows/Mutex.h:#define QPID_MUTEX_INITIALIZER 0
src/qpid/log/Logger.cpp:sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;

Where the last line is generating the compiler error under windows, due to
the type mismatch.

For windows, PODMutex, is a thin wrapper around boost::recusive_mutex,
while under linux PODMutex is wrapper around pthread_mutex_t.

From what I can see boost::recusive_mutex does not need to be initalised,
but pthread_mutex_t does, hence under windows+boost the initialisation on
the line:
sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;
is not required.  So possibly src/qpid/log/Logger.cpp can become:
#if defined(BOOST_WINDOWS)
sys::PODMutex loggerLock;
#else
sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;
#endif

Kind regards
Michael


On Fri, Apr 6, 2018 at 3:40 AM, Chuck Rolke <[hidden email]> wrote:

> Hi Michael,
>
> Replies in line.
>
> -Chuck
>
> ----- Original Message -----
> > From: "Michael Arnold" <[hidden email]>
> > To: [hidden email]
> > Sent: Thursday, April 5, 2018 10:17:04 AM
> > Subject: Re: Build QPID C++ Using Visual Studio 2013 on Windows 10
> >
> > Thanks Chuck,
> >
> > Downgrading python from 3.6.1 (python 3) to 2.7.17 (python 2), allowed
> > cmake to generate the build files.  I did not encouter QPID-8155.
> >
> > On the build side, 3 types of errors:
> > 1. QPID-7926 as you describe.
> >
> > 2. Link errors of the form: error LNK1104: cannot open file
> > 'Debug\qpidcommond.lib'
> > C:\Users\myk32\Documents\Development\qpid-bin\src\LINK
> > --> the *.lib files don't appear to exist.  Any pointers?
>
> The QPID-7926 prevents building qpidcommon.lib/dll. From there on all the
> other components fail as everything needs qpidcommon. I'm not sure
> exactly how to fix this but the issue has been known for six months.
>
> >
> > 3. Link errors of the form: error C1083: Cannot open include file:
> > 'proton/engine.h': No such file or directory
> > --> I assume this is because I have not run a 'make install' in the
> proton
> > build directory, but not sure how to do this on windows.  Any pointers?
>
> The best approach is to have projects qpid-proton (qpid-cpp needs this for
> AMQP 1.0 support) and qpid-cpp share the same install directory. Build
> qpid-proton 'install' project first and that populates the install area
> with the include files and libraries that qpid-cpp needs.
>
> For example:
> 1) In directory D:\git clone qpid-proton and qpid-cpp. Then you have
>   D:\git\qpid-proton
>   D:\git\qpid-cpp
> 2) From qpid-proton\build launch a proton build with something like:
>   cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=D:\git\qpid-cpp\install_2017_x64
> ..
>   devenv proton.sln /build "Debug|x64"          /project INSTALL
> 3) Then from qpid-cpp\build
>   CMake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=D:\git\
> qpid-cpp\install_2017_x64"
>      "-DBoost_COMPILER=-vc141" "-DBOOST_ROOT=D:\boost\boost-win-1.65-64bit-vs2017"
> D:git\qpid-cpp
>   devenv qpid-cpp.sln /build "Debug|x64"          /project INSTALL
>
> I used to maintain some scripts to help me with managing multiple visual
> studio versions
> and the boost dependencies in https://github.com/ChugR/qpid-
> proton-tools/tree/master/bat
> Files build_proton.bat and build-qpid-cpp.bat took care of steps 2 and 3
> shown above.
>
> >
> > On Thu, Apr 5, 2018 at 4:12 AM, Chuck Rolke <[hidden email]> wrote:
> >
> > > I tried a build of the qpid-cpp latest master upstream today using:
> > >
> > > Windows Server 2012 R2
> > > Visual Studio 2013 x64
> > > boost 1_58_0
> > > cmake version 3.9.4
> > > Python 2.7.10
> > > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
> > >
> > > Note that I did not include qpid-proton in this build. Also I am not on
> > > Windows 10 and have widely different tool versions.
> > >
> > > I ran into the following issues that 'break the build':
> > >
> > > * https://issues.apache.org/jira/browse/QPID-8155 - cmake flags
> issues.
> > > ** Work around by reverting as described in the jira
> > >
> > > * https://issues.apache.org/jira/browse/QPID-7926 - PODmutex is not a
> POD
> > > ** No workaround available
> > >
> > > So I can't build on windows Visual Studio 2013 either.
> > > However, I do not hit the same problems you have.
> > >
> > > Here is a transcript of my CMake. Maybe it will give you a hint.
> > >
> > > -Chuck
> > >
> > >
> > > Running CMake in D:\Users\chug\git\qpid-cpp\build_2013_x64 : CMake -G
> > > "Visual Studio 12 2013 Win64" "-DBUILD_DOCS=No"
> "-DCMAKE_INSTALL_PREFIX=D:\
> > > Users\chug\git\qpid-cpp\install_2013_x64" "-DBoost_
> > > COMPILER=-vc120" "-DBOOST_ROOT=D:\boost\boost_1_58_0"
> > > "-DINSTALL_QMFGEN=No" D:\Users\chug\git\qpid-cpp
> > > -- The C compiler identification is MSVC 18.0.40629.0
> > > -- The CXX compiler identification is MSVC 18.0.40629.0
> > > -- Check for working C compiler: C:/Program Files (x86)/Microsoft
> Visual
> > > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > > -- Check for working C compiler: C:/Program Files (x86)/Microsoft
> Visual
> > > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > > -- Detecting C compiler ABI info
> > > -- Detecting C compiler ABI info - done
> > > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
> Visual
> > > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
> Visual
> > > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > > -- Detecting CXX compiler ABI info
> > > -- Detecting CXX compiler ABI info - done
> > > -- Detecting CXX compile features
> > > -- Detecting CXX compile features - done
> > > -- Build types are Debug;Release;MinSizeRel;RelWithDebInfo
> > > -- Found PythonInterp: C:/Python27/python.exe (found suitable version
> > > "2.7.10", minimum required is "2.7")
> > > CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
> > >   The OLD behavior for policy CMP0022 will be removed from a future
> version
> > >   of CMake.
> > >
> > >   The cmake-policies(7) manual explains that the OLD behaviors of all
> > >   policies are deprecated and that a policy should be set to OLD only
> under
> > >   specific short-term circumstances.  Projects should be ported to the
> NEW
> > >   behavior and not rely on setting a policy to OLD.
> > >
> > >
> > > -- Found PythonInterp: C:/Python27/python.exe (found version "2.7.10")
> > > -- 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 "1.8.6")
> > > -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe (found
> > > version "1.6.3") found components:  doxygen missing components:  dot
> > > -- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
> > > -- Could NOT find CyrusSASL (missing: CYRUS_SASL_LIBRARY
> > > CYRUS_SASL_INCLUDE_DIR)
> > > -- Regenerating AMQP protocol sources
> > > -- D:/Users/chug/git/qpid-cpp/src/qpid/broker/management-schema.xml is
> > > newer
> > > -- D:/Users/chug/git/qpid-cpp/src/qpid/acl/management-schema.xml is
> newer
> > > -- D:/Users/chug/git/qpid-cpp/src/qpid/ha/management-schema.xml is
> newer
> > > -- D:/Users/chug/git/qpid-cpp/src/qpid/legacystore/
> management-schema.xml
> > > is newer
> > > -- D:/Users/chug/git/qpid-cpp/src/qpid/linearstore/
> management-schema.xml
> > > is newer
> > > -- Regenerating Qpid Management Framework sources
> > > -- Looking for pthread.h
> > > -- Looking for pthread.h - not found
> > > -- Found Threads: TRUE
> > > -- Boost version: 1.58.0
> > > -- Found the following Boost libraries:
> > > --   program_options
> > > --   date_time
> > > --   thread
> > > --   system
> > > --   chrono
> > > --   atomic
> > > -- Looking for uuid_generate
> > > -- Looking for uuid_generate - not found
> > > -- Looking for uuid_generate in uuid
> > > -- Looking for uuid_generate in uuid - not found
> > > -- Looking for uuid_create
> > > -- Looking for uuid_create - not found
> > > -- Looking for UuidToString
> > > -- Looking for UuidToString - found
> > > -- Check for size_t
> > > -- Check for size_t -- distinct type
> > > -- Looking for _init in xerces-c
> > > -- Looking for _init in xerces-c - not found
> > > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
> > > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp -
> not
> > > found
> > > -- Looking for C++ include xqilla/xqilla-simple.hpp
> > > -- Looking for C++ include xqilla/xqilla-simple.hpp - not found
> > > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
> > > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp -
> not
> > > found
> > > -- Looking for ibv_create_qp in ibverbs
> > > -- Looking for ibv_create_qp in ibverbs - not found
> > > -- Looking for rdma_create_id in rdmacm
> > > -- Looking for rdma_create_id in rdmacm - not found
> > > -- Looking for include file infiniband/verbs.h
> > > -- Looking for include file infiniband/verbs.h - not found
> > > -- Looking for include file rdma/rdma_cma.h
> > > -- Looking for include file rdma/rdma_cma.h - not found
> > > -- Could NOT find Proton: found neither ProtonConfig.cmake nor
> > > proton-config.cmake (Required is at least version "0.16")
> > > -- Qpid proton not found, amqp 1.0 support not enabled
> > > -- Looking for LOG_AUTHPRIV
> > > -- Looking for LOG_AUTHPRIV - not found
> > > -- Looking for LOG_FTP
> > > -- Looking for LOG_FTP - not found
> > > -- Legacystore is excluded from build.
> > > -- Linearstore is excluded from build.
> > > -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> > > -- Building Dotnet bindings
> > > -- Configuring done
> > > -- Generating done
> > > -- Build files have been written to: D:/Users/chug/git/qpid-cpp/
> > > build_2013_x64
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Michael Arnold" <[hidden email]>
> > > > To: [hidden email]
> > > > Sent: Wednesday, April 4, 2018 6:56:24 AM
> > > > Subject: Build QPID C++ Using Visual Studio 2013 on Windows 10
> > > >
> > > > Hi,
> > > >
> > > > In have an existing c++ app that run on Linux and uses the QPID
> client
> > > c++
> > > > api.  I'd like to compile the same app on Windows 10.  The
> application
> > > > makes use of a development framework and graphics library who's
> > > equivalents
> > > > on Windows 10 demand the use of Visual Studio 2013.
> > > >
> > > > I've been followed the QPID build instructions for windows here:
> > > > https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt
> > > >
> > > > But have replaced the cmake command:
> > > > cmake -G "Visual Studio 10" ..
> > > > with
> > > > cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0
> > > >
> > > > The result is that cmake fails with:
> > > > -- Configuring incomplete, errors occurred!
> > > > See also
> > > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > > CMakeFiles/CMakeOutput.log".
> > > > See also
> > > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > > CMakeFiles/CMakeError.log".
> > > >
> > > > I've inserted the CMakeError.log contents below, but extracted a
> couple
> > > of
> > > > items here to give a flavour:
> > > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > CheckIncludeFile.c(1):
> > > > fatal error C1083: Cannot open include file: 'pthread.h': No such
> file or
> > > > directory
> > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> CMakeFiles\CMakeTmp\cmTC_
> > > f3397.vcxproj]
> > > >
> > > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > CheckSymbolExists.c(2):
> > > > fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such
> file
> > > or
> > > > directory
> > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> CMakeFiles\CMakeTmp\cmTC_
> > > 67d04.vcxproj]
> > > >
> > > > CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> > > > _uuid_generate referenced in function _main
> > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> CMakeFiles\CMakeTmp\cmTC_
> > > 1d626.vcxproj]
> > > >
> > > > To me, these all look like basic things that cmake should have taken
> care
> > > > of...
> > > >
> > > > Please can you help me on how to get this build to work.
> > > >
> > > > Version details are as follows:
> > > > Boost: 1_58_0 (lib64-msvc-12.0)
> > > > CMake: 3.11
> > > > Python: 3.6.1
> > > > Ruby: 2.4.4-1
> > > > QPID: 1.37
> > > > Visual Studio 2013 64 bit with update 5 applied == Visual Studio
> version
> > > 12
> > > > == MSVC++ 12.0  _MSC_VER == 1800
> > > > Windows 10: Version 1709, Build: 16299.309
> > > >
> > > > Kind regards,
> > > > Michael
> > > >
> > > > ------------------------------------------------------------
> > > -----------------------
> > > > CMakeError.log
> > > > ------------------------------------------------------------
> > > -----------------------
> > > > Determining if the include file pthread.h exists failed with the
> > > following
> > > > output:
> > > > Change Dir:
> > > > C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
> > > >
> > > > Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/
> MSBuild.exe"
> > > > "cmTC_f3397.vcxproj" "/p:Configuration=Debug"
> > > "/p:VisualStudioVersion=12.0"
> > > > Microsoft (R) Build Engine version 12.0.40629.0
> > > >
> > > > [Microsoft .NET Framework, version 4.0.30319.42000]
> > > >
> > > > Copyright (C) Microsoft Corporation. All rights reserved.
> > > >
> > > >
> > > >
> > > > Build started 03/04/2018 21:17:27.
> > > >
> > > > Project
> > > > "C:\Users\myk32\Documents\Development\qpid-bin\
> CMakeFiles\CMakeTmp\cmTC_
> > > f3397.vcxproj"
> > > > on node 1 (default targets).
> > > >
> > > > PrepareForBuild:
> > > >
> > > >   Creating directory "cmTC_f3397.dir\Debug\".
> > > >
> > > >   Creating directory
> > > > "C:\Users\myk32\Documents\Development\qpid-bin\
> > > CMakeFiles\CMakeTmp\Debug\".
> > > >
> > > >   Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".
> > > >
> > > > InitializeBuildStatus:
> > > >
> > > >   Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild"
> > > because
> > > > "AlwaysCreate" was specified.
> > > >
> > > > ClCompile:
> > > >
> > > >   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe
> /c
> > > /Zi
> > > > /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> "CMAKE_INTDIR=\"Debug\""
> > > /D
> > > > _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> > > > /Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd
> /TC
> > > > /analyze- /errorReport:queue
> > > > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > CheckIncludeFile.c"
> > > >
> > > >   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
> > > >
> > > >   Copyright (C) Microsoft Corporation.  All rights reserved.
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Build QPID C++ Using Visual Studio 2013 on Windows 10

Justin Ross-3
Following up on a few things here, QPID-8155 is now fixed.  After that I
encountered and fixed another build failure in QPID-8169.

https://issues.apache.org/jira/browse/QPID-8155
https://issues.apache.org/jira/browse/QPID-8169

Apache Infra setup a Windows CI job for us.  It's now linked from the Qpid
dashboard.

https://ci.appveyor.com/project/ApacheSoftwareFoundation/qpid-cpp/branch/master
http://qpid.apache.org/dashboard.html

On Fri, Apr 6, 2018 at 4:40 AM Michael Arnold <[hidden email]> wrote:

> Hi Chuck,
>
> Posted to the dev group but as well, but thought it might be worthwhile to
> post here as well:
>
> Have a couple of questions wrt QPID-7926
>
> Question 1: what is the relevance of the is_pod<> result?
>
> JIRA- 7926 (https://issues.apache.org/jira/browse/QPID-7926) states that:
> "In a stand-alone windows program
> std::is_pod<PODMutex>::value
> returns false. In Linux the same statement in qpidd broker returns true."
>
> If I execute:
> grep -r is_pod
> in qpid-cpp-1.38.0 directory I get nothing i.e. from what I can see the
> broker never uses "is_pod".  What am I missing?
>
> Question 2: Is this a possible approach?
> I find 3 non-comment lines using QPID_MUTEX_INITIALIZER:
> src/qpid/sys/posix/Mutex.h:#define QPID_MUTEX_INITIALIZER {
> PTHREAD_MUTEX_INITIALIZER }
> src/qpid/sys/windows/Mutex.h:#define QPID_MUTEX_INITIALIZER 0
> src/qpid/log/Logger.cpp:sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;
>
> Where the last line is generating the compiler error under windows, due to
> the type mismatch.
>
> For windows, PODMutex, is a thin wrapper around boost::recusive_mutex,
> while under linux PODMutex is wrapper around pthread_mutex_t.
>
> From what I can see boost::recusive_mutex does not need to be initalised,
> but pthread_mutex_t does, hence under windows+boost the initialisation on
> the line:
> sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;
> is not required.  So possibly src/qpid/log/Logger.cpp can become:
> #if defined(BOOST_WINDOWS)
> sys::PODMutex loggerLock;
> #else
> sys::PODMutex loggerLock = QPID_MUTEX_INITIALIZER;
> #endif
>
> Kind regards
> Michael
>
>
> On Fri, Apr 6, 2018 at 3:40 AM, Chuck Rolke <[hidden email]> wrote:
>
> > Hi Michael,
> >
> > Replies in line.
> >
> > -Chuck
> >
> > ----- Original Message -----
> > > From: "Michael Arnold" <[hidden email]>
> > > To: [hidden email]
> > > Sent: Thursday, April 5, 2018 10:17:04 AM
> > > Subject: Re: Build QPID C++ Using Visual Studio 2013 on Windows 10
> > >
> > > Thanks Chuck,
> > >
> > > Downgrading python from 3.6.1 (python 3) to 2.7.17 (python 2), allowed
> > > cmake to generate the build files.  I did not encouter QPID-8155.
> > >
> > > On the build side, 3 types of errors:
> > > 1. QPID-7926 as you describe.
> > >
> > > 2. Link errors of the form: error LNK1104: cannot open file
> > > 'Debug\qpidcommond.lib'
> > > C:\Users\myk32\Documents\Development\qpid-bin\src\LINK
> > > --> the *.lib files don't appear to exist.  Any pointers?
> >
> > The QPID-7926 prevents building qpidcommon.lib/dll. From there on all the
> > other components fail as everything needs qpidcommon. I'm not sure
> > exactly how to fix this but the issue has been known for six months.
> >
> > >
> > > 3. Link errors of the form: error C1083: Cannot open include file:
> > > 'proton/engine.h': No such file or directory
> > > --> I assume this is because I have not run a 'make install' in the
> > proton
> > > build directory, but not sure how to do this on windows.  Any pointers?
> >
> > The best approach is to have projects qpid-proton (qpid-cpp needs this
> for
> > AMQP 1.0 support) and qpid-cpp share the same install directory. Build
> > qpid-proton 'install' project first and that populates the install area
> > with the include files and libraries that qpid-cpp needs.
> >
> > For example:
> > 1) In directory D:\git clone qpid-proton and qpid-cpp. Then you have
> >   D:\git\qpid-proton
> >   D:\git\qpid-cpp
> > 2) From qpid-proton\build launch a proton build with something like:
> >   cmake -G "Visual Studio 15 2017 Win64"
> -DCMAKE_INSTALL_PREFIX=D:\git\qpid-cpp\install_2017_x64
> > ..
> >   devenv proton.sln /build "Debug|x64"          /project INSTALL
> > 3) Then from qpid-cpp\build
> >   CMake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=D:\git\
> > qpid-cpp\install_2017_x64"
> >      "-DBoost_COMPILER=-vc141"
> "-DBOOST_ROOT=D:\boost\boost-win-1.65-64bit-vs2017"
> > D:git\qpid-cpp
> >   devenv qpid-cpp.sln /build "Debug|x64"          /project INSTALL
> >
> > I used to maintain some scripts to help me with managing multiple visual
> > studio versions
> > and the boost dependencies in https://github.com/ChugR/qpid-
> > proton-tools/tree/master/bat
> > Files build_proton.bat and build-qpid-cpp.bat took care of steps 2 and 3
> > shown above.
> >
> > >
> > > On Thu, Apr 5, 2018 at 4:12 AM, Chuck Rolke <[hidden email]> wrote:
> > >
> > > > I tried a build of the qpid-cpp latest master upstream today using:
> > > >
> > > > Windows Server 2012 R2
> > > > Visual Studio 2013 x64
> > > > boost 1_58_0
> > > > cmake version 3.9.4
> > > > Python 2.7.10
> > > > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
> > > >
> > > > Note that I did not include qpid-proton in this build. Also I am not
> on
> > > > Windows 10 and have widely different tool versions.
> > > >
> > > > I ran into the following issues that 'break the build':
> > > >
> > > > * https://issues.apache.org/jira/browse/QPID-8155 - cmake flags
> > issues.
> > > > ** Work around by reverting as described in the jira
> > > >
> > > > * https://issues.apache.org/jira/browse/QPID-7926 - PODmutex is not
> a
> > POD
> > > > ** No workaround available
> > > >
> > > > So I can't build on windows Visual Studio 2013 either.
> > > > However, I do not hit the same problems you have.
> > > >
> > > > Here is a transcript of my CMake. Maybe it will give you a hint.
> > > >
> > > > -Chuck
> > > >
> > > >
> > > > Running CMake in D:\Users\chug\git\qpid-cpp\build_2013_x64 : CMake -G
> > > > "Visual Studio 12 2013 Win64" "-DBUILD_DOCS=No"
> > "-DCMAKE_INSTALL_PREFIX=D:\
> > > > Users\chug\git\qpid-cpp\install_2013_x64" "-DBoost_
> > > > COMPILER=-vc120" "-DBOOST_ROOT=D:\boost\boost_1_58_0"
> > > > "-DINSTALL_QMFGEN=No" D:\Users\chug\git\qpid-cpp
> > > > -- The C compiler identification is MSVC 18.0.40629.0
> > > > -- The CXX compiler identification is MSVC 18.0.40629.0
> > > > -- Check for working C compiler: C:/Program Files (x86)/Microsoft
> > Visual
> > > > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > > > -- Check for working C compiler: C:/Program Files (x86)/Microsoft
> > Visual
> > > > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > > > -- Detecting C compiler ABI info
> > > > -- Detecting C compiler ABI info - done
> > > > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
> > Visual
> > > > Studio 12.0/VC/bin/x86_amd64/cl.exe
> > > > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
> > Visual
> > > > Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
> > > > -- Detecting CXX compiler ABI info
> > > > -- Detecting CXX compiler ABI info - done
> > > > -- Detecting CXX compile features
> > > > -- Detecting CXX compile features - done
> > > > -- Build types are Debug;Release;MinSizeRel;RelWithDebInfo
> > > > -- Found PythonInterp: C:/Python27/python.exe (found suitable version
> > > > "2.7.10", minimum required is "2.7")
> > > > CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
> > > >   The OLD behavior for policy CMP0022 will be removed from a future
> > version
> > > >   of CMake.
> > > >
> > > >   The cmake-policies(7) manual explains that the OLD behaviors of all
> > > >   policies are deprecated and that a policy should be set to OLD only
> > under
> > > >   specific short-term circumstances.  Projects should be ported to
> the
> > NEW
> > > >   behavior and not rely on setting a policy to OLD.
> > > >
> > > >
> > > > -- Found PythonInterp: C:/Python27/python.exe (found version
> "2.7.10")
> > > > -- 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
> "1.8.6")
> > > > -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe
> (found
> > > > version "1.6.3") found components:  doxygen missing components:  dot
> > > > -- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
> > > > -- Could NOT find CyrusSASL (missing: CYRUS_SASL_LIBRARY
> > > > CYRUS_SASL_INCLUDE_DIR)
> > > > -- Regenerating AMQP protocol sources
> > > > -- D:/Users/chug/git/qpid-cpp/src/qpid/broker/management-schema.xml
> is
> > > > newer
> > > > -- D:/Users/chug/git/qpid-cpp/src/qpid/acl/management-schema.xml is
> > newer
> > > > -- D:/Users/chug/git/qpid-cpp/src/qpid/ha/management-schema.xml is
> > newer
> > > > -- D:/Users/chug/git/qpid-cpp/src/qpid/legacystore/
> > management-schema.xml
> > > > is newer
> > > > -- D:/Users/chug/git/qpid-cpp/src/qpid/linearstore/
> > management-schema.xml
> > > > is newer
> > > > -- Regenerating Qpid Management Framework sources
> > > > -- Looking for pthread.h
> > > > -- Looking for pthread.h - not found
> > > > -- Found Threads: TRUE
> > > > -- Boost version: 1.58.0
> > > > -- Found the following Boost libraries:
> > > > --   program_options
> > > > --   date_time
> > > > --   thread
> > > > --   system
> > > > --   chrono
> > > > --   atomic
> > > > -- Looking for uuid_generate
> > > > -- Looking for uuid_generate - not found
> > > > -- Looking for uuid_generate in uuid
> > > > -- Looking for uuid_generate in uuid - not found
> > > > -- Looking for uuid_create
> > > > -- Looking for uuid_create - not found
> > > > -- Looking for UuidToString
> > > > -- Looking for UuidToString - found
> > > > -- Check for size_t
> > > > -- Check for size_t -- distinct type
> > > > -- Looking for _init in xerces-c
> > > > -- Looking for _init in xerces-c - not found
> > > > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
> > > > -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp -
> > not
> > > > found
> > > > -- Looking for C++ include xqilla/xqilla-simple.hpp
> > > > -- Looking for C++ include xqilla/xqilla-simple.hpp - not found
> > > > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
> > > > -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp -
> > not
> > > > found
> > > > -- Looking for ibv_create_qp in ibverbs
> > > > -- Looking for ibv_create_qp in ibverbs - not found
> > > > -- Looking for rdma_create_id in rdmacm
> > > > -- Looking for rdma_create_id in rdmacm - not found
> > > > -- Looking for include file infiniband/verbs.h
> > > > -- Looking for include file infiniband/verbs.h - not found
> > > > -- Looking for include file rdma/rdma_cma.h
> > > > -- Looking for include file rdma/rdma_cma.h - not found
> > > > -- Could NOT find Proton: found neither ProtonConfig.cmake nor
> > > > proton-config.cmake (Required is at least version "0.16")
> > > > -- Qpid proton not found, amqp 1.0 support not enabled
> > > > -- Looking for LOG_AUTHPRIV
> > > > -- Looking for LOG_AUTHPRIV - not found
> > > > -- Looking for LOG_FTP
> > > > -- Looking for LOG_FTP - not found
> > > > -- Legacystore is excluded from build.
> > > > -- Linearstore is excluded from build.
> > > > -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> > > > -- Building Dotnet bindings
> > > > -- Configuring done
> > > > -- Generating done
> > > > -- Build files have been written to: D:/Users/chug/git/qpid-cpp/
> > > > build_2013_x64
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Michael Arnold" <[hidden email]>
> > > > > To: [hidden email]
> > > > > Sent: Wednesday, April 4, 2018 6:56:24 AM
> > > > > Subject: Build QPID C++ Using Visual Studio 2013 on Windows 10
> > > > >
> > > > > Hi,
> > > > >
> > > > > In have an existing c++ app that run on Linux and uses the QPID
> > client
> > > > c++
> > > > > api.  I'd like to compile the same app on Windows 10.  The
> > application
> > > > > makes use of a development framework and graphics library who's
> > > > equivalents
> > > > > on Windows 10 demand the use of Visual Studio 2013.
> > > > >
> > > > > I've been followed the QPID build instructions for windows here:
> > > > > https://github.com/apache/qpid-cpp/blob/master/INSTALL-WINDOWS.txt
> > > > >
> > > > > But have replaced the cmake command:
> > > > > cmake -G "Visual Studio 10" ..
> > > > > with
> > > > > cmake -G "Visual Studio 12" ..\qpid-cpp-1.37.0
> > > > >
> > > > > The result is that cmake fails with:
> > > > > -- Configuring incomplete, errors occurred!
> > > > > See also
> > > > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > > > CMakeFiles/CMakeOutput.log".
> > > > > See also
> > > > > "C:/Users/myk32/Documents/Development/qpid-bin/
> > > > CMakeFiles/CMakeError.log".
> > > > >
> > > > > I've inserted the CMakeError.log contents below, but extracted a
> > couple
> > > > of
> > > > > items here to give a flavour:
> > > > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > > CheckIncludeFile.c(1):
> > > > > fatal error C1083: Cannot open include file: 'pthread.h': No such
> > file or
> > > > > directory
> > > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> > CMakeFiles\CMakeTmp\cmTC_
> > > > f3397.vcxproj]
> > > > >
> > > > > C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > > CheckSymbolExists.c(2):
> > > > > fatal error C1083: Cannot open include file: 'uuid/uuid.h': No such
> > file
> > > > or
> > > > > directory
> > > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> > CMakeFiles\CMakeTmp\cmTC_
> > > > 67d04.vcxproj]
> > > > >
> > > > > CheckFunctionExists.obj : error LNK2019: unresolved external symbol
> > > > > _uuid_generate referenced in function _main
> > > > > [C:\Users\myk32\Documents\Development\qpid-bin\
> > CMakeFiles\CMakeTmp\cmTC_
> > > > 1d626.vcxproj]
> > > > >
> > > > > To me, these all look like basic things that cmake should have
> taken
> > care
> > > > > of...
> > > > >
> > > > > Please can you help me on how to get this build to work.
> > > > >
> > > > > Version details are as follows:
> > > > > Boost: 1_58_0 (lib64-msvc-12.0)
> > > > > CMake: 3.11
> > > > > Python: 3.6.1
> > > > > Ruby: 2.4.4-1
> > > > > QPID: 1.37
> > > > > Visual Studio 2013 64 bit with update 5 applied == Visual Studio
> > version
> > > > 12
> > > > > == MSVC++ 12.0  _MSC_VER == 1800
> > > > > Windows 10: Version 1709, Build: 16299.309
> > > > >
> > > > > Kind regards,
> > > > > Michael
> > > > >
> > > > > ------------------------------------------------------------
> > > > -----------------------
> > > > > CMakeError.log
> > > > > ------------------------------------------------------------
> > > > -----------------------
> > > > > Determining if the include file pthread.h exists failed with the
> > > > following
> > > > > output:
> > > > > Change Dir:
> > > > > C:/Users/myk32/Documents/Development/qpid-bin/CMakeFiles/CMakeTmp
> > > > >
> > > > > Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/
> > MSBuild.exe"
> > > > > "cmTC_f3397.vcxproj" "/p:Configuration=Debug"
> > > > "/p:VisualStudioVersion=12.0"
> > > > > Microsoft (R) Build Engine version 12.0.40629.0
> > > > >
> > > > > [Microsoft .NET Framework, version 4.0.30319.42000]
> > > > >
> > > > > Copyright (C) Microsoft Corporation. All rights reserved.
> > > > >
> > > > >
> > > > >
> > > > > Build started 03/04/2018 21:17:27.
> > > > >
> > > > > Project
> > > > > "C:\Users\myk32\Documents\Development\qpid-bin\
> > CMakeFiles\CMakeTmp\cmTC_
> > > > f3397.vcxproj"
> > > > > on node 1 (default targets).
> > > > >
> > > > > PrepareForBuild:
> > > > >
> > > > >   Creating directory "cmTC_f3397.dir\Debug\".
> > > > >
> > > > >   Creating directory
> > > > > "C:\Users\myk32\Documents\Development\qpid-bin\
> > > > CMakeFiles\CMakeTmp\Debug\".
> > > > >
> > > > >   Creating directory "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\".
> > > > >
> > > > > InitializeBuildStatus:
> > > > >
> > > > >   Creating "cmTC_f3397.dir\Debug\cmTC_f3397.tlog\unsuccessfulbuild"
> > > > because
> > > > > "AlwaysCreate" was specified.
> > > > >
> > > > > ClCompile:
> > > > >
> > > > >   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe
> > /c
> > > > /Zi
> > > > > /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> > "CMAKE_INTDIR=\"Debug\""
> > > > /D
> > > > > _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
> > > > > /Fo"cmTC_f3397.dir\Debug\\" /Fd"cmTC_f3397.dir\Debug\vc120.pdb" /Gd
> > /TC
> > > > > /analyze- /errorReport:queue
> > > > > "C:\Users\myk32\Documents\Development\qpid-bin\CMakeFiles\CMakeTmp\
> > > > CheckIncludeFile.c"
> > > > >
> > > > >   Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for
> x86
> > > > >
> > > > >   Copyright (C) Microsoft Corporation.  All rights reserved.
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>