yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00011
RE: A question about YADE compilation and install
I am very glad to hear from you!
Instead, I am tring my best to make the YADE be able to run, because I am very
new to linux world so all I am doing is like shooting in the dark, I have
tested the commands provided on the website:
//============================================================================
svn checkout svn://svn.berlios.de/yade/trunk
cd trunk
mkdir ~/YADE
cp yade-examples ~/YADE/data -r
make compile_install CXXFLAGS='-pthread -lpthread -O3' INSTALL_DIR='/YADE'
PREFIX_DIR='/home/someone'
//============================================================================
the new version up to now is .924? anyway, I guess there might be some kind of
problem with the make file, I opened the Makefile under:
/root/trunk/yade-libs/yade-lib-wm3-math
there is one line (line 52):
-cp src/*.tpp ${PREFIX_DIR}/${INSTALL_DIR}/include/yade/${yade_include_subdir}
I changed the *.tpp to *.cpp then the first error goes away, however the
compilation stopped halfway with a new error:
//============================================================================
...
g++ -c -pipe -Wall -W -g -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I /usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/lib/qt-3.3/inclu de -o MessageDialog.o MessageDialog.cpp
g++ -c -pipe -Wall -W -g -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I /usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/lib/qt-3.3/inclu de -o QGLThread.o QGLThread.cpp
/usr/lib/qt-3.3/include/qcolor.h: In member function bool QColor::<anonymous
un ion>::D32::invalid() const:
/usr/lib/qt-3.3/include/qcolor.h:169: error: QColor::<anonymous enum>
is/uses anonymous type
/usr/lib/qt-3.3/include/qcolor.h:169: error: trying to instantiate
template<c lass T> struct boost::is_integral
/usr/lib/qt-3.3/include/qcolor.h:169: error: QColor::<anonymous enum>
is/uses anonymous type
/usr/lib/qt-3.3/include/qcolor.h:169: error: trying to instantiate
template<c lass T> struct boost::is_integral
/usr/lib/qt-3.3/include/qcolor.h: In member function bool QColor::<anonymous
un ion>::D32::probablyDirty() const:
/usr/lib/qt-3.3/include/qcolor.h:170: error: QColor::<anonymous enum>
is/uses anonymous type
/usr/lib/qt-3.3/include/qcolor.h:170: error: trying to instantiate
template<c lass T> struct boost::is_integral
make[4]: *** [QGLThread.o] Error 1
make[4]: Leaving directory
`/root/trunk/yade-guis/yade-gui-qt/projects/kdevelop/ QtGUI'
make[3]: *** [sub-QtGUI] Error 2
make[3]: Leaving directory
`/root/trunk/yade-guis/yade-gui-qt/projects/kdevelop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/trunk/yade-guis/yade-gui-qt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/trunk/yade-guis'
make: *** [compile_install] Error 2
//============================================================================
==
It is really hard for me to figure out how to do that now, I tried to make the
yade-guis alone but the error is the same.
About the yade-all package (.911?) on the website, the error bugging me
remaining the same:
std::__is _integer<double>::<anonymous enum> is/uses anonymous type
/home/joeuser/YADE/include/yade/yade-lib-wm3-math/Math.ipp:53: error: trying t
o instantiate template<class T> struct boost::is_integral
/home/joeuser/YADE/include/yade/yade-lib-wm3-math/Math.ipp:53: error:
std::__is _integer<double>::<anonymous enum> is/uses anonymous type
/home/joeuser/YADE/include/yade/yade-lib-wm3-math/Math.ipp:53: error: trying t
o instantiate template<class T> struct boost::is_integral
make[3]: *** [SimulationLoop.o] Error 1
make[3]: Leaving directory `/root/trunk/yade-core/projects/kdevelop/yade'
make[2]: *** [sub-yade] Error 2
make[2]: Leaving directory `/root/trunk/yade-core/projects/kdevelop'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/trunk/yade-core'
make: *** [compile_install] Error 2
even if I modify the makefile.
Thanks again for your help!
|
/////////////////////////////////////////////////////////////////////
Chen Feng
Graduate Student
Department of Civil and Environmental Engineering
University of Tennessee, Knoxville
(865) 974-2608 (1st floor lab)
//////////////////////////////////////////////////////////////////////