mpl.show(block = True)产生TypeError-bug或错误?

时间:2018-04-29 17:19:58

标签: python-3.x animation matplotlib

我创作了一个动画。当我使用以下命令

g++ -g -m64  -DBOOST_LOG_DYN_LINK  -c  -I/usr/local/include -I../../include   -o build/stayClassification.o main.cpp

g++ -DBOOST_ALL_DYN_LINK -g -m64 -L/usr/local/lib -o build/stayClassification build/stayClassification.o  -lboost_filesystem-mt -lboost_system-mt -lCGAL -lpthread -lboost_log_setup-mt -lboost_log-mt -lboost_thread-mt -lboost_date_time-mt -lgmp -lmpfr -lboost_iostreams-mt


Undefined symbols for architecture x86_64:
"void boost::log::v2_mt_posix::aux::put_integer<char>(boost::log::v2_mt_posix::aux::basic_ostringstreambuf<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, unsigned int, char)", referenced from:





"boost::log::v2_mt_posix::aux::code_convert_impl(wchar_t const*, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned long, std::locale const&)", referenced from:

ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

我收到此错误

pyplot.show(anim,block=True)

代码崩溃,但动画人物显示并正常播放。这是关键字args和args定位的问题吗?任何修复都将非常感激。

0 个答案:

没有答案