tpaviot / pythonocc-core

Python package for 3D geometry CAD/BIM/CAM
GNU Lesser General Public License v3.0
1.31k stars 373 forks source link

GeomLibPYTHON_wrap: Too many arguments to function call #1105

Open ageeye opened 2 years ago

ageeye commented 2 years ago

If I try to build with python 3.10.2 I get this error:

`/tmp/pythonocc-core-20220430-45588-w69c6f/Build/Darwin/arm64-Release-/GeomLibPYTHON_wrap.cxx:7060:129: error: too many arguments to function call, expected at most 4, have 5 GeomLib::FuseIntervals((NCollection_Array1< double > const &)arg1,(NCollection_Array1< double > const &)arg2,*arg3,arg4,arg5);


/opt/homebrew/opt/opencascade@7.5.2/include/opencascade/GeomLib.hxx:173:31: note: 'FuseIntervals' declared here
  Standard_EXPORT static void FuseIntervals (const TColStd_Array1OfReal& Interval1, const TColStd_Array1OfReal& Interval2, TColStd_SequenceOfReal& Fusion, const Standard_Real Confusion = 1.0e-9);`

Does anyone have an idea? Thanks for support.
cafhach commented 2 years ago

What occt version do you build it against?

ageeye commented 2 years ago

Sorry, I thought you would seen it in the error message. It is opencascade@7.5.2 .

cafhach commented 2 years ago

Can you build it with e.g. Python 3.9?

ageeye commented 2 years ago

Sorry, that is not my aim.