Question #192598 on Yade changed:
https://answers.launchpad.net/yade/+question/192598

    Status: Answered => Open

TONG Anh Tuan is still having a problem:
Hi Luc,

Here is an error after adding cgal to my features and compiling by the
command scons:

scons: Reading SConscript files ...
@@@ Using profile erosion (scons.profile-erosion) @@@
Eigen 2 math library will be used
Yade version is `trunk' (bzr3076), installed files will be suffixed with 
`-trunk-erosion'.
All intermediary files will be in 
`/home/3S-LAB/attong/YADE_attong/build-trunk-erosion'.
Mkdir("/home/3S-LAB/attong/YADE_attong/build-trunk-erosion")
Checking whether c++ compiler "g++" works...yes
Finding libstdc++ library... (cached) /usr/lib/i386-linux-gnu/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for Python development files... ok
Checking for C++ header file numpy/ndarrayobject.h... yes
Checking for required python modules... (cached) all ok
Checking boost libraries... all ok
Checking for C++ header file boost/foreach.hpp... yes
Checking for C++ header file Eigen/Core... yes
Checking for C++ header file loki/NullType.h... yes
Checking for glutGetModifiers() in C++ library glut... yes
Checking for QGLViewer() in C++ library qglviewer-qt4... yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... yes
Checking for gts_object_class() in C++ library gts... yes
log4cxx support was removed. Please, do not use this feature.
Checking for CGAL::Exact_predicates_inexact_constructions_kernel::Point_3() in 
C++ library CGAL... yes
Rebuilding combined files, since the md5 has changed.
scons: done reading SConscript files.
scons: Building targets ...
> /home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion-batch
Chmod("/home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion-batch", 0755)
> /home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion
Chmod("/home/3S-LAB/attong/YADE_attong/bin/yade-trunk-erosion", 0755)
C py/3rd-party/pygts-0.3.1/cleanup.c
C py/3rd-party/pygts-0.3.1/object.c
C py/3rd-party/pygts-0.3.1/edge.c
C py/3rd-party/pygts-0.3.1/face.c
C py/3rd-party/pygts-0.3.1/point.c
C py/3rd-party/pygts-0.3.1/pygts.c
C py/3rd-party/pygts-0.3.1/segment.c
C py/3rd-party/pygts-0.3.1/surface.c
C py/3rd-party/pygts-0.3.1/triangle.c
C py/3rd-party/pygts-0.3.1/vertex.c
> /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp
C /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp
> /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/core/core.cpp
C /home/3S-LAB/attong/YADE_attong/build-trunk-erosion/core/core.cpp
In file included from 
/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:11:0:
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/PeriodicFlow.cpp: In 
member function 'void CGT::PeriodicFlow::Average_Relative_Cell_Velocity()':
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/PeriodicFlow.cpp:490:9: 
warning: variable 'volume_facet_translation' set but not used 
[-Wunused-but-set-variable]
In file included from 
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.hpp:148:0,
                 from 
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.cpp:9,
                 from 
/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:10:
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.ipp: 
In member function 'void 
CGT::FlowBoundingSphere<_Tesselation>::GaussSeidel(CGT::Real) [with 
_Tesselation = CGT::_Tesselation<CGT::TriangulationTypes<CGT::FlowVertexInfo, 
CGT::FlowCellInfo> >, CGT::Real = double]':
/home/3S-LAB/attong/YADE_attong/yade/lib/opengl/GLUtils.cpp:59:1:   
instantiated from here
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/FlowBoundingSphere.ipp:1058:44:
 warning: variable 'dp_moy' set but not used [-Wunused-but-set-variable]
In file included from 
/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/lib/yade-support.cpp:13:0:
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp: In 
member function 'bool CGT::TriaxialState::from_file(const char*, bool)':
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:215:41:
 warning: '*((void*)& pos +16)' may be used uninitialized in this function 
[-Wuninitialized]
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:211:37:
 warning: '*((void*)& pos +8)' may be used uninitialized in this function 
[-Wuninitialized]
/home/3S-LAB/attong/YADE_attong/yade/lib/triangulation/TriaxialState.cpp:210:49:
 warning: 'pos' may be used uninitialized in this function [-Wuninitialized]
L libyade-support.so
> /home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/lib/libyade-support.so
L _gts.so
> /home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/py/gts/_gts.so
ln -s -f ../py/gts/_gts.so 
/home/3S-LAB/attong/YADE_attong/lib/yade-trunk-erosion/lib/lib_gts__python-module.so
C pkg/dem/FlowEngine.cpp
pkg/dem/FlowEngine.cpp: In member function 'virtual void 
PeriodicFlowEngine::action()':
pkg/dem/FlowEngine.cpp:615:31: error: no matching function for call to 
'CGT::PeriodicFlow::GaussSeidel(Real&)'
pkg/dem/FlowEngine.cpp:615:31: note: candidate is:
/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/include/yade/lib/triangulation/PeriodicFlow.hpp:37:8:
 note: void CGT::PeriodicFlow::GaussSeidel()
/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/include/yade/lib/triangulation/PeriodicFlow.hpp:37:8:
 note:   candidate expects 0 arguments, 1 provided
scons: *** 
[/home/3S-LAB/attong/YADE_attong/build-trunk-erosion/pkg/dem/FlowEngine.os] 
Error 1
scons: building terminated because of errors.

Thanks alot,
Anh Tuan

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to