- This topic has 3 replies, 3 voices, and was last updated 9 years, 10 months ago by Anonymous.
January 18, 2014 at 4:13 pm #1802Anonymous
Hi, I am building PyRosetta with DeployPyRosetta.py and almost everything goes through, but near the end I get a very complicated-looking error:
/project/Biogroup/Software/Rosetta/rosetta_2013wk51/tools/PyRosetta.develop/deploy/include/boost/python/converter/registered.hpp:86: error: no matching function for call to ‘register_shared_ptr1(bool (*)(const core::conformation::Residue&, const core::conformation::Residue&, const core::pose::Pose&))’
Full error report attached.
Do you have any idea what could be the culprit?
CentOS release 6.3 (Final)
Python 2.7.1 |EPD 7.0-2 (64-bit)|
gcc version 4.4.6
boost_1_47_0, cmake-188.8.131.52 and gccxml are downloaded by DeployPyRosetta.py
January 25, 2014 at 11:11 pm #9712Anonymous
Forwarded to Sergey, he should be able to help.
January 26, 2014 at 1:30 am #9713Anonymous
I have fixed this error just a few days ago. So you can ether just get a new release (must be version after this friday Jan 24 2014) or you can apply following path to your source code:
diff --git a/source/src/python/bindings/tools/CppParser.py b/source/src/python/bindings/tools/CppParser.py
index 8d9bab8..07a205c 100644
@@ -728,6 +730,10 @@ class CppClass:
if self.incomplete: return False
for b in self.bases:
if b.type_.T() == '::boost::noncopyable_::noncopyable': return False
+ # Some exceptions...
+ if self.context+self.name == '::protocols::neighbor::Neighborhood': return False # temporary disabling wrapping of protocols::neighbor::Neighborhood because we could not compile it on Linux GCC-4.1 due to function pointer in constructor
January 26, 2014 at 9:29 pm #9717Anonymous
It compiles now, thanks a lot!
- You must be logged in to reply to this topic.