When I try to build smesh it wants to link to the MPFR library and cmake
stops (I don't understand: MPFR is GPL and pythonocc is LGPL doesn't make
this pythonocc GPL too? ), and when I build geom I get this:

Linking CXX shared library cmake-build/libExchange3DS.dylib
Undefined symbols for architecture x86_64:
  "TopoDS_Compound::TopoDS_Compound()", referenced from:
      _Import in Exchange3DS_Import.cpp.o
  "BRep_Builder::BRep_Builder()", referenced from:
      _Import in Exchange3DS_Import.cpp.o
  "TopoDS_Builder::MakeCompound(TopoDS_Compound&) const", referenced from:
      _Import in Exchange3DS_Import.cpp.o
  "TopoDS_Vertex::TopoDS_Vertex()", referenced from:
      _Import in Exchange3DS_Import.cpp.o
  "TopoDS_Face::TopoDS_Face()", referenced from:
      _Import in Exchange3DS_Import.cpp.o
  "TopoDS_Wire::TopoDS_Wire()", referenced from:
      _Import in Exchange3DS_Import.cpp.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [cmake-build/libExchange3DS.dylib] Error 1
make[1]: *** [CMakeFiles/Exchange3DS.dir/all] Error 2
make: *** [all] Error 2

And in the root cmake files I think there are some problems too, eg. SWIG
folder is renamed to SWIG_files.

On Fri, Sep 30, 2011 at 11:47 PM, Thomas Paviot <tpav...@gmail.com> wrote:

> 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
>
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to