Member Site › Forums › PyRosetta › PyRosetta – Build/Install › Boost error when compiling __neighbor_all_at_once_.0.cpp
- This topic has 3 replies, 3 voices, and was last updated 10 years, 7 months ago by
Anonymous.
-
AuthorPosts
-
-
January 18, 2014 at 4:13 pm #1802
Anonymous
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?
Thanks, VaclavMy setup:
CentOS release 6.3 (Final)
Python 2.7.1 |EPD 7.0-2 (64-bit)|
gcc version 4.4.6
rosetta_2013wk51 (r56169)
boost_1_47_0, cmake-2.8.10.2 and gccxml are downloaded by DeployPyRosetta.py -
January 25, 2014 at 11:11 pm #9712
Anonymous
Forwarded to Sergey, he should be able to help.
-
January 26, 2014 at 1:30 am #9713
Anonymous
Hi Vasek,
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
--- a/source/src/python/bindings/tools/CppParser.py
+++ b/source/src/python/bindings/tools/CppParser.py
@@ -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
+
return True
def isPublicMembersWrappable(self):
Best,
-
January 26, 2014 at 9:29 pm #9717
Anonymous
It compiles now, thanks a lot!
-
-
AuthorPosts
- You must be logged in to reply to this topic.