pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

GeomLibPYTHON_wrap: Too many arguments to function call

Open ageeye opened this issue 2 years ago • 4 comments

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/[email protected]/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.

ageeye avatar Apr 30 '22 07:04 ageeye

What occt version do you build it against?

cafhach avatar May 02 '22 18:05 cafhach

Sorry, I thought you would seen it in the error message. It is [email protected] .

ageeye avatar May 02 '22 19:05 ageeye

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

cafhach avatar May 03 '22 09:05 cafhach

Sorry, that is not my aim.

ageeye avatar May 06 '22 14:05 ageeye