Hello,
I recently upgraded my Mac to Mavericks, and must have broken something,
because now I can't build pythonocc (I previously built 0.5
successfully). I built and installed the current version of oce from
github, installed both the geom and smesh modules from
pythonocc/src/contrib, and ran cmake in a build directory for pythonocc.
When I try to make, it dies on the first build target (output included
below).
Did I miss/break a dependency?
Thanks,
Cavendish
Cavendishs-MacBook-Pro:build cmckay$ make
[ 0%] Swig source
Scanning dependencies of target _AIS
[ 0%] Building CXX object
CMakeFiles/_AIS.dir/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx.o
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:4408:
/usr/local/include/oce/Graphic3d_CInitTexture.hxx:31:9: error: unknown
type name 'CALL_DEF_INIT_TEXTURE'
typedef CALL_DEF_INIT_TEXTURE Graphic3d_CInitTexture;
^
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:4411:
/usr/local/include/oce/Graphic3d_CPlane.hxx:30:9: error: unknown type
name 'CALL_DEF_PLANE'
typedef CALL_DEF_PLANE Graphic3d_CPlane;
^
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:5073:
/usr/local/include/oce/Handle_AIS_AngleDimension.hxx:25:1: error:
redefinition of 'Handle_AIS_AngleDimension'
DEFINE_STANDARD_HANDLE(AIS_AngleDimension,AIS_Relation)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:66:1: note: expanded from here
Handle_AIS_AngleDimension
^
/usr/local/include/oce/AIS_AngleDimension.hxx:37:1: note: previous
definition is here
DEFINE_STANDARD_HANDLE (AIS_AngleDimension, AIS_Dimension)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:56:1: note: expanded from here
Handle_AIS_AngleDimension
^
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:5088:
/usr/local/include/oce/Handle_AIS_DiameterDimension.hxx:25:1: error:
redefinition of 'Handle_AIS_DiameterDimension'
DEFINE_STANDARD_HANDLE(AIS_DiameterDimension,AIS_Relation)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:66:1: note: expanded from here
Handle_AIS_DiameterDimension
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:27:1: note: previous
definition is here
DEFINE_STANDARD_HANDLE (AIS_DiameterDimension, AIS_Dimension)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:95:1: note: expanded from here
Handle_AIS_DiameterDimension
^
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:5101:
/usr/local/include/oce/Handle_AIS_LengthDimension.hxx:25:1: error:
redefinition of 'Handle_AIS_LengthDimension'
DEFINE_STANDARD_HANDLE(AIS_LengthDimension,AIS_Relation)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:66:1: note: expanded from here
Handle_AIS_LengthDimension
^
/usr/local/include/oce/AIS_LengthDimension.hxx:57:1: note: previous
definition is here
DEFINE_STANDARD_HANDLE (AIS_LengthDimension, AIS_Dimension)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:110:1: note: expanded from here
Handle_AIS_LengthDimension
^
In file included from
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:5117:
/usr/local/include/oce/Handle_AIS_RadiusDimension.hxx:25:1: error:
redefinition of 'Handle_AIS_RadiusDimension'
DEFINE_STANDARD_HANDLE(AIS_RadiusDimension,AIS_Relation)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:66:1: note: expanded from here
Handle_AIS_RadiusDimension
^
/usr/local/include/oce/AIS_RadiusDimension.hxx:25:1: note: previous
definition is here
DEFINE_STANDARD_HANDLE (AIS_RadiusDimension,AIS_Dimension)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:81:39: note: expanded
from macro 'DEFINE_STANDARD_HANDLE'
#define DEFINE_STANDARD_HANDLE(C1,C2)
DEFINE_STANDARD_HANDLECLASS(C1,C2,Standard_Transient)
^
/usr/local/include/oce/Standard_DefineHandle.hxx:46:7: note: expanded
from macro 'DEFINE_STANDARD_HANDLECLASS'
class Handle(C1) : public Handle(C2) { \
^
/usr/local/include/oce/Standard_Macro.hxx:25:35: note: expanded from
macro 'Handle'
# define Handle(ClassName) Handle_##ClassName
^
<scratch space>:66:1: note: expanded from here
Handle_AIS_RadiusDimension
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:35872:62:
error: no member named 'HasLengthAspect' in 'AIS_Drawer'
result = (Standard_Boolean)((AIS_Drawer const
*)arg1)->HasLengthAspect();
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:35915:62:
error: no member named 'HasAngleAspect' in 'AIS_Drawer'
result = (Standard_Boolean)((AIS_Drawer const
*)arg1)->HasAngleAspect();
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:39529:15:
error: no member named 'SetDegenerateModel' in
'AIS_InteractiveObject'
(arg1)->SetDegenerateModel(arg2,arg3);
~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:39577:15:
error: no member named 'SetDegenerateModel' in
'AIS_InteractiveObject'
(arg1)->SetDegenerateModel(arg2);
~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:39617:15:
error: no member named 'SetDegenerateModel' in
'AIS_InteractiveObject'
(arg1)->SetDegenerateModel();
~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:39696:85:
error: no member named 'DegenerateModel' in
'AIS_InteractiveObject'
result = (Aspect_TypeOfDegenerateModel)((AIS_InteractiveObject
const *)arg1)->DegenerateModel(*arg2);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42158:45:
error: no matching constructor for initialization of
'AIS_DiameterDimension'
result = (AIS_DiameterDimension *)new
AIS_DiameterDimension(arg1,arg2,(TCollection_ExtendedString const &)*arg3);
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/oce/AIS_DiameterDimension.hxx:61:19: note: candidate
constructor not viable: requires single argument 'theCircle', but 3
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:68:19: note: candidate
constructor not viable: requires 2 arguments, but 3 were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:73:19: note: candidate
constructor not viable: requires single argument 'theShape', but 3
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:80:19: note: candidate
constructor not viable: requires 2 arguments, but 3 were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:55:7: note: candidate
constructor (the implicit copy constructor) not viable: requires 1
argument, but 3 were provided
class AIS_DiameterDimension : public AIS_Dimension
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42266:45:
error: no matching constructor for initialization of
'AIS_DiameterDimension'
result = (AIS_DiameterDimension *)new
AIS_DiameterDimension(arg1,arg2,(TCollection_ExtendedString const
&)*arg3,arg4,arg5,arg6,arg7);
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/oce/AIS_DiameterDimension.hxx:61:19: note: candidate
constructor not viable: requires single argument 'theCircle', but 7
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:68:19: note: candidate
constructor not viable: requires 2 arguments, but 7 were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:73:19: note: candidate
constructor not viable: requires single argument 'theShape', but 7
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:80:19: note: candidate
constructor not viable: requires 2 arguments, but 7 were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:55:7: note: candidate
constructor (the implicit copy constructor) not viable: requires 1
argument, but 7 were provided
class AIS_DiameterDimension : public AIS_Dimension
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42366:45:
error: no matching constructor for initialization of
'AIS_DiameterDimension'
result = (AIS_DiameterDimension *)new
AIS_DiameterDimension(arg1,arg2,(TCollection_ExtendedString const
&)*arg3,arg4,arg5,arg6);
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/oce/AIS_DiameterDimension.hxx:61:19: note: candidate
constructor not viable: requires single argument 'theCircle', but 6
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:68:19: note: candidate
constructor not viable: requires 2 arguments, but 6 were provided
Standard_EXPORT AIS_DiameterDimension (const gp_Circ& theCircle,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:73:19: note: candidate
constructor not viable: requires single argument 'theShape', but 6
arguments were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:80:19: note: candidate
constructor not viable: requires 2 arguments, but 6 were provided
Standard_EXPORT AIS_DiameterDimension (const TopoDS_Shape& theShape,
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:55:7: note: candidate
constructor (the implicit copy constructor) not viable: requires 1
argument, but 6 were provided
class AIS_DiameterDimension : public AIS_Dimension
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42435:42:
error: no member named 'DiamSymbol' in 'AIS_DiameterDimension'
result = (Standard_Boolean)(arg1)->DiamSymbol();
~~~~~~ ^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42484:15:
error: no member named 'SetDiamSymbol' in
'AIS_DiameterDimension'; did you mean 'SpecialSymbol'?
(arg1)->SetDiamSymbol(arg2);
^~~~~~~~~~~~~
SpecialSymbol
/usr/local/include/oce/AIS_Dimension.hxx:282:25: note: 'SpecialSymbol'
declared here
Standard_ExtCharacter SpecialSymbol() const
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42484:29:
error: too many arguments to function call, expected 0, have 1
(arg1)->SetDiamSymbol(arg2);
~~~~~~~~~~~~~~~~~~~~~ ^~~~
/usr/local/include/oce/AIS_Dimension.hxx:282:3: note: 'SpecialSymbol'
declared here
Standard_ExtCharacter SpecialSymbol() const
^
/Users/cmckay/Projects/pythonocc/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:42558:15:
error: 'Compute' is a protected member of
'AIS_DiameterDimension'
(arg1)->Compute((Handle_Prs3d_Projector const
&)*arg2,(Handle_Geom_Transformation const
&)*arg3,(Handle_Prs3d_Presentation const &)*arg4);
^
/usr/local/include/oce/AIS_DiameterDimension.hxx:148:32: note: declared
protected here
Standard_EXPORT virtual void Compute (const
Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: ***
[CMakeFiles/_AIS.dir/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx.o]
Error 1
make[1]: *** [CMakeFiles/_AIS.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users