Member Site › Forums › Rosetta++ › Rosetta++ – General › build error by MS Visual studio 2008 › Reply To: build error by MS Visual studio 2008
!Is there anybody tell me how to build rosetta on windows x86? I tried several compilers, none work !
when I build rosetta++-2.3 version by VS2005sp1(VC++8.0+sp1), it threw warnings when compiling “homolog_distances.cc”:
homolog_distances.cc
C:Program FilesMicrosoft Visual Studio 8VCincludevector(47) : warning C4503: ‘std::_Tree::_Myval’ : decorated name length exceeded, name was truncated
with
[
_Traits=std::_Tmap_traits,std::map>>,std::less>,std::allocator,std::map>>>>,false>
]
Anyway, it is warning, and finally can produce the binary. But the binary does not work correctly, it exited abnormally just after some “shear moves”, there are logs:
Instantiating PDInteractionGraph
pose_refine_loops_with_ccd — accepted/trial/ratio:
17/59/0.288136 for small moves
12/59/0.20339 for shear moves
—- program dead
After I read the debug msg, it seems to point to something like “~Studio 8VCincludevector … “, and I guess those warnings attribute to this failure.
I think it is this line in “homolog_distances.cc” trigering the warnings.
line 623: map< pair< int, int >, map< string, map< string, vector< float > > > > params;