← Back to team overview

yade-users team mailing list archive

[Question #701564]: Install yade in the centos7 system. After executing the make install command, an error is reported when compiling FlowEngine.cpp

 

New question #701564 on Yade:
https://answers.launchpad.net/yade/+question/701564

Hi,everyone

I am compiling and installing yade in the centos7 system. Refer to [1].

After executing the make install command,some errors are reported when compiling FlowEngine.cpp.

This seems to be related to the design of FlowEngine.cpp. itself .  In trunk-2022.01a\pkg\pfv, there are three FlowEngine related header files (FlowEngine.hpp  FlowEngine.hpp.in  FlowEngine.ipp.in).

Please let me know if full file is required or if you find other errors in the script.
Thanks in advance for your help!

############Error Report###########

[  3%] Building CXX object CMakeFiles/pkg_pfv.dir/pkg/pfv/DummyFlowEngine.cpp.o
[  3%] Building CXX object CMakeFiles/pkg_pfv.dir/pkg/pfv/FlowEngine.cpp.o
In file included from /opt/boost/include/boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
                 from /opt/boost/include/boost/python/detail/value_arg.hpp:7,
                 from /opt/boost/include/boost/python/object/forward.hpp:10,
                 from /opt/boost/include/boost/python/object/pointer_holder.hpp:16,
                 from /opt/boost/include/boost/python/to_python_indirect.hpp:10,
                 from /opt/boost/include/boost/python/converter/arg_to_python.hpp:10,
                 from /opt/boost/include/boost/python/call.hpp:15,
                 from /opt/boost/include/boost/python/object_core.hpp:14,
                 from /opt/boost/include/boost/python/args.hpp:22,
                 from /opt/boost/include/boost/python.hpp:11,
                 from /home/xsy/whut_yade/trunk/lib/high-precision/RealHPConfig.hpp:35,
                 from /home/xsy/whut_yade/trunk/lib/high-precision/Real.hpp:238,
                 from /home/xsy/whut_yade/trunk/lib/base/Math.hpp:12,
                 from /home/xsy/whut_yade/trunk/core/Bound.hpp:10,
                 from /home/xsy/whut_yade/trunk/core/Body.hpp:13,
                 from /home/xsy/whut_yade/trunk/core/PartialEngine.hpp:10,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:36,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/opt/boost/include/boost/python/detail/is_auto_ptr.hpp:17:105: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
      |                                                                                                         ^       
In file included from /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/locale_conv.h:41,
                 from /opt/rh/devtoolset-10/root/usr/include/c++/10/locale:43,
                 from /opt/rh/devtoolset-10/root/usr/include/c++/10/iomanip:43,
                 from /opt/boost/include/boost/multiprecision/cpp_int.hpp:10,
                 from /opt/boost/include/boost/multiprecision/cpp_bin_float.hpp:9,
                 from /home/xsy/whut_yade/trunk/lib/high-precision/RealHP.hpp:51,
                 from /home/xsy/whut_yade/trunk/lib/high-precision/Real.hpp:210,
                 from /home/xsy/whut_yade/trunk/lib/base/Math.hpp:12,
                 from /home/xsy/whut_yade/trunk/core/Bound.hpp:10,
                 from /home/xsy/whut_yade/trunk/core/Body.hpp:13,
                 from /home/xsy/whut_yade/trunk/core/PartialEngine.hpp:10,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:36,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/opt/rh/devtoolset-10/root/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:90: error: expected template-name before ‘<’ token
   22 | elation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                                                    ^

/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:90: error: expected ‘{’ before ‘<’ token
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:30:84: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   30 | ate <class _Tesselation> PartialSatLinSolv<_Tesselation>::~PartialSatLinSolv()
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:47:53: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   47 |  PartialSatLinSolv<_Tesselation>::PartialSatLinSolv()
      |                                                     ^
In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:52:92: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   52 | ss _Tesselation> int PartialSatLinSolv<_Tesselation>::setLinearSystem(Real dt)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:227:92: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  227 | ss _Tesselation> void PartialSatLinSolv<_Tesselation>::copyCellsToLin(Real dt)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:241:37: error: variable or field ‘interpolate’ declared void
  241 |  template <class _Tesselation> void PartialSatLinSolv<_Tesselation>::interpolate(Tesselation& Tes, Tesselation& NewTes)
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:241:82: error: ‘Tesselation’ was not declared in this scope; did you mean ‘SimpleTesselation’?
  241 | ss _Tesselation> void PartialSatLinSolv<_Tesselation>::interpolate(Tesselation& Tes, Tesselation& NewTes)
      |                                                                    ^~~~~~~~~~~
      |                                                                    SimpleTesselation
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:241:95: error: ‘Tes’ was not declared in this scope
  241 | on> void PartialSatLinSolv<_Tesselation>::interpolate(Tesselation& Tes, Tesselation& NewTes)
      |                                                                    ^~~

/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:241:100: error: ‘Tesselation’ was not declared in this scope; did you mean ‘SimpleTesselation’?
  241 | oid PartialSatLinSolv<_Tesselation>::interpolate(Tesselation& Tes, Tesselation& NewTes)
      |                                                                    ^~~~~~~~~~~
      |                                                                    SimpleTesselation
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:241:113: error: ‘NewTes’ was not declared in this scope
  241 | alSatLinSolv<_Tesselation>::interpolate(Tesselation& Tes, Tesselation& NewTes)
      |                                                                        ^~~~~~

/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:326:112: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  326 | d PartialSatLinSolv<_Tesselation>::computeFacetForcesWithCache(bool onlyCache)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:469:90: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  469 | lass _Tesselation> void PartialSatLinSolv<_Tesselation>::computePermeability()
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:707:110: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  707 | eal PartialSatLinSolv<_Tesselation>::getCellSaturation(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:716:121: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  716 | Real> PartialSatLinSolv<_Tesselation>::getCellVelocity(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:725:124: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  725 | l> PartialSatLinSolv<_Tesselation>::getCellGasVelocity(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:735:106: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  735 | n> Real PartialSatLinSolv<_Tesselation>::getCellVolume(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:744:109: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  744 | Real PartialSatLinSolv<_Tesselation>::getCellGasVolume(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:753:108: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  753 |  Real PartialSatLinSolv<_Tesselation>::getCellPorosity(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:762:107: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  762 | > bool PartialSatLinSolv<_Tesselation>::getCellCracked(Real X, Real Y, Real Z)
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:771:91: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  771 | ass _Tesselation> Real PartialSatLinSolv<_Tesselation>::getAverageSaturation()
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:193,
                 from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.ipp:789:88: error: invalid use of incomplete type ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
  789 | <class _Tesselation> Real PartialSatLinSolv<_Tesselation>::getAverageSuction()
      |                                                                              ^

In file included from /home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:42,
                 from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/trunk/lib/triangulation/PartialSatLinSolv.hpp:22:38: note: declaration of ‘class yade::CGT::PartialSatLinSolv<_Tesselation>’
   22 |  template <class _Tesselation> class PartialSatLinSolv : public FlowBoundingSphereLinSolv<_Tesselation, FlowBoundingSphere<_Tesselation>> {
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /home/xsy/whut_yade/trunk/pkg/pfv/FlowEngine.cpp:11:
/home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp: In instantiation of ‘void yade::TemplateFlowEngine_FlowEngineT<_CellInfo, _VertexInfo, _Tesselation, solverT>::pyRegisterClass(boost::python::api::object) [with _CellInfo = yade::FlowCellInfo_FlowEngineT; _VertexInfo = yade::FlowVertexInfo_FlowEngineT; _Tesselation = yade::CGT::_Tesselation<yade::CGT::TriangulationTypes<yade::FlowVertexInfo_FlowEngineT, yade::FlowCellInfo_FlowEngineT> >; solverT = yade::CGT::FlowBoundingSphere<yade::CGT::_Tesselation<yade::CGT::TriangulationTypes<yade::FlowVertexInfo_FlowEngineT, yade::FlowCellInfo_FlowEngineT> > >]’:
/home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:333:0:   required from here
/home/xsy/whut_yade/build/pkg/pfv/FlowEngine_FlowEngineT.hpp:333: error: ‘pyResetLinearSystem’ is not a member of ‘yade::TemplateFlowEngine_FlowEngineT<yade::FlowCellInfo_FlowEngineT, yade::FlowVertexInfo_FlowEngineT>’
  333 |   YADE_CLASS_PYCLASS_BASE_DOC_ATTRS_DEPREC_INIT_CTOR_PY(TemplateFlowEngine_FlowEngineT,FlowEngineT,PartialEngine,"A generic engine from wich more specialized engines can inherit. It is defined for the sole purpose of inserting the right data classes CellInfo and VertexInfo in the triangulation, and it should not be used directly. Instead, look for specialized engines, e.g. :yref:`FlowEngine`, :yref:`PeriodicFlowEngine`, or :yref:`DFNFlowEngine`.",
      | 
make[2]: *** [CMakeFiles/pkg_pfv.dir/pkg/pfv/FlowEngine.cpp.o] Error 1
make[1]: *** [CMakeFiles/pkg_pfv.dir/all] Error 2
make: *** [all] Error 2
[root@localhost build]# 





[1]https://gitlab.com/yade-dev/docker-yade/-/issues/5







-- 
You received this question notification because your team yade-users is
an answer contact for Yade.