[C++-sig] Full Cross-Module Support for Boost Python on Windows

2009-01-08 Thread Del Robins
Hi all,

 

I am new to Python and just recently started using boost python to
create some wrappers for some C++  static  libraries.  I have been able
to get most everything to work from the documentation and community
examples. Thank you for your efforts.

 

 The one issue that I am still hitting is full cross module support for
boost wrapped modules running on windows. I've looked through the past
discussions

http://mail.python.org/pipermail/cplusplus-sig/2005-August/009135.html

and have seen conclusions and solutions for platforms other than windows
but have not been able to find a message summarizing a solution on
windows. The  last discussion that I was able to find was from January
of last year

http://mail.python.org/pipermail/cplusplus-sig/2008-January/012874.html

http://mail.python.org/pipermail/cplusplus-sig/2008-January/012875.html

http://mail.python.org/pipermail/cplusplus-sig/2008-January/012876.html

 

Unfortunately, our build system is using an older version of the boost
libraries; 1.34. I am trying to convince our CM team to upgrade them to
the latest, but I am getting some push back because of a compatibility
issue with the latest regex boost library. Our standard for Python
(2.4.1.) is also a little out of date because of reluctance to move by
our QA folks.

 

Does anyone know the current state for the full cross-module support on
the windows platform? Has this been solved by anyone? Am I still having
problems because of older libraries?

 

Thanks,

 

Del Robins

 

 

 

___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Re: [C++-sig] Full Cross-Module Support for Boost Python on Windows

2009-01-08 Thread David Abrahams

on Thu Jan 08 2009, "Del Robins"  wrote:

> Hi all,
>
>  
>
> I am new to Python and just recently started using boost python to
> create some wrappers for some C++  static  libraries.  I have been able
> to get most everything to work from the documentation and community
> examples. Thank you for your efforts.
>
>  
>
>  The one issue that I am still hitting is full cross module support for
> boost wrapped modules running on windows. I've looked through the past
> discussions

What do you mean by "full cross module support?"  As far as I know, we
do have it, provided you use the DLL version of the Boost.Python
library.

> Does anyone know the current state for the full cross-module support on
> the windows platform? Has this been solved by anyone? Am I still having
> problems because of older libraries?

You haven't really said what the problem is yet.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Full Cross-Module Support for Boost Python on Windows

2009-01-08 Thread Del Robins
Sorry, the problem is being able to find classes/types wrapped and
exported
from module A that are used as a parameter/argument type to a function
in module B.
It all works fine when they are in the same module.

You may have hit the nail on the head though, I'm using the static
version
of the boost libs because of some other conflicts with the runtime dll
and
another one of our libraries. I will write a test to verify/clarify the
situation. 

Thanks, Del Robins


--Original thread below this
line
> Hi all,
>
>  
>
> I am new to Python and just recently started using boost python to
> create some wrappers for some C++  static  libraries.  I have been
able
> to get most everything to work from the documentation and community
> examples. Thank you for your efforts.
>
>  
>
>  The one issue that I am still hitting is full cross module support
for
> boost wrapped modules running on windows. I've looked through the past
> discussions


What do you mean by "full cross module support?"  As far as I know, we
do have it, provided you use the DLL version of the Boost.Python
library.


> Does anyone know the current state for the full cross-module support
on
> the windows platform? Has this been solved by anyone? Am I still
having
> problems because of older libraries?

You haven't really said what the problem is yet.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Full Cross-Module Support for Boost Python on Windows

2009-01-08 Thread David Abrahams

on Thu Jan 08 2009, "Del Robins"  wrote:

> Sorry, the problem is being able to find classes/types wrapped and
> exported from module A that are used as a parameter/argument type to a
> function in module B.  It all works fine when they are in the same
> module.
>
> You may have hit the nail on the head though, I'm using the static
> version of the boost libs because of some other conflicts with the
> runtime dll and another one of our libraries. I will write a test to
> verify/clarify the situation.

http://www.boost.org/doc/libs/1_37_0/libs/python/doc/building.html#choosing-a-boost-python-library-binary

HTH,
-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig