From: Richard S. <hob...@gm...> - 2018-04-17 20:19:26
|
On Tue, Apr 17, 2018 at 2:44 PM, Barry Scott <ba...@ba...> wrote: > 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/> > I'll take a look, but I'm not a C/C++ programmer, I just package FreeCAD for Fedora Linux. I'll pass this along to upstream and see how they would like to proceed. Thanks, Richard |