hi,
One of the functions defined in domino::TransformationMappedDiscreteSet is: algebra::Transformation3D get_trans(Particle *p_target, long state_ind) const;
my domino.i includes Algebra.h, and still I get: modules/domino/pyext/domino_wrap.cc: In function 'PyObject* _wrap_TransformationMappedDiscreteSet_get_trans(PyObject*, PyObject*)': modules/domino/pyext/domino_wrap.cc:11592: error: 'algebra' has not been declared modules/domino/pyext/domino_wrap.cc:11592: error: expected `;' before 'result' modules/domino/pyext/domino_wrap.cc:11612: error: 'result' was not declared in this scope modules/domino/pyext/domino_wrap.cc:11621: error: expected type- specifier before 'algebra' modules/domino/pyext/domino_wrap.cc:11621: error: expected `)' before 'algebra' modules/domino/pyext/domino_wrap.cc:11621: error: expected `)' before ';' token
(which corresponds to the return value of get_trans)
should I add something else to domino.i to make it work?
thanks, Keren.
Keren Lasker wrote: > my domino.i includes Algebra.h, and still I get: ... > should I add something else to domino.i to make it work?
You probably want to %import algebra.i rather than %include algebra.h. See core.i for an example.
Ben
thanks - problem solved ! On Jan 27, 2009, at 7:21 PM, Ben Webb wrote:
> Keren Lasker wrote: >> my domino.i includes Algebra.h, and still I get: > ... >> should I add something else to domino.i to make it work? > > You probably want to %import algebra.i rather than %include algebra.h. > See core.i for an example. > > Ben > -- > ben@salilab.org http://salilab.org/~ben/ > "It is a capital mistake to theorize before one has data." > - Sir Arthur Conan Doyle > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
participants (2)
-
Ben Webb
-
Keren Lasker