[C++-sig] reuse C++ classes that have been wrapped with SWIG

2010-07-15 Thread Marco Selinger
Dear all, is it possible to reuse C++ classes in Boost.Python that have been wrapped with SWIG? There is a complete SWIG wrapper for the OpenCV (http://opencv.willowgarage.com) project. I am developing a small image processing application that uses some of the OpenCV classes. This application

Re: [C++-sig] reuse C++ classes that have been wrapped with SWIG

2010-07-15 Thread Ralf W. Grosse-Kunstleve
Yes, should be possible, although I haven't tried it in a long time, but here are some old files that may still work: http://cctbx.svn.sourceforge.net/viewvc/cctbx/trunk/boost_adaptbx/ swig_arg.hpp swig_args_ext.cpp tests/tst_swig_args.py SConscript In the SConscript look for "swig".

[C++-sig] Project architecture and Py++

2010-07-15 Thread Pentix
Hi, I’d like to use Python in the following way: 1) create a library (pyd) with some interfaces of the main program taken outside; generate then its code with py++ 2) create a set of scripts, that use this library 3) execute these scripts with boost::python from the main program Unwillingness t