>From the directory in which you initially ran cmake, look in >src\windows\resources and see if there is a generated resource file for each >dll: org.apache.qpid.messaging.rc, qpidcommon-resource.rc, and so on. If these >are absent it's a cmake issue.
Then the compile for each library executes <ResourceCompile Include="$(QPID_BUILD_ROOT)\src\windows\resources\<component>.rc"> If this is missing then it's a QPID_BUILD_ROOT issue. -Chuck ----- Original Message ----- > From: "Rajesh Khan" <[email protected]> > To: [email protected] > Sent: Wednesday, October 17, 2012 4:03:44 PM > Subject: Re: Building Org.Apache.Qpid.Messaging.dll for C# > > It seems that even after I have declared the QPID_BUILD_ROOT in my > windows > environment variable , my org.apache.qpid.messaging.sln cannot find > the > resourceorg.apache.qpid.messaging.rc ? > > > On Wed, Oct 17, 2012 at 1:25 PM, Rajesh Khan > <[email protected]>wrote: > > > I only have BOOST_ROOT set in my environment variable , should I > > also add > > QPID_BUILD_ROOT ? > > > > > > On Wed, Oct 17, 2012 at 1:21 PM, Chuck Rolke <[email protected]> > > wrote: > > > >> You don't need to use the script. I use it so that I don't have to > >> remember which Boost the rest of the build used. > >> > >> As long as Boost is in your path and you have QPID_BUILD_ROOT set > >> then > >> you are good to go. > >> > >> A typical generated script follows. > >> > >> -Chuck > >> > >> D:\qpid\b32-2010>type start-devenv-messaging-msvc10-x86-32bit.ps1 > >> # > >> # Launch org.apache.qpid.messaging.sln in Visual Studio 2010 x86 > >> (32-bit) > >> environment > >> # > >> $env:PATH = "C:\boost-win-1.47-32bit-vs2010\lib;$env:PATH" > >> $env:QPID_BUILD_ROOT = "D:\qpid\b32-2010" > >> Write-Host "Launch org.apache.qpid.messaging.sln in Visual > >> Studio > >> 2010 x86 (32-bit) environment." > >> D:\qpid\cpp\bindings\qpid\dotnet\msvc10\org.apache.qpid.messaging.sln > >> > >> > >> ----- Original Message ----- > >> > From: "Rajesh Khan" <[email protected]> > >> > To: [email protected] > >> > Sent: Wednesday, October 17, 2012 3:03:35 PM > >> > Subject: Re: Building Org.Apache.Qpid.Messaging.dll for C# > >> > > >> > Thanks for the reply Chuck , I actually built the CPP solution > >> > by > >> > cmaking > >> > in the cpp folder as a result I got qpid-cpp.sln. I did not use > >> > the > >> > configure_windows.ps1 script. Are you suggesting that I use it ? > >> > > >> > On Wed, Oct 17, 2012 at 12:54 PM, Chuck Rolke > >> > <[email protected]> > >> > wrote: > >> > > >> > > Hi Rajesh, > >> > > > >> > > To build the .NET binding dll your process will need some > >> > > context > >> > > about > >> > > the environment in which you built the native C++ libraries. > >> > > If you > >> > > used > >> > > the configure_windows.ps1 script then the environment is > >> > > preserved > >> > > in a > >> > > batch/powershell script pair in the same directory as your > >> > > qpid-cpp.sln > >> > > file. You can double click the batch file > >> > > "start-devenv-messaging-msvc10-x64-64bit.bat" to launch Visual > >> > > Studio with: > >> > > 1. QPID_BUILD_ROOT set to the directory in which you > >> > > originally ran > >> > > CMake. > >> > > 2. PATH has the selected Boost library path prepended. > >> > > > >> > > The powershell script then launches > >> > > qpid\cpp\bindings\qpid\dotnet\msvc10\org.apache.qpid.messaging.sln > >> > > which > >> > > includes the .vcxproj you tried to use. > >> > > > >> > > Building that solution produces the .NET binding DLL and > >> > > various > >> > > examples > >> > > in managed code. > >> > > > >> > > For more information on how the .NET binding works please see > >> > > > >> https://cwiki.apache.org/qpid/c-messaging-client-net-binding-design-patterns.data/Dotnet-Binding-for-CPP-Messaging-DesignPatterns-1_2.odt > >> > > . > >> > > > >> > > -Chuck > >> > > > >> > > ----- Original Message ----- > >> > > > From: "Rajesh Khan" <[email protected]> > >> > > > To: [email protected] > >> > > > Sent: Wednesday, October 17, 2012 1:14:37 PM > >> > > > Subject: Building Org.Apache.Qpid.Messaging.dll for C# > >> > > > > >> > > > After downloading the package and building Cpp solution I > >> > > > now > >> > > > need to > >> > > > interlink QPID to my C# application. Any suggestions on how > >> > > > I > >> > > > should > >> > > > get > >> > > > started ? > >> > > > I tried opening > >> > > > > >> > > > >> "qpid-0.18\qpid-0.18\cpp\bindings\qpid\dotnet\src\msvc10\org.apache.qpid.messaging.vcxproj" > >> > > > and building a solution file out of it however. When I build > >> > > > it > >> > > > it > >> > > > states > >> > > > > >> > > > Error 1 error RC1110: could not open > >> > > > \src\windows\resources\org.apache.qpid.messaging.rc > >> > > > D:\qpid-0.18\qpid-0.18\cpp\bindings\qpid\dotnet\src\msvc10\RC > >> > > > org.apache.qpid.messaging > >> > > > > >> > > > Any suggestions here ? > >> > > > > >> > > > >> > > --------------------------------------------------------------------- > >> > > To unsubscribe, e-mail: [email protected] > >> > > For additional commands, e-mail: [email protected] > >> > > > >> > > > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
