GEOM was updated as well. If you don't need GEOM, pass --disable-GEOM to
setup.py. Otherwise, you have to rebuild GEOM located in the contrib folder.
cmake, make and make install.

Thomas

2011/9/30 István Csanády <istvancsan...@gmail.com>

> Hi,
>
> I am getting the following linker error when I try to bulid the current
> pythonocc with OCE 0.6.0
>
> Undefined symbols for architecture x86_64:
>   "GEOM_Object::UnsetMarker()", referenced from:
>       __wrap_GEOM_Object_UnsetMarker in SGEOM_wrap.o
>   "GEOM_Object::GetMarkerTexture()", referenced from:
>       __wrap_GEOM_Object_GetMarkerTexture in SGEOM_wrap.o
>   "GEOM_Object::GetMarkerSize()", referenced from:
>       __wrap_GEOM_Object_GetMarkerSize in SGEOM_wrap.o
>   "GEOM_Object::GetMarkerType()", referenced from:
>       __wrap_GEOM_Object_GetMarkerType in SGEOM_wrap.o
>   "GEOM_Object::SetMarkerTexture(int)", referenced from:
>       __wrap_GEOM_Object_SetMarkerTexture in SGEOM_wrap.o
>   "GEOM_Object::SetMarkerStd(Aspect_TypeOfMarker, double)", referenced
> from:
>       __wrap_GEOM_Object_SetMarkerStd in SGEOM_wrap.o
>   "GEOM_Function::GetNamingEntry(unsigned int)", referenced from:
>       __wrap_GEOM_Function_GetNamingEntry__SWIG_1 in SGEOM_wrap.o
>       __wrap_GEOM_Function_GetNamingEntry__SWIG_0 in SGEOM_wrap.o
>   "GEOM_Function::GetSubShapeReferences()", referenced from:
>       __wrap_GEOM_Function_GetSubShapeReferences in SGEOM_wrap.o
>   "GEOM_Function::HasSubShapeReferences()", referenced from:
>       __wrap_GEOM_Function_HasSubShapeReferences in SGEOM_wrap.o
>   "GEOM_Function::RemoveSubShapeReference(Handle_GEOM_Function)",
> referenced from:
>       __wrap_GEOM_Function_RemoveSubShapeReference in SGEOM_wrap.o
>   "GEOM_Function::AddSubShapeReference(Handle_GEOM_Function)", referenced
> from:
>       __wrap_GEOM_Function_AddSubShapeReference in SGEOM_wrap.o
>   "GEOM_Function::GetReferenceLabel(int)", referenced from:
>       __wrap_GEOM_Function_GetReferenceLabel in SGEOM_wrap.o
>   "GEOM_Function::SetReferenceLabel(int, TDF_Label const&)", referenced
> from:
>       __wrap_GEOM_Function_SetReferenceLabel in SGEOM_wrap.o
>   "GEOM_Engine::GetAllTextures(int)", referenced from:
>       __wrap_GEOM_Engine_GetAllTextures in SGEOM_wrap.o
>   "GEOM_Engine::GetTexture(int, int, int&, int&,
> TCollection_AsciiString&)", referenced from:
>       __wrap_GEOM_Engine_GetTexture in SGEOM_wrap.o
>   "GEOM_Engine::AddTexture(int, int, int, Handle_TColStd_HArray1OfByte
> const&, TCollection_AsciiString const&)", referenced from:
>        __wrap_GEOM_Engine_AddTexture__SWIG_1 in SGEOM_wrap.o
>       __wrap_GEOM_Engine_AddTexture__SWIG_0 in SGEOM_wrap.o
>   "GEOM_Engine::GetInterpreterEquationValue(int, TCollection_AsciiString
> const&)", referenced from:
>       __wrap_GEOM_Engine_GetInterpreterEquationValue in SGEOM_wrap.o
>   "GEOM_Engine::GetObject(int, char const*, bool)", referenced from:
>       __wrap_GEOM_Engine_GetObject__SWIG_1 in SGEOM_wrap.o
>       __wrap_GEOM_Engine_GetObject__SWIG_0 in SGEOM_wrap.o
>   "GEOM_Engine::GetDocument(int, bool)", referenced from:
>       __wrap_GEOM_Engine_GetDocument__SWIG_1 in SGEOM_wrap.o
>       __wrap_GEOM_Engine_GetDocument__SWIG_0 in SGEOM_wrap.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> error: command 'g++-4.2' failed with exit status 1
>
>
> István
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to