Re: strage compile error [with attachments]

From: blubee blubeeme <gurenchan_at_gmail.com>
Date: Fri, 27 Oct 2017 20:28:24 +0800
The header file includes these headers:
//  SMESH SMESH : implementaion of SMESH idl descriptions
//  File   : SMESH_Algo.cxx
//  Author : Paul RASCLE, EDF
//  Module : SMESH

#include "SMESH_Algo.hxx"

#include "SMDS_EdgePosition.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_MeshElement.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMDS_VolumeTool.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMESHDS_SubMesh.hxx"
#include "SMESH_Comment.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_HypoFilter.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MeshAlgos.hxx"
#include "SMESH_TypeDefs.hxx"
#include "SMESH_subMesh.hxx"

#include <Basics_OCCTVersion.hxx>

#include <BRepAdaptor_Curve.hxx>
#include <BRepLProp.hxx>
#include <BRep_Tool.hxx>
#include <GCPnts_AbscissaPoint.hxx>
#include <GeomAdaptor_Curve.hxx>
#include <Geom_Surface.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopLoc_Location.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Vec.hxx>

#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>

#include "utilities.h"

#include <algorithm>
#include <limits>
#include "SMESH_ProxyMesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include <LDOMParser.hxx>
using namespace std;

I don't really see anything that would cause such errors..

On Fri, Oct 27, 2017 at 8:24 PM, blubee blubeeme <gurenchan_at_gmail.com>
wrote:

> error:
> FAILED: lib/libSMESH.so
> : && /usr/bin/c++  -fPIC -Wall -Wextra -Wno-write-strings -O2 -pipe
> -fstack-protector -isystem /usr/local/include -fno-strict-aliasing
>  -isystem /usr/local/include -std=c++11 -Wno-undefined-var-template
> -D_OCC64 -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable
> -Wno-unused-private-field -Wno-unused-function -Wno-sometimes-uninitialized
> -Wno-overloaded-virtual -Wno-dynamic-class-memaccess -Wno-comment
> -Wno-unused-parameter -Wno-self-assign -Wno-reorder -Wno-switch-enum
> -Wno-unknown-pragmas -Wno-logical-op-parentheses -Wno-unused-variable
> -Wno-unused-function -Wno-overloaded-virtual -O2 -pipe -fstack-protector
> -isystem /usr/local/include -fno-strict-aliasing  -isystem
> /usr/local/include  -Wl,--no-undefined -shared -Wl,-soname,libSMESH.so -o
> lib/libSMESH.so src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/libmesh.c.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/DriverGMF.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/DriverGMF_Read.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/DriverGMF_Write.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/DriverMED_Family.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/
> SMESH/DriverMED_R_SMESHDS_Mesh.cpp.o src/3rdParty/salomesmesh/
> CMakeFiles/SMESH.dir/src/SMESH/DriverMED_W_Field.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/
> SMESH/DriverMED_W_SMESHDS_Mesh.cpp.o src/3rdParty/salomesmesh/
> CMakeFiles/SMESH.dir/src/SMESH/GEOMUtils.cpp.o src/3rdParty/salomesmesh/
> CMakeFiles/SMESH.dir/src/SMESH/MED_Algorithm.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_CoordUtils.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_Factory.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_GaussDef.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_GaussUtils.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_Structures.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_Utilities.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_V2_2_Wrapper.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/MED_Wrapper.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Algo.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Block.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Exception.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Gen.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Group.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_HypoFilter.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Hypothesis.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_MeshAlgos.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_MeshEditor.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_MeshVSLink.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_MesherHelper.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Octree.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_OctreeNode.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Pattern.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_ProxyMesh.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_TryCatch.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_subMesh.cpp.o
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/
> SMESH/Utils_ExceptHandlers.cpp.o src/3rdParty/salomesmesh/
> CMakeFiles/SMESH.dir/src/Controls/SMESH_Controls.cpp.o
>  -Wl,-rpath,/usr/ports/cad/Freecad/work/.build/lib:/usr/
> local/lib:/usr/local/lib/vtk-6.2: lib/libDriverSTL.so lib/libDriverDAT.so
> lib/libDriverUNV.so /usr/local/lib/libmedC.so /usr/local/lib/libmed.so -lz
> /usr/local/lib/libexpat.so lib/libSMESHDS.so lib/libSMDS.so
> /usr/local/lib/vtk-6.2/libvtkFiltersVerdict-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkverdict-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkIOXML-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkIOGeometry-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkjsoncpp-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkIOXMLParser-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkIOLegacy-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkIOCore-6.2.so.1 /usr/local/lib/vtk-6.2/
> libvtkFiltersExtraction-6.2.so.1 /usr/local/lib/vtk-6.2/
> libvtkFiltersStatistics-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkImagingFourier-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkImagingCore-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkalglib-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkFiltersSources-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkFiltersGeneral-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkCommonComputationalGeometry-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkFiltersGeometry-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkFiltersCore-6.2.so.1 /usr/local/lib/vtk-6.2/
> libvtkCommonExecutionModel-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkCommonDataModel-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkCommonMisc-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkCommonSystem-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtksys-6.2.so.1 -lexecinfo
> /usr/local/lib/vtk-6.2/libvtkCommonTransforms-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkCommonMath-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkCommonCore-6.2.so.1
> /usr/local/lib/vtk-6.2/libvtkhdf5_hl-6.2.so.1 /usr/local/lib/vtk-6.2/libvtkhdf5-6.2.so.1
> -lm /usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_program_options.so
> /usr/local/lib/libboost_regex.so /usr/local/lib/libboost_signals.so
> /usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so
> lib/libDriver.so /usr/local/lib/libTKSTL.so.11.0.0
> /usr/local/lib/libTKBin.so.11.0.0 /usr/local/lib/libTKBinL.so.11.0.0
> /usr/local/lib/libTKFeat.so.11.0.0 /usr/local/lib/libTKXDESTEP.so.11.0.0
> /usr/local/lib/libTKSTEP.so.11.0.0 /usr/local/lib/libTKSTEP209.so.11.0.0
> /usr/local/lib/libTKSTEPAttr.so.11.0.0 /usr/local/lib/libTKSTEPBase.so.11.0.0
> /usr/local/lib/libTKXDEIGES.so.11.0.0 /usr/local/lib/libTKIGES.so.11.0.0
> /usr/local/lib/libTKOffset.so.11.0.0 /usr/local/lib/libTKFillet.so.11.0.0
> /usr/local/lib/libTKBool.so.11.0.0 /usr/local/lib/libTKXSBase.so.11.0.0
> /usr/local/lib/libTKXCAF.so.11.0.0 /usr/local/lib/libTKCAF.so.11.0.0
> /usr/local/lib/libTKBO.so.11.0.0 /usr/local/lib/libTKPrim.so.11.0.0
> /usr/local/lib/libTKLCAF.so.11.0.0 /usr/local/lib/libTKCDF.so.11.0.0
> /usr/local/lib/libTKMeshVS.so.11.0.0 /usr/local/lib/libTKV3d.so.11.0.0
> /usr/local/lib/libTKMesh.so.11.0.0 /usr/local/lib/libTKHLR.so.11.0.0
> /usr/local/lib/libTKService.so.11.0.0 /usr/local/lib/libTKShHealing.so.11.0.0
> /usr/local/lib/libTKTopAlgo.so.11.0.0 /usr/local/lib/libTKGeomAlgo.so.11.0.0
> /usr/local/lib/libTKBRep.so.11.0.0 /usr/local/lib/libTKGeomBase.so.11.0.0
> /usr/local/lib/libTKG3d.so.11.0.0 /usr/local/lib/libTKG2d.so.11.0.0
> /usr/local/lib/libTKMath.so.11.0.0 /usr/local/lib/libTKernel.so.11.0.0
> -pthread -lm /usr/local/lib/libSM.so /usr/local/lib/libICE.so
> /usr/local/lib/libX11.so /usr/local/lib/libXext.so /usr/local/lib/libGLU.so
> /usr/local/lib/libGL.so /usr/local/lib/libGLU.so /usr/local/lib/libGL.so
> /usr/local/lib/libfreetype.so -lz /usr/local/lib/libexpat.so && :
> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Algo.cpp.o:
> In function `SMESH_Algo::GetFeatures(std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > const&)':
> /usr/ports/cad/Freecad/work/FreeCAD-8d3fe21/src/3rdParty/
> salomesmesh/src/SMESH/SMESH_Algo.cpp:(.text+0xba7): undefined reference
> to `operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char>
> >&, TCollection_AsciiString const&)'
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> ninja: build stopped: subcommand failed.
> ------------------------------------------------------------
> ---------------------------------
>
> ===>  License LGPL20+ accepted by the user
> ===>   FreeCAD- depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by FreeCAD- for building
> ===>  Extracting for FreeCAD-
> => SHA256 Checksum OK for FreeCAD-FreeCAD--8d3fe21_GH0.tar.gz.
> ===>  Patching for FreeCAD-
> ===>  Applying FreeBSD patches for FreeCAD-
> ===>   FreeCAD- depends on executable: pyside-rcc - found
> ===>   FreeCAD- depends on executable: swig - found
> ===>   FreeCAD- depends on file: /usr/local/libdata/pkgconfig/eigen3.pc -
> found
> ===>   FreeCAD- depends on file: /usr/local/bin/cmake - found
> ===>   FreeCAD- depends on executable: ninja - found
> ===>   FreeCAD- depends on file: /usr/local/bin/python2.7 - found
> ===>   FreeCAD- depends on file: /usr/local/lib/qt4/bin/moc - found
> ===>   FreeCAD- depends on file: /usr/local/lib/qt4/bin/qmake - found
> ===>   FreeCAD- depends on file: /usr/local/lib/qt4/bin/rcc - found
> ===>   FreeCAD- depends on file: /usr/local/lib/qt4/bin/uic - found
> ===>   FreeCAD- depends on shared library: libboost_system.so - found
> (/usr/local/lib/libboost_system.so)
> ===>   FreeCAD- depends on shared library: libboost_python.so - found
> (/usr/local/lib/libboost_python.so)
> ===>   FreeCAD- depends on shared library: libCoin.so - found
> (/usr/local/lib/libCoin.so)
> ===>   FreeCAD- depends on shared library: libfreeimage.so - found
> (/usr/local/lib/libfreeimage.so)
> ===>   FreeCAD- depends on shared library: libfreetype.so - found
> (/usr/local/lib/libfreetype.so)
> ===>   FreeCAD- depends on shared library: libshiboken-python2.7.so -
> found (/usr/local/lib/libshiboken-python2.7.so)
> ===>   FreeCAD- depends on shared library: libxerces-c.so - found
> (/usr/local/lib/libxerces-c.so)
> ===>   FreeCAD- depends on shared library: libzipios.so - found
> (/usr/local/lib/libzipios.so)
> ===>   FreeCAD- depends on shared library: libgvc.so - found
> (/usr/local/lib/graphviz/libgvc.so)
> ===>   FreeCAD- depends on shared library: libQtCore.so - found
> (/usr/local/lib/qt4/libQtCore.so)
> ===>   FreeCAD- depends on shared library: libQtGui.so - found
> (/usr/local/lib/qt4/libQtGui.so)
> ===>   FreeCAD- depends on shared library: libQtNetwork.so - found
> (/usr/local/lib/qt4/libQtNetwork.so)
> ===>   FreeCAD- depends on shared library: libQtOpenGL.so - found
> (/usr/local/lib/qt4/libQtOpenGL.so)
> ===>   FreeCAD- depends on shared library: libQtSvg.so - found
> (/usr/local/lib/qt4/libQtSvg.so)
> ===>   FreeCAD- depends on shared library: libQtWebKit.so - found
> (/usr/local/lib/qt4/libQtWebKit.so)
> ===>   FreeCAD- depends on shared library: libQtXml.so - found
> (/usr/local/lib/qt4/libQtXml.so)
> ===>  Configuring for FreeCAD-
> ===>  Performing out-of-source build
> /bin/mkdir -p /usr/ports/cad/Freecad/work/.build
> -- The C compiler identification is Clang 4.0.0
> -- The CXX compiler identification is Clang 4.0.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /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: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Compiler: Clang, version: 4.0.0
> -- Looking for GL/gl.h
> -- Looking for GL/gl.h - found
> -- Looking for C++ include istream
> -- Looking for C++ include istream - found
> -- Looking for C++ include ostream
> -- Looking for C++ include ostream - found
> -- Looking for C++ include fstream
> -- Looking for C++ include fstream - found
> -- Looking for C++ include sstream
> -- Looking for C++ include sstream - found
> -- Looking for C++ include ios
> -- Looking for C++ include ios - found
> -- Looking for C++ include iostream
> -- Looking for C++ include iostream - found
> -- Looking for C++ include iomanip
> -- Looking for C++ include iomanip - found
> -- Looking for C++ include iostream
> -- Looking for C++ include iostream - found
> -- Check for STD namespace
> -- Check for STD namespace - found
> -- Force BOOST_PP_VARIADICS=1 for clang
> -- prefix: /usr/local
> -- datadir: data
> -- docdir: doc
> -- includedir: include
> -- libdir: /usr/local/lib
> -- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.13")
> -- Found PythonLibs: /usr/local/lib/libpython2.7.so (found suitable exact
> version "2.7.13")
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   CMakeLists.txt:583 (find_package)
>
>
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Found Threads: TRUE
> -- Boost version: 1.65.1
> -- Found the following Boost libraries:
> --   filesystem
> --   program_options
> --   regex
> --   signals
> --   system
> --   thread
> -- Found Xerces-C: /usr/local/lib/libxerces-c.so
> -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
> -- PyCXX found:
> --   Headers:  /usr/ports/cad/Freecad/work/FreeCAD-8d3fe21/src
> --   Sources:  /usr/ports/cad/Freecad/work/FreeCAD-8d3fe21/src/CXX
> -- -- OpenCASCADE Community Edition has been found.
> -- Found OCC: /usr/local/lib/oce-0.18-dev/../../include/oce (found
> version "6.9.1")
> -- -- Found OCE/OpenCASCADE version: 6.9.1
> -- -- OCE/OpenCASCADE include directory: /usr/local/lib/oce-0.18-dev/..
> /../include/oce
> -- -- OCE/OpenCASCADE shared libraries directory:
> -- VTK components: vtkCommonCore;vtkCommonDataModel;
> vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;
> vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5
> -- HDF5: Using hdf5 compiler wrapper to determine C configuration
> -- Found HDF5: /usr/local/lib/libhdf5.so;/usr/local/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libm.so
> (found version "1.10.0.1")
> -- Check for medfile (libmed and libmedc) ...
> -- Found MEDFile: /usr/local/include
> -- Found SWIG: /usr/local/bin/swig3.0 (found version "3.0.10")
> -- Found Eigen3: /usr/local/include/eigen3 (Required is at least version
> "2.91.0")
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found
> -- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.7",
> minimum required is "4.5.0")
> -- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.8.0")
> -- Found OpenGL: /usr/local/lib/libGL.so
> -- Found OpenGLU: /usr/local/lib/libGLU.so
> -- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.3.10")
> -- Checking for module 'Coin'
> --   Found Coin, version 3.1.3
> -- Could NOT find Spnav (missing:  SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
> -- libshiboken built for Release
> -- Found PySide Tools: /usr/local/bin/pyside-uic, /usr/local/bin/pyside-rcc
> -- -- matplotlib-1.5.3 has been found.
> -- Platform is 64-bit, set -D_OCC64
> -- Build type: Release
> fatal: Not a git repository (or any parent up to mount point /usr/ports)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> sh: bzr: not found
> svn: warning: W155010: The node '/usr/ports/cad/Freecad/work/FreeCAD-8d3fe21'
> was not found.
>
> svn: E200009: Could not display info for all targets because some targets
> don't exist
> Unknown version control
> /usr/ports/cad/Freecad/work/.build/src/Build/Version.h written
> -- /usr/ports/cad/Freecad/work/.build/src/Base/BaseClassPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/BoundBoxPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/CoordinateSystemPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/PersistencePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/VectorPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/MatrixPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/RotationPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/PlacementPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/AxisPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/UnitPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Base/QuantityPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/DocumentPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/DocumentObjectPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/ExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/ExtensionContainerPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/
> DocumentObjectExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/GroupExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/DocumentObjectGroupPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/GeoFeaturePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/
> GeoFeatureGroupExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/OriginGroupExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/PartPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/ComplexGeoDataPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/PropertyContainerPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/App/MaterialPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Points/App/PointsPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Mesh/App/FacetPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Mesh/App/MeshFeaturePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Mesh/App/MeshPointPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Mesh/App/MeshPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ArcPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ArcOfConicPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ArcOfCirclePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ArcOfParabolaPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/BodyBasePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ConicPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/CirclePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ArcOfEllipsePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/EllipsePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/HyperbolaPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> ArcOfHyperbolaPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ParabolaPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/OffsetCurvePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/GeometryPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/GeometryCurvePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> GeometrySurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/LinePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/LineSegmentPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/PointPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/BezierCurvePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/BSplineCurvePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/PlanePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ConePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/CylinderPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/SpherePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/ToroidPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/BezierSurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> BSplineSurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/OffsetSurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/PlateSurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> RectangularTrimmedSurfacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> SurfaceOfExtrusionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> SurfaceOfRevolutionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/PartFeaturePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> AttachExtensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Part2DObjectPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/AttachEnginePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/TopoShapePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> TopoShapeCompoundPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> TopoShapeCompSolidPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/TopoShapeEdgePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/TopoShapeFacePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> TopoShapeShellPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> TopoShapeSolidPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> TopoShapeVertexPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/TopoShapeWirePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/
> BRepOffsetAPI_MakePipeShellPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> ArcOfCircle2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> ArcOfConic2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> ArcOfEllipse2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> ArcOfHyperbola2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> ArcOfParabola2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> BezierCurve2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> BSplineCurve2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Circle2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Conic2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Ellipse2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Geometry2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Hyperbola2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Curve2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Line2dSegmentPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> OffsetCurve2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Part/App/Geom2d/
> Parabola2dPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/PartDesign/App/BodyPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/PartDesign/App/FeaturePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/PartDesign/Gui/
> ViewProviderPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Sketcher/App/
> SketchObjectSFPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Sketcher/App/
> SketchObjectPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Sketcher/App/
> ConstraintPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Sketcher/App/SketchPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Robot/App/Robot6AxisPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Robot/App/TrajectoryPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Robot/App/WaypointPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Robot/App/RobotObjectPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Import/App/StepShapePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Fem/App/FemMeshPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Fem/App/
> FemPostPipelinePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Fem/Gui/
> ViewProviderFemMeshPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Spreadsheet/App/SheetPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Spreadsheet/App/
> PropertySheetPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Spreadsheet/App/
> PropertyColumnWidthsPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Spreadsheet/App/
> PropertyRowHeightsPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/CommandPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/PathPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/ToolPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/TooltablePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/
> FeaturePathCompoundPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/AreaPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Path/App/FeatureAreaPy.cpp
> CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:744
> (message):
>   Imported targets not available for Boost version 106501
> Call Stack (most recent call first):
>   /usr/local/share/cmake/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_
> DEPENDENCIES)
>   /usr/local/share/cmake/Modules/FindBoost.cmake:1435
> (_Boost_MISSING_DEPENDENCIES)
>   src/Mod/Path/libarea/CMakeLists.txt:25 (find_package)
>
>
> -- Boost version: 1.65.1
> -- Found the following Boost libraries:
> --   python
> -- found Boost: 1_65_1
> -- boost-incude dirs are: /usr/local/include
> -- boost-python lib is: /usr/local/lib/libboost_python.so
> -- boost_LIBRARY_DIRS is: /usr/local/lib
> -- Boost_LIBRARIES is: /usr/local/lib/libboost_python.so
> -- area module (for Path Workbench) will be installed to: /usr/local/lib
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/Measure/App/
> MeasurementPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/DrawPagePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/DrawViewPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawViewPartPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawViewSymbolPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawTemplatePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawParametricTemplatePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawSVGTemplatePy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawViewClipPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawViewDimensionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/DrawHatchPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawGeomHatchPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawViewCollectionPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawProjGroupPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Mod/TechDraw/App/
> DrawProjGroupItemPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/DocumentPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/PythonWorkbenchPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/ViewProviderPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/
> ViewProviderDocumentObjectPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/WorkbenchPy.cpp
> -- /usr/ports/cad/Freecad/work/.build/src/Gui/SelectionObjectPy.cpp
> -- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.12")
> -- Coin3D doc is not installed
> -- Configuring done
> -- Generating done
> CMake Warning (dev):
>   Policy CMP0058 is not set: Ninja requires custom command byproducts to be
>   explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
>   cmake_policy command to set the policy and suppress this warning.
>
>   This project specifies custom command DEPENDS on files in the build tree
>   that are not specified as the OUTPUT or BYPRODUCTS of any
>   add_custom_command or add_custom_target:
>
>    src/Mod/Arch/Arch_rc.py
>    src/Mod/Draft/Draft_rc.py
>    src/Mod/Import/Import_rc.py
>    src/Mod/Material/Material_rc.py
>    src/Mod/OpenSCAD/OpenSCAD_rc.py
>    src/Mod/Plot/Plot_rc.py
>    src/Mod/Ship/Ship_rc.py
>    src/Mod/Tux/Tux_rc.py
>
>   For compatibility with versions of CMake that did not have the BYPRODUCTS
>   option, CMake is generating phony rules for such files to convince
> 'ninja'
>   to build.
>
>   Project authors should add the missing BYPRODUCTS or OUTPUT options to
> the
>   custom commands that produce these files.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Build files have been written to: /usr/ports/cad/Freecad/work/.build
> ======================================================
>
> My cmakecache file everything seems ok: https://pastebin.com/Pcwywx3j
>
> CMAKE_ARGS= -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
> -DBUILD_QT5_WEBKIT:BOOL=OFF \
> -DCMAKE_CXX_COMPILER=${LOCALBASE}/bin/mpicxx \
>
> BUILD_DEPENDS= pyside-rcc:devel/pyside-tools  \
> swig:devel/swig13 \
> ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 \
> ${LOCALBASE}/bin/mpicc:net/mpich2
>
> I've tried this but still no go, any ideas?
>
Received on Fri Oct 27 2017 - 10:28:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC