My yade cannot Compilation

Asked by huyang on 2019-03-02

Hello all,
While installing yade, My yade cannot Compilation,at 'make' at 76%, the terminal,look like as follow
Hope my problem can be solved, thanks a lot!
hty@hty-System-Product-Name:~/YADE/build$ make
Scanning dependencies of target boot_automoc
[ 1%] Automatic moc for target boot
[ 1%] Built target boot_automoc
Scanning dependencies of target yade_automoc
[ 2%] Automatic moc for target yade
[ 2%] Built target yade_automoc
Scanning dependencies of target _GLViewer_automoc
[ 2%] Automatic moc for target _GLViewer
Generating moc_GLViewer.cpp
Generating moc_OpenGLManager.cpp
[ 2%] Built target _GLViewer_automoc
Scanning dependencies of target _GLViewer
[ 3%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/GLViewer.cpp.o
[ 3%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/_GLViewer.cpp.o
[ 4%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/OpenGLManager.cpp.o
[ 4%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/GLViewerDisplay.cpp.o
[ 5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt5/GLViewerMouse.cpp.o
[ 5%] Building CXX object gui/CMakeFiles/_GLViewer.dir/_GLViewer_automoc.cpp.o
[ 6%] Linking CXX shared library lib/x86_64-linux-gnu/_GLViewer.so
[ 6%] Built target _GLViewer
Scanning dependencies of target yade
[ 6%] Building CXX object CMakeFiles/yade.dir/core/ThreadRunner.cpp.o
[ 7%] Building CXX object CMakeFiles/yade.dir/core/ForceContainerParallel.cpp.o
[ 7%] Building CXX object CMakeFiles/yade.dir/core/Omega.cpp.o
[ 8%] Building CXX object CMakeFiles/yade.dir/core/FileGenerator.cpp.o
[ 8%] Building CXX object CMakeFiles/yade.dir/core/State.cpp.o
[ 9%] Building CXX object CMakeFiles/yade.dir/core/corePlugins.cpp.o
[ 9%] Building CXX object CMakeFiles/yade.dir/core/Cell.cpp.o
[ 10%] Building CXX object CMakeFiles/yade.dir/core/Scene.cpp.o
[ 10%] Building CXX object CMakeFiles/yade.dir/core/Clump.cpp.o
[ 11%] Building CXX object CMakeFiles/yade.dir/core/ThreadWorker.cpp.o
[ 11%] Building CXX object CMakeFiles/yade.dir/core/InteractionContainer.cpp.o
[ 12%] Building CXX object CMakeFiles/yade.dir/core/Body.cpp.o
[ 12%] Building CXX object CMakeFiles/yade.dir/core/SimulationFlow.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/core/ForceContainerSerial.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/core/BodyContainer.cpp.o
[ 14%] Building CXX object CMakeFiles/yade.dir/core/Interaction.cpp.o
[ 14%] Building CXX object CMakeFiles/yade.dir/core/Material.cpp.o
[ 15%] Building CXX object CMakeFiles/yade.dir/pkg/lbm/HydrodynamicsLawLBM.cpp.o
[ 15%] Building CXX object CMakeFiles/yade.dir/pkg/lbm/LBMnode.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/pkg/common/Grid.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/pkg/common/ForceEngine.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/pkg/common/common.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/pkg/common/ParallelEngine.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_PotentialBlock.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/pkg/common/ResetRandomPosition.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/pkg/common/Bo1_Aabb.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/pkg/common/OpenGLRenderer.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/pkg/common/MatchMaker.cpp.o
[ 20%] Building CXX object CMakeFiles/yade.dir/pkg/common/SPHEngine.cpp.o
[ 20%] Building CXX object CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o
[ 21%] Building CXX object CMakeFiles/yade.dir/pkg/common/Wall.cpp.o
[ 21%] Building CXX object CMakeFiles/yade.dir/pkg/common/InsertionSortCollider.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_PotentialParticle.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/common/Facet.cpp.o
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/common/HydroForceEngine.cpp.o
/home/hty/YADE/trunk/pkg/common/HydroForceEngine.cpp: In member function ‘void HydroForceEngine::averageProfilePP()’:
/home/hty/YADE/trunk/pkg/common/HydroForceEngine.cpp:260:27: warning: ‘volPart’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    phiAverage[n]*=(volPart/vCell);
                           ^
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/common/KinematicEngines.cpp.o
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_NormPhys.cpp.o
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_PFacet.cpp.o
[ 25%] Building CXX object CMakeFiles/yade.dir/pkg/common/ZECollider.cpp.o
[ 25%] Building CXX object CMakeFiles/yade.dir/pkg/common/PFacet.cpp.o
[ 26%] Building CXX object CMakeFiles/yade.dir/pkg/common/InteractionLoop.cpp.o
[ 26%] Building CXX object CMakeFiles/yade.dir/pkg/common/Gl1_Primitives.cpp.o
[ 27%] Building CXX object CMakeFiles/yade.dir/pkg/common/PersistentTriangulationCollider.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.hpp:15,
                 from /home/hty/YADE/trunk/pkg/common/PersistentTriangulationCollider.hpp:12,
                 from /home/hty/YADE/trunk/pkg/common/PersistentTriangulationCollider.cpp:9:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
[ 27%] Building CXX object CMakeFiles/yade.dir/pkg/common/GravityEngines.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:366:0,
                 from /home/hty/YADE/trunk/lib/base/Math.hpp:89,
                 from /home/hty/YADE/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/hty/YADE/trunk/core/Engine.hpp:13,
                 from /home/hty/YADE/trunk/core/GlobalEngine.hpp:11,
                 from /home/hty/YADE/trunk/pkg/common/FieldApplier.hpp:2,
                 from /home/hty/YADE/trunk/pkg/common/GravityEngines.hpp:4,
                 from /home/hty/YADE/trunk/pkg/common/GravityEngines.cpp:9:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h: In member function ‘Vector2i HdapsGravityEngine::readSysfsFile(const string&)’:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:720:7: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       m_storage.data()[1] = val1;
       ^
In file included from /home/hty/YADE/trunk/lib/base/Math.hpp:53:0,
                 from /home/hty/YADE/trunk/lib/serialization/Serializable.hpp:15,
                 from /home/hty/YADE/trunk/core/Engine.hpp:13,
                 from /home/hty/YADE/trunk/core/GlobalEngine.hpp:11,
                 from /home/hty/YADE/trunk/pkg/common/FieldApplier.hpp:2,
                 from /home/hty/YADE/trunk/pkg/common/GravityEngines.hpp:4,
                 from /home/hty/YADE/trunk/pkg/common/GravityEngines.cpp:9:
/usr/include/boost/lexical_cast.hpp:39:16: note: ‘result’ was declared here
         Target result;
                ^
[ 28%] Building CXX object CMakeFiles/yade.dir/pkg/common/Collider.cpp.o
[ 28%] Building CXX object CMakeFiles/yade.dir/pkg/common/SpatialQuickSortCollider.cpp.o
[ 29%] Building CXX object CMakeFiles/yade.dir/pkg/common/Dispatching.cpp.o
[ 29%] Building CXX object CMakeFiles/yade.dir/pkg/common/Grid_GUI.cpp.o
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TesselationWrapper.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.hpp:15,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.cpp:12:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from /home/hty/YADE/trunk/lib/pyutil/numpy_boost.hpp:40,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from /home/hty/YADE/trunk/lib/pyutil/numpy_boost.hpp:40,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.cpp:15:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1448:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
 _import_array(void)
 ^
[ 30%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ForceTorqueRecorder.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialParticle2AABB.cpp.o
[ 31%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KnKsLaw.cpp.o
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryStressRecorder.cpp.o
[ 32%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Disp2DPropLoadEngine.cpp.o
[ 33%] Building CXX object CMakeFiles/yade.dir/pkg/dem/BubbleMat.cpp.o
[ 33%] Building CXX object CMakeFiles/yade.dir/pkg/dem/DomainLimiter.cpp.o
[ 34%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KnKsPBLaw.cpp.o
[ 34%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity1.cpp.o
[ 35%] Building CXX object CMakeFiles/yade.dir/pkg/dem/UniaxialStrainer.cpp.o
[ 35%] Building CXX object CMakeFiles/yade.dir/pkg/dem/GlobalStiffnessTimeStepper.cpp.o
[ 35%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_PB_PB_ScGeom.cpp.o
[ 36%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ip2_ElastMat.cpp.o
[ 36%] Building CXX object CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o
[ 37%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SpherePack.cpp.o
[ 37%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_2xLin4NodeTetra_LinCohesiveStiffPropDampElastMat.cpp.o
[ 38%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/CohesiveMat.cpp.o
[ 38%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_Node_Aabb.cpp.o
[ 39%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableElement.cpp.o
[ 39%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra_Lin4NodeTetra_InteractionElement.cpp.o
[ 40%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Node.cpp.o
[ 40%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceEngine.cpp.o
[ 41%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/FEInternalForceDispatchers.cpp.o
[ 41%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_DeformableElement.cpp.o
[ 42%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/DeformableCohesiveElement.cpp.o
[ 42%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Bo1_DeformableElement_Aabb.cpp.o
[ 43%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Lin4NodeTetra.cpp.o
[ 43%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/Gl1_Node.cpp.o
[ 44%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/If2_Lin4NodeTetra_LinIsoRayleighDampElast.cpp.o
[ 44%] Building CXX object CMakeFiles/yade.dir/pkg/dem/deformablecohesive/LinElastMat.cpp.o
[ 45%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Integrator.cpp.o
[ 45%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MicroMacroAnalyser.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/lib/triangulation/TriaxialState.h:14,
                 from /home/hty/YADE/trunk/lib/triangulation/KinematicLocalisationAnalyser.hpp:15,
                 from /home/hty/YADE/trunk/pkg/dem/MicroMacroAnalyser.cpp:16:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
[ 46%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ViscoelasticPM.cpp.o
[ 46%] Building CXX object CMakeFiles/yade.dir/pkg/dem/NewtonIntegrator.cpp.o
[ 47%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_Ig2.cpp.o
[ 47%] Building CXX object CMakeFiles/yade.dir/pkg/dem/LudingPM.cpp.o
[ 48%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ElasticContactLaw.cpp.o
[ 48%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KinemSimpleShearBox.cpp.o
[ 49%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SpheresFactory.cpp.o
[ 49%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Tetra.cpp.o
[ 50%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SimpleShear.cpp.o
[ 50%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MortarMat.cpp.o
[ 51%] Building CXX object CMakeFiles/yade.dir/pkg/dem/STLImporter.cpp.o
[ 51%] Building CXX object CMakeFiles/yade.dir/pkg/dem/GeneralIntegratorInsertionSortCollider.cpp.o
[ 51%] Building CXX object CMakeFiles/yade.dir/pkg/dem/HertzMindlin.cpp.o
[ 52%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PDFEngine.cpp.o
[ 52%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialBlock2AABB.cpp.o
[ 53%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Shop_02.cpp.o
[ 53%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra.cpp.o
[ 54%] Building CXX object CMakeFiles/yade.dir/pkg/dem/JointedCohesiveFrictionalPM.cpp.o
[ 54%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryPhys.cpp.o
[ 55%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FacetTopologyAnalyzer.cpp.o
[ 55%] Building CXX object CMakeFiles/yade.dir/pkg/dem/UnbalancedForceCallbacks.cpp.o
[ 56%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp.o
[ 56%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Box_Sphere_ScGeom.cpp.o
[ 57%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_support.cpp.o
[ 57%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Lubrication.cpp.o
[ 58%] Building CXX object CMakeFiles/yade.dir/pkg/dem/RockLiningGlobal.cpp.o
[ 58%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FrictViscoPM.cpp.o
[ 59%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialBlock.cpp.o
[ 59%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialParticle.cpp.o
[ 60%] Building CXX object CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o
In file included from /usr/include/vtk-6.2/vtkTriangle.h:26:0,
                 from /home/hty/YADE/trunk/pkg/dem/VTKRecorder.cpp:16:
/usr/include/vtk-6.2/vtkMath.h:672:3: warning: multi-line comment [-Wcomment]
   // a & b \\
   ^
/usr/include/vtk-6.2/vtkMath.h:676:3: warning: multi-line comment [-Wcomment]
   // 1 & 0 \\
   ^
/usr/include/vtk-6.2/vtkMath.h:679:3: warning: multi-line comment [-Wcomment]
   // a & b \\
   ^
[ 60%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialTest.cpp.o
[ 61%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialStressController.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.hpp:15,
                 from /home/hty/YADE/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:38,
                 from /home/hty/YADE/trunk/pkg/dem/TriaxialStressController.cpp:22:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
[ 61%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o
[ 62%] Building CXX object CMakeFiles/yade.dir/pkg/dem/InelastCohFrictPM.cpp.o
[ 62%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MeasureCapStress.cpp.o
[ 63%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KinemC__Engine.cpp.o
[ 63%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialCompressionEngine.cpp.o
[ 64%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ViscoelasticCapillarPM.cpp.o
[ 64%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ConcretePM.cpp.o
[ 65%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FrictPhys.cpp.o
[ 65%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TriaxialStateRecorder.cpp.o
[ 66%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Shop_01.cpp.o
[ 66%] Building CXX object CMakeFiles/yade.dir/pkg/dem/BlockGen.cpp.o
[ 67%] Building CXX object CMakeFiles/yade.dir/pkg/dem/WirePM.cpp.o
[ 67%] Building CXX object CMakeFiles/yade.dir/pkg/dem/L3Geom.cpp.o
[ 68%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PeriIsoCompressor.cpp.o
[ 68%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ScGeom.cpp.o
[ 68%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FlatGridCollider.cpp.o
[ 69%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Sphere_Sphere_ScGeom.cpp.o
[ 69%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_PP_PP_ScGeom.cpp.o
[ 70%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_splitter.cpp.o
[ 70%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SnapshotEngine.cpp.o
[ 71%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SampleCapillaryPressureEngine.cpp.o
[ 71%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/CapillaryPhys1.cpp.o
[ 72%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ElectrostaticMat.cpp.o
[ 73%] Building CXX object CMakeFiles/yade.dir/pkg/dem/RockBolt.cpp.o
[ 73%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ig2_Facet_Sphere_ScGeom.cpp.o
[ 74%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DummyFlowEngine.cpp.o
[ 74%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/SoluteFlowEngine.cpp.o
[ 75%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/FlowEngine.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.hpp:15,
                 from /home/hty/YADE/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:38,
                 from /home/hty/YADE/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
[ 75%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DFNFlow.cpp.o
[ 76%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/Thermal.cpp.o
[ 76%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o
In file included from /home/hty/YADE/trunk/lib/triangulation/Tesselation.h:202:0,
                 from /home/hty/YADE/trunk/pkg/dem/TesselationWrapper.hpp:15,
                 from /home/hty/YADE/build/pkg/pfv/FlowEngine_TwoPhaseFlowEngineT.hpp:38,
                 from /home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:20,
                 from /home/hty/YADE/trunk/pkg/pfv/UnsaturatedEngine.cpp:9:
/home/hty/YADE/trunk/lib/triangulation/Tesselation.ipp:78:2: warning: #warning "It was move_point before CGAL 4.13, does it pass all the tests now?" [-Wcpp]
 #warning "It was move_point before CGAL 4.13, does it pass all the tests now?"
  ^
In file included from /home/hty/YADE/trunk/pkg/pfv/UnsaturatedEngine.cpp:9:0:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp: In constructor ‘PhaseCluster::PhaseCluster(PhaseCluster::Tesselation&)’:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:156:59: error: ‘LC’ was not declared in this scope
   PhaseCluster (Tesselation& t) : PhaseCluster() {tes=&t; LC=NULL; ex=NULL; if (not tes) LOG_WARN("invalid initialization");}
                                                           ^
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:156:70: error: ‘ex’ was not declared in this scope
   PhaseCluster (Tesselation& t) : PhaseCluster() {tes=&t; LC=NULL; ex=NULL; if (not tes) LOG_WARN("invalid initialization");}
                                                                      ^
In file included from /home/hty/YADE/trunk/pkg/pfv/UnsaturatedEngine.cpp:9:0:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp: In member function ‘void PhaseCluster::reset()’:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:173:121: error: ‘resetSolver’ was not declared in this scope
   void reset() {label=entryPore=-1;volume=entryRadius=interfacialArea=0; pores.clear(); interfaces.clear(); resetSolver();}
                                                                                                                         ^
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp: In member function ‘void PhaseCluster::mergeCluster(PhaseCluster&, const CellHandle&)’:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:178:10: error: ‘class PhaseCluster’ has no member named ‘resetSolver’
    this->resetSolver();
          ^
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp: In constructor ‘PhaseCluster::PhaseCluster()’:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:209:113: error: class ‘PhaseCluster’ does not have any field named ‘LC’
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:209:126: error: class ‘PhaseCluster’ does not have any field named ‘ex’
In file included from /home/hty/YADE/trunk/pkg/pfv/UnsaturatedEngine.cpp:9:0:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:209:139: error: class ‘PhaseCluster’ does not have any field named ‘pComC’
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:209:146: error: ‘comC’ was not declared in this scope
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp: In member function ‘virtual void PhaseCluster::pyRegisterClass(boost::python::api::object)’:
/home/hty/YADE/trunk/pkg/pfv/TwoPhaseFlowEngine.hpp:209:13834: error: ‘solvePressure’ is not a member of ‘PhaseCluster’
CMakeFiles/yade.dir/build.make:3518: recipe for target 'CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o' failed
make[2]: *** [CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o] Error 1
CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/yade.dir/all' failed
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
hty@hty-System-Product-Name:~/YADE/build$

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Caulk
Solved:
2019-03-05
Last query:
2019-03-05
Last reply:
2019-03-04
Best Robert Caulk (rcaulk) said : #1

Hello,

I think you probably don't have linsolv dependencies.

Please post your cmake output to confirm.

To install the dependencies, run:

sudo apt-get install libopenblas-dev libsuitesparse-dev libmetis-dev

Then re-run cmake and confirm that LINSOLV is enabled.

Then make install.

Cheers,

Robert

huyang (huyang960926) said : #2

Thanks a lot Robert, the problem seems could be solved by dependencies installing. That solved my question.

huyang (huyang960926) said : #3

Thanks Robert Caulk, that solved my question.