← Back to team overview

yade-users team mailing list archive

[Question #665744]: probles when compiling yade

 

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

Hello everyone! I am still working on installing yade on my centos6.6....
When I type "make" after "cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DUSE_QT5=off -DENABLE_GUI=off"
the error reports like:
Scanning dependencies of target yade
[  1%] Building CXX object CMakeFiles/yade.dir/core/corePlugins.cpp.o
[  1%] Building CXX object CMakeFiles/yade.dir/core/ThreadWorker.cpp.o
[  2%] Building CXX object CMakeFiles/yade.dir/core/FileGenerator.cpp.o
[  3%] Building CXX object CMakeFiles/yade.dir/core/Clump.cpp.o
[  3%] Building CXX object CMakeFiles/yade.dir/core/Scene.cpp.o
[  4%] Building CXX object CMakeFiles/yade.dir/core/InteractionContainer.cpp.o
[  4%] Building CXX object CMakeFiles/yade.dir/core/Material.cpp.o
[  5%] Building CXX object CMakeFiles/yade.dir/core/State.cpp.o
[  5%] Building CXX object CMakeFiles/yade.dir/core/ForceContainerParallel.cpp.o
[  6%] Building CXX object CMakeFiles/yade.dir/core/Body.cpp.o
[  6%] Building CXX object CMakeFiles/yade.dir/core/ThreadRunner.cpp.o
[  7%] Building CXX object CMakeFiles/yade.dir/core/SimulationFlow.cpp.o
[  7%] Building CXX object CMakeFiles/yade.dir/core/ForceContainerSerial.cpp.o
[  8%] Building CXX object CMakeFiles/yade.dir/core/Interaction.cpp.o
[  9%] Building CXX object CMakeFiles/yade.dir/core/Omega.cpp.o
[  9%] Building CXX object CMakeFiles/yade.dir/core/BodyContainer.cpp.o
[ 10%] Building CXX object CMakeFiles/yade.dir/core/Cell.cpp.o
[ 10%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/TwoPhaseFlowEngine.cpp.o
[ 11%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DummyFlowEngine.cpp.o
[ 11%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/PeriodicFlowEngine.cpp.o
[ 12%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/DFNFlow.cpp.o
[ 12%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/UnsaturatedEngine.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/FlowEngine.cpp.o
[ 13%] Building CXX object CMakeFiles/yade.dir/pkg/pfv/SoluteFlowEngine.cpp.o
[ 14%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MeasureCapStress.cpp.o
[ 15%] Building CXX object CMakeFiles/yade.dir/pkg/dem/HertzMindlin.cpp.o
[ 15%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Tetra.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MicroMacroAnalyser.cpp.o
[ 16%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Polyhedra_splitter.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Disp2DPropLoadEngine.cpp.o
[ 17%] Building CXX object CMakeFiles/yade.dir/pkg/dem/SampleCapillaryPressureEngine.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/pkg/dem/KinemSimpleShearBox.cpp.o
[ 18%] Building CXX object CMakeFiles/yade.dir/pkg/dem/PotentialBlock.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/pkg/dem/BubbleMat.cpp.o
[ 19%] Building CXX object CMakeFiles/yade.dir/pkg/dem/Ip2_ElastMat.cpp.o
[ 20%] Building CXX object CMakeFiles/yade.dir/pkg/dem/MortarMat.cpp.o
[ 21%] Building CXX object CMakeFiles/yade.dir/pkg/dem/FlatGridCollider.cpp.o
[ 21%] Building CXX object CMakeFiles/yade.dir/pkg/dem/WirePM.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/dem/UnbalancedForceCallbacks.cpp.o
[ 22%] Building CXX object CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 23%] Building CXX object CMakeFiles/yade.dir/pkg/dem/GeneralIntegratorInsertionSortCollider.cpp.o
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/dem/TesselationWrapper.cpp.o
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/dem/ConcretePM.cpp.o
[ 25%] Building CXX object CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o
In file included from /usr/local/include/boost/fusion/container/list/cons_iterator.hpp:18:0,
                 from /usr/local/include/boost/fusion/container/list/cons.hpp:19,
                 from /usr/local/include/boost/fusion/iterator/segmented_iterator.hpp:14,
                 from /usr/local/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:12,
                 from /usr/local/include/boost/fusion/sequence/intrinsic/begin.hpp:18,
                 from /usr/local/include/boost/fusion/sequence/intrinsic/front.hpp:12,
                 from /usr/local/include/boost/fusion/include/front.hpp:11,
                 from /usr/local/include/boost/numeric/odeint/util/is_resizeable.hpp:26,
                 from /usr/local/include/boost/numeric/odeint/util/ublas_wrapper.hpp:32,
                 from /usr/local/include/boost/numeric/odeint.hpp:25,
                 from /data/pqji/MyYade/trunk/pkg/dem/RungeKuttaCashKarp54Integrator.hpp:5,
                 from /data/pqji/MyYade/trunk/pkg/dem/RungeKuttaCashKarp54Integrator.cpp:2:
/usr/local/include/boost/fusion/container/list/list_fwd.hpp:15:72: fatal error: boost/fusion/container/list/detail/preprocessed/list_fwd.hpp: No such file or directory
 #include <boost/fusion/container/list/detail/preprocessed/list_fwd.hpp>
                                                                        ^
compilation terminated.
make[2]: *** [CMakeFiles/yade.dir/pkg/dem/RungeKuttaCashKarp54Integrator.cpp.o] Error 1
make[1]: *** [CMakeFiles/yade.dir/all] Error 2
make: *** [all] Error 2

The most strange thing is I open these files and the #include line is not like this, for example the line 18 of /usr/local/include/boost/fusion/container/list/cons_iterator.hpp is like this: #include <boost/fusion/container/list/list_fwd.hpp>, and this list_fwd.hpp actually exists.
I have tried boost version of 1.59 and 1.66, the error message is exactly the same.
The version of yade is 2018.02b


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