Hi, I'm using Qpid.Proton 0.33 for C++, using Win32 and x64 build configurations. I would like to upgrade to the latest version 0.38, unfortunately the CMAKE request aborts.
cmake .. -G "Visual Studio 17 2022" -A Win32 It appears that this CMAKE command only works successfully on version 0.33 and stopped working with version 0.34. Does anyone have a workaround in order to achieve a successful Win32 construction? An x64 build architecture works fine. (cmake .. -G "Visual Studio 17 2022" -A x64) The error logs look identical between the win32 and x64 up to the point where the win32 build log stops logging, which is here: -- Determining if the function pthread_create exists in the pthread failed with the following output: Change Dir: C:/u/Projects/3rdParty/qpid-proton-0.34.0/build32/CMakeFiles/CmakeScratch/TryCompile-yekssr Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_1ce46.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.4.0+18d5aef85 for .NET Framework Microsoft (c) C/C++ Optimizing Compiler Version 19.34.31935 for x86 Copyright (c) Microsoft Corporation. All rights reserved. CheckFunctionExists.c cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_1ce46.dir\Debug\\" /Fd"cmTC_1ce46.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /analyze- /errorReport:queue "C:\u\Projects\3rdParty\qpid-proton-0.34.0\build32\CmakeFiles\CmakeScratch\TryCompile-yekssr\CheckFunctionExists.c" LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\u\Projects\3rdParty\qpid-proton-0.34.0\build32\CmakeFiles\CmakeScratch\TryCompile-yekssr\cmTC_1ce46.vcxproj] -- Specifically, the x64 CMAKE log also shows the same error, but continues execution. This is the last entry in the CmakeOutpout.log file: -- CMakeCCompilerABI.c cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_33642.dir\Debug\\" /Fd"cmTC_33642.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /analyze- /errorReport:queue "C:\Program Files\Cmake\share\cmake-3.25\Modules\CMakeCCompilerABI.c" cmTC_33642.vcxproj -> C:\u\Projects\3rdParty\qpid-proton-0.34.0\build32\CmakeFiles\CmakeScratch\TryCompile-4du5h9\Debug\cmTC_33642.exe -- Richard Straus Senior Software Developer Kofax, Inc. [cid:image001.png@01D93B02.D723EED0] Toronto, ON Canada Tel: +1 (857) 214-6694 richard.str...@kofax.com<mailto:richard.str...@kofax.com> Richard Straus Sr. Software Developer [cid:Kofax_ab6d7362-d88f-454c-a5e0-9fbdacd27b9c.jpg] Kofax Canada, ULC 460 Phillip Street Waterloo, ON N2L 5J2 Tel: +1 519 880 7421 richard.str...@kofax.com [cid:WorkLikeTomorrow_5b748fe4-9e86-42f8-b5af-b79a2d6ee254.jpg] ______________________________________________________________________________________________________________________________________________________________ This communication is only for the use of the intended recipient. It may contain confidential or proprietary information. If you are not the intended recipient or have received this communication in error, please notify the sender via phone and destroy this communication immediately.