From: Barry S. <ba...@ba...> - 2018-04-17 19:44:29
|
> On 17 Apr 2018, at 14:07, Richard Shaw <hob...@gm...> wrote: > > BUILDSTDERR: throw Py::Exception(Base::BaseExceptionFreeCADError,str.str()); You have two ways to proceed. 1) define PYCXX_6_2_COMPATIBILITY and use the old API 2) port to the V7 API - have a look at CXX/Python2/Exception.hxx and the PYCXX_USER_EXCEPTION_xxx macros. Oh and you might find the brief notes in the readme informative. http://cxx.sourceforge.net/README.html <http://cxx.sourceforge.net/> Barry |