kicad-developers team mailing list archive
Mailing list archive
Re: Python scripting build broken on windows.
On 12/11/2018 1:14 PM, Seth Hillbrand wrote:
> Am 2018-12-11 12:05, schrieb Seth Hillbrand:
>> Am 2018-12-11 11:46, schrieb Wayne Stambaugh:
>>> One of the last couple of patches this morning broke the python
>>> scripting build on windows. I'm getting the following error (and yes I
>>> deleted pcbnew_wrap in an attempt to fix the issue):
>> Same on linux. I had to back out
> Hi Orson-
> I temporarily reverted the commit to get the compiles working again.
FYI, swig does not support unique_ptr or weak_ptr yet. If you change
any code in pcbnew that gets swigged using these pointer templates, the
python scripting will fail to build. If you want to use unique_ptr, you
will have to create a swig wrapper for it. SWIG does support
shared_ptr so that may be an option.