On 2020-06-02 16:38, Garry T. Williams wrote:
On Tuesday, June 2, 2020 9:33:20 AM EDT Petr Viktorin wrote:
> On 2020-06-01 19:20, Richard Shaw wrote:
>> I'm trying to rebuild FreeCAD but I've run into the following and I
>> don't know how to fix it.
>
> The "Py::Int" is not Python API; it probably comes from C++. Do you know
> where it's defined? I haven't been able to find the definition, and
> searching for "Py::Int" it on the internet gives me general results for
> "py" and "int".
Search using quotation marks:
https://docs.scipy.org/doc/scipy-0.16.1/reference/tutorial/weave.html
Ah, thanks!
It seems that weave was deprecated in 2015 and removed from scipy in
2017. It was never ported to Python 3. The Freecad wiki says "You should
compile against Python 3 and Qt5," so I assume weave should not be used.
How is the weave code getting in? I see the file "DocumentPy.h" doesn't
appear directly in upstream sources. Do you know how it is generated?