Hi there
  I have a little problem with two Python extensions (C++ with
boost::python) where share code. An example of what I am trying to do is
attached to this mail so I will refer to the code in the tarball to
explain the problem. 

I have to Python extensions ('a' and 'b') each of them exporting two
functions. What I want is to use a function exported by 'a' in the code
of 'b'. Though the package compiles I get an unresolved symbol error
when trying to load 'b'. 

The reason is quite clear. 'b' cannot resolve the symbol as it is
provided by 'a' to which it is not linked. Is it somehow possible with
distutils to link the two extensions to that 'b' can see the symbols
provided by 'a'?

best regards
  Eugen Wintersberger 

Attachment: boost_python_extensions.tar.gz
Description: application/compressed-tar

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to