[ https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257078#comment-14257078 ]
Chuck Rolke commented on QPID-6266: ----------------------------------- x86 and x64 builds both work. Pick your target and go for it. 1. Make sure cmake is targeting a 64-bit build. {noformat} cmake -G "Visual Studio 10" -- 32 bit cmake -G "Visual Studio 10 Win64" -- 64 bit {noformat} 2. Make sure you have a native 64-bit qpid build. From a developer command prompt: {noformat} cd $checkout\build_2010_x64\src\Debug dumpbin /headers qpidcommon[d].dll | findstr machine 8664 machine (x64) {noformat} The qpid build is 64-bit. A 32-bit build will show '14C machine (x86)' and '32 bit word machine' You could check all the qpid*.dll files and the boost*.dll files that you are trying to build/use. When any of the unmanaged dll files are wrong it's really hard to find that out from within .NET. 3. In my build scheme I use the cpp\bld-winsdk.ps1 script. It emits a batch/powershell script set that can launch the qpidmessaging build. {noformat} $env:PATH = "c:\boost-win-1.47-64bit-vs2010\lib;$env:PATH" $env:QPID_BUILD_ROOT = "D:\git\qpid\build_2010_x64" Write-Host "Launch org.apache.qpid.messaging.sln in Visual Studio 2010 x64 (64-bit) environment." D:\git\qpid\build_2010_x64\bindings\qpid\dotnet\msvcx\org.apache.qpid.messaging.sln {noformat} When Visual Studio starts choose x64 and build the solution. > qpid-cpp-0.30 Build Fail - Org.Apache.Qpid.Messaging.dll > -------------------------------------------------------- > > Key: QPID-6266 > URL: https://issues.apache.org/jira/browse/QPID-6266 > Project: Qpid > Issue Type: Bug > Components: Dot Net Client > Affects Versions: 0.30 > Environment: Windows XP (x86) > Windows 7 ( x64). > Visual Studios 2008, 2010 > Reporter: Fred Cheng > Assignee: Chuck Rolke > Original Estimate: 120h > Remaining Estimate: 120h > > The build instructions in the file INSTALL-WINDOWS in qpid-cpp-0.30 does not > work. For example, the file said to install > 1. CMake 2.4 > 2. "cmake -i -G "Visual Studio 9 2008" > The problem is the CMake 2.4 does not support "Visual Studio 9 2008" > A second example is that the command -i for cmake has been depreciated in > current version of cmake. > The file README-winsdk.txt also appears to be outdated. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org