yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00322
Compilation error with newest yade-0.10.0
Hi, all:
Since I want to link the YADE with OpenFOAM, the first step is to compile YADE
with the newest version 'yade-all-0.10.0', however, not so successful as
previous versions, I got error as listed below after typing 'make
compile_install':
------------------------------------------------------------------------------
--
.............................
make[2]: Entering directory `/home/fchen/yade/yade-all-0.10.0/yade-core/src'
cd yade && make -f Makefile
make[3]: Entering directory
`/home/fchen/yade/yade-all-0.10.0/yade-core/src/yade'
g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32
-march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -D_REENTRANT
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib/qt-3.3/mkspecs/default -I. -I../../../../../YADE/include
-I/usr/lib/qt-3.3/include -o DeusExMachina.o DeusExMachina.cpp
../../../../../YADE/include/yade/yade-lib-factory/Factorable.hpp:62: warning:
unused parameter i
../../../../../YADE/include/yade/yade-lib-serialization/ContainerHandler.tpp:
In function SerializableTypes::Type findType(std::vector<ContainedType,
std::allocator<_CharT> >&, bool&, std::string&) [with ContainedType = int]:
../../../../../YADE/include/yade/yade-lib-serialization/Archive.tpp:103:
instantiated from static boost::shared_ptr<Archive> Archive::create(const
std::string&, Type&) [with Type = std::vector<int, std::allocator<int> >]
../../../../../YADE/include/yade/yade-lib-serialization/Serializable.hpp:74:
instantiated from void Serializable::registerAttribute(const std::string&,
Type&) [with Type = std::vector<int, std::allocator<int> >]
DeusExMachina.cpp:21: instantiated from here
../../../../../YADE/include/yade/yade-lib-serialization/ContainerHandler.tpp:1
09: error: no matching function for call to findType(int&, bool&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
make[3]: *** [DeusExMachina.o] Error 1
make[3]: Leaving directory
`/home/fchen/yade/yade-all-0.10.0/yade-core/src/yade'
make[2]: *** [sub-yade] Error 2
make[2]: Leaving directory `/home/fchen/yade/yade-all-0.10.0/yade-core/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fchen/yade/yade-all-0.10.0/yade-core'
make: *** [compile_install] Error 2
------------------------------------------------------------------------------
----
My OS is Fedora Core 4, gcc-4.1.0 as the default compiler.
Thanks a lot!
With best regards,
Feng, Chen
__________________________________________________
Graduate Student
Department of Civil and Environmental Engineering
University of Tennessee, Knoxville
(865) 974-4835 (Office)
__________________________________________________
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://bat.berlios.de/mailman/listinfo/yade-users
Follow ups