[ https://issues.apache.org/jira/browse/QPID-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258154#comment-14258154 ]
Fred Cheng edited comment on QPID-6266 at 12/28/14 4:19 AM: ------------------------------------------------------------ Hi Chuck, Sorry to keep bothering you, I am trying the replicate the new build process you have outlined by using build_proton.bat and build_qpid.bat. The proton build worked perfectly. In addition, I was also able to build with Visual Studios. I got to step 4 of the qpid build, but step 5 failed because org.apache.qpid.messaging.sln could not be found. In the path specified by the powershell file. In addition, I checked the svn trunk, the solution file could not be found there either. (The trunk and build directories has .sln.in files.) Question 1: Where do I find the org.apache.qpid.messaging.sln? Question 2: In the new build process, where do I find qpid-cpp.sln file to build the qpid files? Or does this version just uses proton and not qpid-cpp? Thanks for all of your help. Have a Merry Christmas Fred was (Author: trix4rabbit): Hi Chuck, Sorry to keep bothering you, I got past qpid-cpp build, but are now running into issues with the messaging API (org.apache.qpid.messaging.dll) I was able to build the DLL, but it causes fatal error with I try to run with the CS examples. Here was my path to get the DLL to build. When compiling org.apache.qpid.messaging.dll. I run into 1. fatal error: AssemblyInfo.cpp Not Found (But there is an AssemblyInfo-Template.cpp) 2. RC : fatal error RC1110: could not open \src\windows\resources\org.apache.qpid.messaging.rc (But there is a messaging.template.rc file) If I try to open the template.rc file, I get fatal error RC1015: cannot open include file '${DOTNET_relPathToResource}' I delete these two files (Since AssemblyInfo.cpp should be generated by the compiler) from the solution and build, I was able to build it. However, when I link org.apache.qpid.messaging in C# or VB .NET, it crashes the program. These errors were result from using the solution from the downloaded file under bindings/qpid/dotnet/... I tried your install script, but had some issues too. 1. In step 4, I don't see the folder d:\qpid\install_xxx 2. during QPID build, when under -- Building Dotnet bindings, it throws the following error for both x64 and x86 (Win32) CMake Error at bindings/qpid/dotnet/CMakeLists.txt:191 No DOTNET binding support available for Visual Studio 10 2010 Win64 No DOTNET binding support available for Visual Studio 10 2010.. Since the build_qpid.bat failed to build messaging, I followed the sequence and executed the script configuration-windows. It does build msvcx folder but no .sln file (Only sln.in file). However, for some reason, the QPID_BUILD_ROOT is still set wrong. However, if I try to hard code my path rather than using QPID_BUILD_ROOT, I get a build error (Microsoft.CppCommon.targets, line 113) error MSB3073: "sn.exe -Ra "D:\MQ\QPID\build\x64\src\Debug\org.apache.qpid.messaging.dll" "..\qpid.snk" So I went back to using the QPID_build_PATH for output but kept the links to qpid dlls. It compiled to D:\src\... because the QPID_Build_PATH is blank, even when I start the solution using the the powershell scripts. However, the compiled DLL caused a fatal error with I try to run the examples is CS/C# Just a side note. When compiling qpid-cpp-0.30 solution, the messaging and amqp projects build fails. The reasons are these 3 lines found under linker-> Input. 1. Files/Proton/Debug/qpid-protond.lib.lib 2. Files/Proton/Debug/qpid-proton.lib.lib 3. program.lib Line #1 & #2 has extra .lib (I took out the extra .lib) Line #2. It is a release lib in debug directory which will not be found.(I removed it) Line #3. I cannot seem to find program.lib on my system. I was unable to any info regarding program.lib online. (I just removed it) It appears these values were put in there by CMake. How do I fix these in CMake? Do I look at the CMake Files? Thanks for all of your help. Have a Merry Christmas Fred > 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