From: Matt C. <mat...@va...> - 2010-07-22 13:48:57
|
There are unresolved issues with building pwiz with MSVC 10. Our official Windows compiler is MSVC 9 (express or not). The TPP uses a pwiz (non-vendor-enabled) subset and their official native Windows compiler is MSVC 8, but I don't know how MSVC 8 will behave with the full codebase. If you run clean.bat and then build the mstools and examples (e.g. msconvert, mscat, etc.), do they still build and give the error you showed? That looks like a manifest issue. I may have never gotten that far with MSVC 10 because I got stuck trying to solve strange unit test crashes due to a bug in its stdc++ runtime: https://connect.microsoft.com/VisualStudio/feedback/details/567705/crash-in-vc100-crt-on-application-exit-debugheapdelete?wa=wsignin1.0#details In short, for the time being, if you can get your hands on MSVC 9 you'll be in much better shape for building and extending pwiz. Even now that we're starting to release the libraries in binary form, they will be dependent on MSVC 9 until the MSVC 10 issues get resolved. Sorry for the hassle! -Matt Jamie Sherman wrote: > I don't view it as a longterm solution but I was just trying to get it > to go. > If I could download the precompiled pwiz libraries and build against > those > I'd be happy but since I couldn't figure out how to tell bjam to build > that way > I tried the "simpler" approach of just adding it to the proteowizard > source tree. > > I do have ProteinPliot installed for wiff support. > > rather than running it from the command line I just tried launching > mscat.exe > from the file browser by clicking on it. It gives the following error > > <error> > > C:\cygwin\home\jsherman\pwiz\build-nt-x86\pwiz_tools\examples\msvc-10.0\release\link-static\threading-multi\mscat.exe > > This application has failed to start because the application > configuration is incorrect. Reinstalling the application may fix > this problem. > > </error> > > I'm getting the feeling something went very wrong with the build but I > did follow the windows instructions on the proteowizard page telling > how to build for windows. > > Any ideas as to what I might be doing wrong? > > > > On Jul 21, 2010, at 7:40 PM, Matt Chambers wrote: > >> Do you have Protein Pilot installed for WIFF support? I don't really >> understand how you could be getting a permission denied error unless it >> gets that while trying to copy the WiffFileDataReader DLLs or the >> executable is under an exclusive write lock for some reason. >> >> The way you added your code to the examples folder is a decent way to >> get started using the API, but is that what you plan to do for the long >> term? >> >> -Matt |