← Back to team overview

yade-users team mailing list archive

terminate called after throwing an instance of 'FactoryCantCreate'


hello, everyone
after update my boost, I have some problems with my YADE software. For the installation process are ok. But when I ran YADE, there have some problem. So how could I solve this problem?\
thank you very much!


----------------------------------------- installation
jchen@jturnmir-desktop:~/yade-0.12rc1$ scons PREFIX=/home/jchen/YADE optimize=1
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `0.12rc1', installed files will be suffixed with `-0.12rc1'.
All intermediary files will be in `/home/jchen/build-0.12rc1'.
Checking whether c++ compiler "g++" works...(cached) yes
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for glutGetModifiers() in C library glut... (cached) yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... (cached) yes
Checking for boost::thread::thread() in C++ library boost_thread-mt... (cached) yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... (cached) yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes
Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
Checking for qt-mt in /usr/share/qt3... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
Checking for Python development files... (cached) yes
Checking for python module `IPython' ...(cached) yes
Checking for boost::python::scope() in C++ library boost_python-mt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
⇒ /home/jchen/YADE/lib/yade-0.12rc1/lib/libminiWm3.so
⇒ /home/jchen/YADE/include/yade-0.12rc1/yade/pkg-realtime-rigidbody/RotatingBox.hpp
scons: done building targets
---------------------------------------------run yade
jchen@jturnmir-desktop:~$ cd YADE/
jchen@jturnmir-desktop:~/YADE$ cd bin
jchen@jturnmir-desktop:~/YADE/bin$ ./yade-0.12rc1
terminate called after throwing an instance of 'FactoryCantCreate'
  what():  ClassFactory::create - cannot create class named: QtGUI
SIGSEGV/SIGABRT handler called; gdb batch file is `/home/jchen/.yade-0.12rc1/gdb_crash_batch-pid15241'
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1b14f18770 (LWP 15241)]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 0000000000000158
0x00007f1b1ab3ffd5 in waitpid () from /lib/libc.so.6
No symbol "info" in current context.

Thread 1 (Thread 0x7f1b14f18770 (LWP 15241)):
#0  0x00007f1b1ab3ffd5 in waitpid () from /lib/libc.so.6
#1  0x00007f1b1aad84a1 in ?? () from /lib/libc.so.6
#2  0x000000000050131e in sigHandler (sig=6) at core/yade.cpp:58
#3  <signal handler called>
#4  0x00007f1b1aacb015 in raise () from /lib/libc.so.6
#5  0x00007f1b1aaccb83 in abort () from /lib/libc.so.6
#6  0x00007f1b1b36ff94 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#7  0x00007f1b1b36e396 in ?? () from /usr/lib/libstdc++.so.6
#8  0x00007f1b1b36e3c3 in std::terminate () from /usr/lib/libstdc++.so.6
#9  0x00007f1b1b36e4aa in __cxa_throw () from /usr/lib/libstdc++.so.6
#10 0x00007f1b1b9bdbc8 in ClassFactory::createShared (this=0x76fa70, name=<value optimized out>) at lib/factory/ClassFactory.cpp:68
#11 0x00000000004ff979 in main (argc=1, argv=0x7fff26cc51f8) at core/yade.cpp:245
#0  0x00007f1b1ab3ffd5 in waitpid () from /lib/libc.so.6


Follow ups