tpaviot / pythonocc-core

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

Compile fails on Macos 10.10.5 (Yosemite) #382

Closed nyholku closed 5 years ago

nyholku commented 7 years ago

I tried to compile the pythonocc as follows (see transcript) and it seems that CMake config works fine but the compilation fails.

My prerequisites are as follows:

nyholku$ brew info freetype
freetype: stable 2.7.1 (bottled)

nyholku$ brew info oce
homebrew/science/oce: stable 0.17.2 (bottled)

brew info cmake
cmake: stable 3.7.1 (bottled), HEAD

 brew info swig
swig: stable 3.0.11 (bottled)

My freetype seems to be a bit newer than specified, is that a problem?

Compilation transcript:

nyholku$ git clone git://github.com/tpaviot/pythonocc-core.git
Cloning into 'pythonocc-core'...
remote: Counting objects: 6329, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 6329 (delta 6), reused 0 (delta 0), pack-reused 6308
Receiving objects: 100% (6329/6329), 17.92 MiB | 1.14 MiB/s, done.
Resolving deltas: 100% (4961/4961), done.
Checking connectivity... done.
nyholkus-MacBook-Pro-5:~ nyholku$ cd pythonocc-core
nyholkus-MacBook-Pro-5:pythonocc-core nyholku$ mkdir cmake-build
nyholkus-MacBook-Pro-5:pythonocc-core nyholku$ cd cmake-build
cmake -DOCE_INCLUDE_PATH=/usr/local/Cellar/oce/0.17.2_1/include/oce -DOCE_LIB_PATH=/usr/local/Cellar/oce/0.17.2_1/lib ..
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--  
-- Found PythonInterp: /Users/nyholku/miniconda3/bin/python (found version "3.5.2") 
-- Found PythonLibs: /Users/nyholku/miniconda3/lib/libpython3.5m.dylib (found version "3.5.2") 
-- Build 64bit
-- Found SWIG: /usr/local/bin/swig (found version "3.0.10") 
-- Found Freetype: /usr/local/lib/libfreetype.dylib (found version "2.7.0") 
-- Platform:Darwin
-- output_path: Darwin/x86_64-MinSizeRel-64
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/nyholku/pythonocc-core/cmake-build
nyholkus-MacBook-Pro-5:cmake-build nyholku$ mak
-bash: mak: command not found
nyholkus-MacBook-Pro-5:cmake-build nyholku$ make
[  0%] Swig source
Scanning dependencies of target _XCAFPrs
[  0%] Building CXX object CMakeFiles/_XCAFPrs.dir/Darwin/x86_64-MinSizeRel-64/XCAFPrsPYTHON_wrap.cxx.o
[  0%] Linking CXX shared module Darwin/x86_64-MinSizeRel-64/_XCAFPrs.so
ld: warning: path '/usr/local/lib/libfreetype.dylib' following -L not a directory
[  0%] Built target _XCAFPrs
[  0%] Swig source
Scanning dependencies of target _XCAFDoc
[  0%] Building CXX object CMakeFiles/_XCAFDoc.dir/Darwin/x86_64-MinSizeRel-64/XCAFDocPYTHON_wrap.cxx.o
[  1%] Linking CXX shared module Darwin/x86_64-MinSizeRel-64/_XCAFDoc.so
ld: warning: path '/usr/local/lib/libfreetype.dylib' following -L not a directory
[  1%] Built target _XCAFDoc
[  1%] Swig source
Scanning dependencies of target _XCAFApp
[  1%] Building CXX object CMakeFiles/_XCAFApp.dir/Darwin/x86_64-MinSizeRel-64/XCAFAppPYTHON_wrap.cxx.o
[  1%] Linking CXX shared module Darwin/x86_64-MinSizeRel-64/_XCAFApp.so
ld: warning: path '/usr/local/lib/libfreetype.dylib' following -L not a directory
[  1%] Built target _XCAFApp
[  2%] Swig source
Scanning dependencies of target _TDF
[  2%] Building CXX object CMakeFiles/_TDF.dir/Darwin/x86_64-MinSizeRel-64/TDFPYTHON_wrap.cxx.o
[  2%] Linking CXX shared module Darwin/x86_64-MinSizeRel-64/_TDF.so
ld: warning: path '/usr/local/lib/libfreetype.dylib' following -L not a directory
[  2%] Built target _TDF
[  2%] Swig source
Scanning dependencies of target _TDataXtd
[  2%] Building CXX object CMakeFiles/_TDataXtd.dir/Darwin/x86_64-MinSizeRel-64/TDataXtdPYTHON_wrap.cxx.o
[  3%] Linking CXX shared module Darwin/x86_64-MinSizeRel-64/_TDataXtd.so
ld: warning: path '/usr/local/lib/libfreetype.dylib' following -L not a directory
Undefined symbols for architecture x86_64:
  "TDataXtd_Axis::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Axis_Set__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Axis::Set(TDF_Label const&, gp_Lin const&)", referenced from:
      _wrap_TDataXtd_Axis_Set__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Axis::GetID()", referenced from:
      _wrap_TDataXtd_Axis_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Axis::TDataXtd_Axis()", referenced from:
      _wrap_new_TDataXtd_Axis(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Plane::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Plane_Set__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Plane::Set(TDF_Label const&, gp_Pln const&)", referenced from:
      _wrap_TDataXtd_Plane_Set__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Plane::GetID()", referenced from:
      _wrap_TDataXtd_Plane_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Plane::TDataXtd_Plane()", referenced from:
      _wrap_new_TDataXtd_Plane(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Point::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Point_Set__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Point::Set(TDF_Label const&, gp_Pnt const&)", referenced from:
      _wrap_TDataXtd_Point_Set__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Point::GetID()", referenced from:
      _wrap_TDataXtd_Point_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Point::TDataXtd_Point()", referenced from:
      _wrap_new_TDataXtd_Point(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::Get(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Shape_Get(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::New(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Shape_New(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::Set(TDF_Label const&, TopoDS_Shape const&)", referenced from:
      _wrap_TDataXtd_Shape_Set(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::Find(TDF_Label const&, Handle_TDataXtd_Shape&)", referenced from:
      _wrap_TDataXtd_Shape_Find(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::GetID()", referenced from:
      _wrap_TDataXtd_Shape_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Shape::TDataXtd_Shape()", referenced from:
      _wrap_new_TDataXtd_Shape(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Pattern::GetID()", referenced from:
      _wrap_TDataXtd_Pattern_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Geometry_Set(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Axis(Handle_TNaming_NamedShape const&, gp_Ax1&)", referenced from:
      _wrap_TDataXtd_Geometry_Axis__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Axis(TDF_Label const&, gp_Ax1&)", referenced from:
      _wrap_TDataXtd_Geometry_Axis__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Line(Handle_TNaming_NamedShape const&, gp_Lin&)", referenced from:
      _wrap_TDataXtd_Geometry_Line__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Line(TDF_Label const&, gp_Lin&)", referenced from:
      _wrap_TDataXtd_Geometry_Line__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Type(Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Geometry_Type__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Type(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Geometry_Type__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::GetID()", referenced from:
      _wrap_TDataXtd_Geometry_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Plane(Handle_TNaming_NamedShape const&, gp_Pln&)", referenced from:
      _wrap_TDataXtd_Geometry_Plane__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Plane(TDF_Label const&, gp_Pln&)", referenced from:
      _wrap_TDataXtd_Geometry_Plane__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Point(Handle_TNaming_NamedShape const&, gp_Pnt&)", referenced from:
      _wrap_TDataXtd_Geometry_Point__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Point(TDF_Label const&, gp_Pnt&)", referenced from:
      _wrap_TDataXtd_Geometry_Point__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Circle(Handle_TNaming_NamedShape const&, gp_Circ&)", referenced from:
      _wrap_TDataXtd_Geometry_Circle__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Circle(TDF_Label const&, gp_Circ&)", referenced from:
      _wrap_TDataXtd_Geometry_Circle__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Ellipse(Handle_TNaming_NamedShape const&, gp_Elips&)", referenced from:
      _wrap_TDataXtd_Geometry_Ellipse__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Ellipse(TDF_Label const&, gp_Elips&)", referenced from:
      _wrap_TDataXtd_Geometry_Ellipse__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::SetType(TDataXtd_GeometryEnum)", referenced from:
      _wrap_TDataXtd_Geometry_SetType(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Cylinder(Handle_TNaming_NamedShape const&, gp_Cylinder&)", referenced from:
      _wrap_TDataXtd_Geometry_Cylinder__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::Cylinder(TDF_Label const&, gp_Cylinder&)", referenced from:
      _wrap_TDataXtd_Geometry_Cylinder__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::TDataXtd_Geometry()", referenced from:
      _wrap_new_TDataXtd_Geometry(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::SetPosition(gp_Pnt const&)", referenced from:
      _wrap_TDataXtd_Position_SetPosition(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::Get(TDF_Label const&, gp_Pnt&)", referenced from:
      _wrap_TDataXtd_Position_Get(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Position_Set__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::Set(TDF_Label const&, gp_Pnt const&)", referenced from:
      _wrap_TDataXtd_Position_Set__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::GetID()", referenced from:
      _wrap_TDataXtd_Position_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::TDataXtd_Position()", referenced from:
      _wrap_new_TDataXtd_Position(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Placement::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Placement_Set(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Placement::GetID()", referenced from:
      _wrap_TDataXtd_Placement_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Placement::TDataXtd_Placement()", referenced from:
      _wrap_new_TDataXtd_Placement(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::SetGeometry(int, Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_SetGeometry(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::ClearGeometries()", referenced from:
      _wrap_TDataXtd_Constraint_ClearGeometries(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::CollectChildConstraints(TDF_Label const&, TDF_LabelList&)", referenced from:
      _wrap_TDataXtd_Constraint_CollectChildConstraints(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Set(TDataXtd_ConstraintEnum, Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_Set__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Set(TDataXtd_ConstraintEnum, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_Set__SWIG_2(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Set(TDataXtd_ConstraintEnum, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_Set__SWIG_3(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Set(TDataXtd_ConstraintEnum, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&, Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_Set__SWIG_4(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_Constraint_Set__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::GetID()", referenced from:
      _wrap_TDataXtd_Constraint_GetID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::SetType(TDataXtd_ConstraintEnum)", referenced from:
      _wrap_TDataXtd_Constraint_SetType(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Inverted(bool)", referenced from:
      _wrap_TDataXtd_Constraint_Inverted__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Reversed(bool)", referenced from:
      _wrap_TDataXtd_Constraint_Reversed__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::SetPlane(Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_Constraint_SetPlane(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::SetValue(Handle_TDataStd_Real const&)", referenced from:
      _wrap_TDataXtd_Constraint_SetValue(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Verified(bool)", referenced from:
      _wrap_TDataXtd_Constraint_Verified__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::TDataXtd_Constraint()", referenced from:
      _wrap_new_TDataXtd_Constraint(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::GetPatternID()", referenced from:
      _wrap_TDataXtd_PatternStd_GetPatternID(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::NbInstances1(Handle_TDataStd_Integer const&)", referenced from:
      _wrap_TDataXtd_PatternStd_NbInstances1__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::NbInstances2(Handle_TDataStd_Integer const&)", referenced from:
      _wrap_TDataXtd_PatternStd_NbInstances2__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Axis1Reversed(bool)", referenced from:
      _wrap_TDataXtd_PatternStd_Axis1Reversed__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Axis2Reversed(bool)", referenced from:
      _wrap_TDataXtd_PatternStd_Axis2Reversed__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Set(TDF_Label const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Set(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Axis1(Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Axis1__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Axis2(Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Axis2__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Mirror(Handle_TNaming_NamedShape const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Mirror__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Value1(Handle_TDataStd_Real const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Value1__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Value2(Handle_TDataStd_Real const&)", referenced from:
      _wrap_TDataXtd_PatternStd_Value2__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::Signature(int)", referenced from:
      _wrap_TDataXtd_PatternStd_Signature__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_PatternStd::TDataXtd_PatternStd()", referenced from:
      _wrap_new_TDataXtd_PatternStd(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Axis::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Axis_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Plane::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Plane_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Point::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Point_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Shape::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Shape_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Array1OfTrsf::Init(gp_Trsf const&)", referenced from:
      _wrap_TDataXtd_Array1OfTrsf_Init(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
      _wrap_TDataXtd_HArray1OfTrsf_Init(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
      _wrap_new_TDataXtd_HArray1OfTrsf__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Array1OfTrsf::Assign(TDataXtd_Array1OfTrsf const&)", referenced from:
      _wrap_TDataXtd_Array1OfTrsf_Assign(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
      _wrap_TDataXtd_Array1OfTrsf_Set(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Pattern::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Pattern_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Geometry::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Geometry_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Position::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Position_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Placement::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Placement_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_Constraint::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_Constraint_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_PatternStd::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_PatternStd_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "Handle_TDataXtd_HArray1OfTrsf::DownCast(Handle_Standard_Transient const&)", referenced from:
      _wrap_Handle_TDataXtd_HArray1OfTrsf_DownCast(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd::Print(TDataXtd_GeometryEnum, std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from:
      _wrap_tdataxtd_Print__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd::IDList(TDF_IDList&)", referenced from:
      _wrap_tdataxtd_IDList(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Geometry::GetType() const", referenced from:
      _wrap_TDataXtd_Geometry_GetType(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Position::GetPosition() const", referenced from:
      _wrap_TDataXtd_Position_GetPosition(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::GetGeometry(int) const", referenced from:
      _wrap_TDataXtd_Constraint_GetGeometry(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::IsDimension() const", referenced from:
      _wrap_TDataXtd_Constraint_IsDimension(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::NbGeometries() const", referenced from:
      _wrap_TDataXtd_Constraint_NbGeometries(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::GetType() const", referenced from:
      _wrap_TDataXtd_Constraint_GetType(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::GetPlane() const", referenced from:
      _wrap_TDataXtd_Constraint_GetPlane(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::GetValue() const", referenced from:
      _wrap_TDataXtd_Constraint_GetValue(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Inverted() const", referenced from:
      _wrap_TDataXtd_Constraint_Inverted__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::IsPlanar() const", referenced from:
      _wrap_TDataXtd_Constraint_IsPlanar(_object*, _object*) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Reversed() const", referenced from:
      _wrap_TDataXtd_Constraint_Reversed__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "TDataXtd_Constraint::Verified() const", referenced from:
      _wrap_TDataXtd_Constraint_Verified__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  "vtable for TDataXtd_HArray1OfTrsf", referenced from:
      _wrap_new_TDataXtd_HArray1OfTrsf__SWIG_0(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
      _wrap_new_TDataXtd_HArray1OfTrsf__SWIG_1(_object*, int, _object**) in TDataXtdPYTHON_wrap.cxx.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Darwin/x86_64-MinSizeRel-64/_TDataXtd.so] Error 1
make[1]: *** [CMakeFiles/_TDataXtd.dir/all] Error 2
make: *** [all] Error 2
nyholkus-MacBook-Pro-5:cmake-build nyholku$ 
nyholku commented 7 years ago

Just to add that my goal is NOT to compile pythonocc per se but to be able to enjoy the latest fixes. At this point I would very much like to see fix for the issue #341 work for me.

So if the nightly builds full fill this and I can install them then this is not a priority as far as I'm concerned. But if this is a real issue with build don't let this stop you ;)

ArdooTala commented 6 years ago

Hi, I've got the same problem and I can't find a fix to it. Did you find a fix?

tpaviot commented 5 years ago

You need at least oce-0.18 or higher